chore: import upstream snapshot with attribution
CI / Test (macos-latest, stable) (push) Has been cancelled
CI / Test (ubuntu-latest, stable) (push) Has been cancelled
CI / Test (windows-latest, stable) (push) Has been cancelled
CI / Lint (push) Has been cancelled

This commit is contained in:
wehub-resource-sync
2026-07-13 12:45:24 +08:00
commit 70cb81e982
218 changed files with 410378 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
# These are supported funding model platforms
github: [memvid]
+45
View File
@@ -0,0 +1,45 @@
---
name: Bug Report
about: Report a bug to help us improve Memvid
title: '[BUG] '
labels: 'bug'
assignees: ''
---
## Bug Description
A clear and concise description of the bug.
## Steps to Reproduce
1.
2.
3.
## Expected Behavior
What you expected to happen.
## Actual Behavior
What actually happened.
## Environment
- **OS**: [e.g., macOS 14.0, Ubuntu 22.04, Windows 11]
- **Rust Version**: [e.g., 1.85.0]
- **Memvid Version**: [e.g., 2.0.0]
- **Features Enabled**: [e.g., lex, vec, clip]
## Minimal Reproducible Example
```rust
// Code to reproduce the issue
```
## Error Output
```
// Paste any error messages or stack traces here
```
## Additional Context
Any other context about the problem (screenshots, logs, etc.)
## Checklist
- [ ] I have searched existing issues for duplicates
- [ ] I have tested with the latest version
- [ ] I can reproduce this consistently
+11
View File
@@ -0,0 +1,11 @@
blank_issues_enabled: false
contact_links:
- name: Questions & Discussions
url: https://github.com/memvid/memvid/discussions
about: Ask questions and discuss ideas with the community
- name: Documentation
url: https://docs.memvid.com
about: Read the official documentation
- name: Discord Community
url: https://discord.gg/2mynS7fcK7
about: Join our Discord for real-time chat
+32
View File
@@ -0,0 +1,32 @@
---
name: Feature Request
about: Suggest a new feature for Memvid
title: '[FEATURE] '
labels: 'enhancement'
assignees: ''
---
## Feature Description
A clear and concise description of the feature you'd like.
## Problem Statement
What problem does this feature solve? Why is it needed?
## Proposed Solution
Describe how you envision this feature working.
## Example Usage
```rust
// How would this feature be used?
```
## Alternatives Considered
What alternative solutions or features have you considered?
## Additional Context
Any other context, mockups, or examples.
## Checklist
- [ ] I have searched existing issues/discussions for similar requests
- [ ] This feature aligns with Memvid's goals (portable, single-file AI memory)
- [ ] I am willing to help implement this feature
+42
View File
@@ -0,0 +1,42 @@
## Description
Brief description of the changes in this PR.
## Related Issue
Fixes #(issue number)
## Type of Change
- [ ] Bug fix (non-breaking change that fixes an issue)
- [ ] New feature (non-breaking change that adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
- [ ] Documentation update
- [ ] Performance improvement
- [ ] Code refactoring (no functional changes)
## Changes Made
-
-
-
## Testing
- [ ] I have added tests that prove my fix/feature works
- [ ] All existing tests pass (`cargo test`)
- [ ] I have tested on my local machine
## Documentation
- [ ] I have updated relevant documentation
- [ ] I have added doc comments for new public APIs
- [ ] CHANGELOG.md has been updated (if applicable)
## Checklist
- [ ] My code follows the project's style guidelines
- [ ] I have performed a self-review of my code
- [ ] I have commented my code where necessary
- [ ] My changes generate no new warnings
- [ ] I have run `cargo clippy` and addressed any issues
- [ ] I have run `cargo fmt` to format my code
## Screenshots (if applicable)
Add screenshots to help explain your changes.
## Additional Notes
Any additional information reviewers should know.
+31
View File
@@ -0,0 +1,31 @@
version: 2
updates:
- package-ecosystem: cargo
directory: /
schedule:
interval: weekly
cooldown: # applies only to version-updates (not security-updates)
default-days: 7
ignore:
- dependency-name: "bincode"
versions: [">=3.0.0"] # unsupported since v3
- package-ecosystem: docker
directories:
- docker/cli
- docker/core
schedule:
interval: weekly
cooldown:
default-days: 7
- package-ecosystem: docker-compose
directory: docker/core
schedule:
interval: weekly
cooldown:
default-days: 7
- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
cooldown: # https://blog.yossarian.net/2025/11/21/We-should-all-be-using-dependency-cooldowns
default-days: 7
+63
View File
@@ -0,0 +1,63 @@
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: 1
jobs:
test:
name: Test
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
rust: [stable]
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{ matrix.rust }}
- name: Cache cargo
uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.toml') }}
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose ${{ runner.os == 'Windows' && '-- --test-threads=1' || '' }}
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
- name: Install components
run: rustup component add rustfmt clippy
- name: Check formatting
run: cargo fmt --all -- --check
- name: Clippy
run: cargo clippy -- -D warnings -A clippy::non_std_lazy_statics
+50
View File
@@ -0,0 +1,50 @@
name: Docker Release
on:
push:
tags:
- 'v*'
workflow_dispatch:
env:
REGISTRY: docker.io
IMAGE_NAME: memvid/cli
jobs:
build-and-push:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: Set up QEMU
uses: docker/setup-qemu-action@c7c53464625b32c7a7e944ae62b3e17d2b600130 # v3.7.0
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3.12.0
- name: Login to Docker Hub
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3.6.0
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Extract version
id: version
run: echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT
- name: Build and push
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
with:
context: ./docker/cli
platforms: linux/amd64,linux/arm64
push: true
tags: |
${{ env.IMAGE_NAME }}:latest
${{ env.IMAGE_NAME }}:${{ steps.version.outputs.VERSION }}
cache-from: type=gha
cache-to: type=gha,mode=max