Loading...
Loading...
Configure GOB local file storage for GrepAI. Use this skill for simple, single-machine setups.
npx skill4agent add yoanbernabeu/grepai-skills grepai-storage-gob| Benefit | Description |
|---|---|
| 🚀 Simple | No external services needed |
| ⚡ Fast setup | Works immediately |
| 📁 Portable | Single file, easy to backup |
| 💰 Free | No infrastructure costs |
| 🔒 Private | Data stays local |
| Limitation | Description |
|---|---|
| 📏 Scalability | Not ideal for very large codebases |
| 👤 Single user | No concurrent access |
| 🔄 No sharing | Can't share index across machines |
| 💾 Memory | Loads into RAM for searches |
# .grepai/config.yaml
store:
backend: gobstore:
backend: gob
# Index stored in .grepai/index.gob (automatic).grepai/.grepai/
├── config.yaml # Configuration
├── index.gob # Vector embeddings
└── symbols.gob # Symbol index for trace.grepai/index.gob| Codebase | Files | Chunks | Index Size |
|---|---|---|---|
| Small | 100 | 500 | ~5 MB |
| Medium | 1,000 | 5,000 | ~50 MB |
| Large | 10,000 | 50,000 | ~500 MB |
# Initialize project
grepai init
# Start indexing (creates index.gob)
grepai watchgrepai status
# Output:
# Index: .grepai/index.gob
# Files: 245
# Chunks: 1,234
# Size: 12.5 MB
# Last updated: 2025-01-28 10:30:00# Simple file copy
cp .grepai/index.gob .grepai/index.gob.backup# Delete and re-index
rm .grepai/index.gob
grepai watch# Copy entire .grepai directory
cp -r .grepai /path/to/new/location/
# Note: Only works if using same embedding model| Index Size | RAM Usage |
|---|---|
| 10 MB | ~20 MB |
| 50 MB | ~100 MB |
| 500 MB | ~1 GB |
| Codebase Size | Search Time |
|---|---|
| Small (100 files) | <50ms |
| Medium (1K files) | <200ms |
| Large (10K files) | <1s |
.grepai/.gitignore# GrepAI (machine-specific index)
.grepai/grepai watchstore:
backend: postgres
postgres:
dsn: postgres://user:pass@localhost:5432/grepairm .grepai/index.gob
grepai watchstore:
backend: qdrant
qdrant:
endpoint: localhost
port: 6334rm .grepai/index.gob
grepai watchrm .grepai/index.gob .grepai/symbols.gob
grepai watchgrepai watch✅ GOB Storage Configured
Backend: GOB (local file)
Index: .grepai/index.gob
Size: 12.5 MB
Contents:
- Files: 245
- Chunks: 1,234
- Vectors: 1,234 × 768 dimensions
Performance:
- Search latency: <100ms
- Memory usage: ~25 MB