MEmoX empowers developers with AI-driven insights directly within VS Code. Whether you're connected to the internet or working in an isolated environment, MEmoX adapts to your needs with its innovative dual-mode operation.
|
|
|
|
- 🔒 Secure Authentication
- GitHub OAuth integration for secure sign-in
- Personal access token support for alternative authentication
- Securely stored credentials
✅ VS Code 1.85.0+
✅ Node.js 16.x+
✅ For offline mode: Ollama with CodeLLaMA
# Clone the repository
git clone https://github.com/MemoraNet/MEmoX.git
# Navigate to the directory
cd MEmoX
# Install dependencies
npm install
# Build the extension
npm run compile
# Start using it!
code .- Open VS Code Extensions panel (
Ctrl+Shift+XorCmd+Shift+X) - Search for "MEmoX"
- Click "Install"
- Reload VS Code when prompted
Customize MEmoX through VS Code settings:
| Setting | Description | Options |
|---|---|---|
memox.mode |
Operation mode | auto, offline, online |
memox.modelSize |
Local model size | auto, 3B, 7B |
memox.githubAuth |
GitHub authentication | OAuth credentials |
memox.indexDepth |
Code indexing depth | standard, deep |
For sensitive credentials, MEmoX supports environment variables via a .env file:
# GitHub OAuth credentials
GITHUB_CLIENT_ID=your_github_client_id_here
GITHUB_CLIENT_SECRET=your_github_client_secret_here
# OpenAI API credentials for cloud capabilities
OPENAI_API_KEY=your_openai_api_key_here
OPENAI_API_URL=https://api.openai.com/v1/chat/completions
Copy .env.example to .env and add your credentials. This file is automatically ignored by Git for security.
MEmoX provides a streamlined authentication experience:
- Click the "Sign In" button in the MEmoX panel
- Authorize with GitHub (or use a Personal Access Token)
- Start using all features immediately
📘 Detailed Authentication Instructions
For enterprise setups and custom configurations, see our Authentication Guide.
MEmoX is built with modularity and performance in mind:
graph TB
A[Extension Entry] --> B[Auth Service]
A --> C[RAG System]
A --> D[Chat Interface]
C --> E[Vector Store]
C --> F[Code Chunker]
D --> G[UI Components]
D --> H[History Manager]
src/
├── auth/ # Authentication components
├── chat/ # Chat UI and history management
├── rag/ # Retrieval-augmented generation system
└── extension.ts # Main extension file
# Watch mode for development
npm run watch
# Run linting
npm run lint
# Run tests
npm run testWe welcome contributions! Check out our contribution guidelines to get started.
MIT License - Copyright © 2025 MemoraNet
> Explain the purpose of the RAGManager class in this project
> Create a function to parse the user input and extract keywords
> Why is my message not showing in the chat panel?