Spaces:
Running
Running
File size: 4,343 Bytes
687dcda 44dbcf3 dc4e682 e964d28 153128a afc3fad 687dcda c91acea 687dcda a5a2c66 687dcda a5a2c66 591093b a85e1df 926a189 a85e1df 926a189 a85e1df 926a189 ad91a91 6d281df 687dcda a5a2c66 8e650e3 a5a2c66 687dcda a5a2c66 687dcda a5a2c66 687dcda 926a189 a5a2c66 687dcda a5a2c66 687dcda a5a2c66 687dcda a5a2c66 687dcda a5a2c66 687dcda a5a2c66 687dcda a5a2c66 687dcda a5a2c66 687dcda a5a2c66 687dcda a5a2c66 687dcda a5a2c66 687dcda a5a2c66 687dcda a5a2c66 687dcda a5a2c66 687dcda a5a2c66 687dcda a5a2c66 687dcda a5a2c66 69f247d a5a2c66 687dcda a5a2c66 687dcda a5a2c66 687dcda a5a2c66 687dcda a5a2c66 687dcda a5a2c66 687dcda a5a2c66 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 |
---
title: Document Viewer
emoji: π
colorFrom: blue
colorTo: purple
sdk: docker
pinned: false
license: mit
short_description: A bridge for all agents to pass markdown
tags:
- building-mcp-track-consumer
- building-mcp-track-enterprise
- building-mcp-track-creative
---
(the table above is for HF deployments)
# Document Viewer - AI-Powered Documentation System
An Obsidian-style documentation system where AI agents and humans collaborate on creating and maintaining documentation.
Team members: Bigwolfe, AbelFace, Wothmag07
Links:
https://youtu.be/vHCsI1a7MUY
https://github.com/bigwolfeman/Document-MCP
https://www.instagram.com/p/DRqCPOTEcKl/?igsh=MTlhZjJmZ2podzlmcA==
https://x.com/a_i_belgpt/status/1994900016553480593?t=Bqv3nYAluzLv2BMqVyuTSQ&s=09
https://www.linkedin.com/posts/jose-pinales_vault-mcp-share-7400699102797406208-zZwq?utm_source=share&utm_medium=member_android&rcm=ACoAACp_iZMBHLcV-oYR8V0pIIkrTziBPQKXTw4
## β οΈ Demo Mode
**This is a demonstration instance hosted on HuggingFace with ephemeral storage.**
- All data is temporary and resets on server restart
- Demo content is automatically seeded on each startup
- For production use, deploy your own instance with persistent storage
## π― Features
- **Wikilinks** - Link between notes using `[[Note Name]]` syntax
- **Full-Text Search** - BM25 ranking with recency bonus
- **Backlinks** - Automatically track note references
- **Split-Pane Editor** - Live markdown preview
- **MCP Integration** - AI agents can read/write via Model Context Protocol
- **Multi-Tenant** - Each user gets an isolated vault (HF OAuth)
- **ChatGPT App Integration** - Loads as an iFrame in ChatGPT (while still letting other agents communicate over the same MCP endpoint!)
- **TTS** - Read your notes outloud using Elevenlabs TTS
- **Gemini AI Integration** Using Gemini API there is a full tool calling chatbot that can help organize and talk about the notes inside Vault.MCP
- **Vector DB/LlamaIndex RAG** Full RAG capacity through LlamaIndex
## π Getting Started
1. Click **"Sign in with Hugging Face"** to authenticate
2. Browse the pre-seeded demo notes
3. Try searching, creating, and editing notes
4. Check out the wikilinks between documents
## π€ AI Agent Access (MCP)
After signing in, go to **Settings** to get your API token for MCP access:
```json
{
"mcpServers": {
"obsidian-docs": {
"url": "https://YOUR_USERNAME-Document-MCP.hf.space/mcp",
"transport": "http",
"headers": {
"Authorization": "Bearer YOUR_JWT_TOKEN"
}
}
}
}
```
For local experiments you can still run the MCP server via STDIOβuse the "Local Development" snippet shown in Settings.
AI agents can then use these tools:
- `list_notes` - Browse vault
- `read_note` - Read note content
- `write_note` - Create/update notes
- `search_notes` - Full-text search
- `get_backlinks` - Find references
- `get_tags` - List all tags
## ποΈ Tech Stack
**Backend:**
- FastAPI - HTTP API server
- FastMCP - MCP server for AI integration
- SQLite FTS5 - Full-text search
- python-frontmatter - YAML metadata
**Frontend:**
- React + Vite - Modern web framework
- shadcn/ui - UI components
- Tailwind CSS - Styling
- react-markdown - Markdown rendering
## π Documentation
Key demo notes to explore:
- **Getting Started** - Introduction and overview
- **API Documentation** - REST API reference
- **MCP Integration** - AI agent configuration
- **Wikilink Examples** - How linking works
- **Architecture Overview** - System design
- **Search Features** - Full-text search details
## βοΈ Deploy Your Own
Want persistent storage and full control? Deploy your own instance:
1. Clone the repository
2. Set up HF OAuth app
3. Configure environment variables
4. Deploy to HF Spaces or any Docker host
See [DEPLOYMENT.md](./DEPLOYMENT.md) for detailed instructions.
## π Privacy & Data
- **Multi-tenant**: Each HF user gets an isolated vault
- **Demo data**: Resets on restart (ephemeral storage)
- **OAuth**: Secure authentication via Hugging Face
- **No tracking**: We don't collect analytics or personal data
## π License
MIT License - See LICENSE file for details
## π€ Contributing
Contributions welcome! Open an issue or submit a PR.
---
Built with β€οΈ for the AI-human documentation collaboration workflow
|