mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-05 20:34:18 +01:00
* fix: markdown files now default to rendered view and render properly - Add .md and .mdx MIME type support in backend (files.ts, defaults.ts) - Add key props to FilePreview components to force proper remounting when switching files - Fix markdown file detection with case-insensitive extension check - Reset markdownPreview state when file changes to ensure correct default view - Add onContentLoaded callback to VirtualizedTextView for reactive content updates - Add fullContent state to properly handle large markdown file rendering - Add error handling for async content loading to prevent blank screens - Reduce loading timeout from 50ms to 0ms for more responsive loading Fixes issues where: - Markdown files opened in raw view instead of rendered view - Large markdown files (12k+ lines) showed blank after loading completed - State persisted incorrectly when switching between different file types * Add directory download feature with ZIP archive support * Improve voice recording UX with loading states and better transcript handling * Fix auth config for prod/dev ports and add documentation Update AUTH_TRUSTED_ORIGINS and PASSKEY_ORIGIN to use backend port 5003 (frontend uses 5173 in dev). Add comprehensive auth documentation covering secrets, trusted origins, admin reset, and passkeys. Update README and add mkdocs config. * Remove roadmap section from README
2.6 KiB
2.6 KiB
Quick Start
Get up and running with OpenCode Manager in minutes.
1. Start the Application
=== "Docker"
```bash
git clone https://github.com/chriswritescode-dev/opencode-manager.git
cd opencode-manager
docker-compose up -d
```
Open [http://localhost:5003](http://localhost:5003)
=== "Local Development"
```bash
git clone https://github.com/chriswritescode-dev/opencode-manager.git
cd opencode-manager
pnpm install
cp .env.example .env
pnpm dev
```
Open [http://localhost:5173](http://localhost:5173)
2. Create Admin Account
On first launch, you'll be redirected to the setup page:
- Enter your name
- Enter your email
- Create a password
- Click Create Account
!!! tip "Pre-configured Admin"
For automated deployments, you can skip this step by setting ADMIN_EMAIL and ADMIN_PASSWORD environment variables.
3. Configure AI Provider
Before chatting, you need to configure at least one AI provider:
- Go to Settings (gear icon)
- Select Provider Credentials
- Choose a provider (e.g., Anthropic, OpenAI)
- Enter your API key or click Add OAuth for supported providers
- Click Save
4. Clone a Repository
- Click the folder icon in the sidebar
- Click Clone Repository
- Paste a repository URL (HTTPS or SSH)
- Click Clone
!!! note "Private Repositories" For private repos, configure a GitHub Personal Access Token in Settings > Credentials first.
5. Start Chatting
- Select your cloned repository from the sidebar
- Click New Session or type
/new - Type your message
- Press Enter to send
Useful Commands
| Command | Description |
|---|---|
/help |
Show available commands |
/new |
Start a new session |
/models |
List available models |
/compact |
Reduce session context |
File Mentions
Reference files in your prompts:
- Type
@in the chat input - Start typing a filename
- Select from the autocomplete dropdown
- The AI will have access to that file's contents
6. Explore Features
Now that you're set up, explore more features:
- Git Integration - View diffs, manage branches
- File Browser - Navigate and edit files
- MCP Servers - Add tools and integrations
- Mobile PWA - Install on your phone
Keyboard Shortcuts
| Shortcut | Action |
|---|---|
Enter |
Send message |
Shift+Enter |
New line |
Ctrl+/ |
Toggle sidebar |
Ctrl+K |
Command palette |
Customize shortcuts in Settings > Keyboard Shortcuts.