A powerful study lab for Islamic texts and Persian literature.
🌐 Live: negar.parsa.wtf
Parsanegar is a comprehensive digital workspace for exploring, studying, and annotating Persian poetry and Islamic texts. Think of it as your personal research lab where classical Persian literature meets modern tooling.
Whether you're diving deep into Hafez's ghazals, studying Quranic vocabulary, or exploring the vast Dehkhoda dictionary — Parsanegar brings everything together in one beautiful, fast, privacy-respecting interface.
- 📖 Classical Persian Poetry — Complete works from Ganjoor (Hafez, Rumi, Saadi, Khayyam, Ferdowsi, and 200+ more poets)
- 🕌 Quran Study Tools — Word-by-word translation (Persian & English), root analysis, and cross-references
- 📿 Quranic Roots Explorer — Search and browse Arabic roots with morphological analysis
- 📚 Hadith Collections — Al-Kafi and other major collections
- 📜 Dictionaries — Dehkhoda, Lane's Lexicon, Hans Wehr Arabic-English
- 🔍 Pattern Search — Advanced regex-like search across all texts
- 🔬 Vocabulary Observatory — Analyze poets' unique vocabulary and style
- 💎 Rare Words Discovery — Find forgotten and uncommon Persian words
- 🔮 Semantic Similarity — Word2vec-powered similar word discovery
- 📝 Document Editor — Rich editor with verse embedding capabilities
- 🏷️ Tagging & Notes — Annotate verses with personal notes and tags
- 🎯 Parsi Sareh Game — Learn pure Persian equivalents for loanwords
- 🔧 Poetry Tools — Rhyme finder, Markov text generation
- 🔀 Split Panels — Floating and docked panels for multitasking
- 🤖 AI Assistant — Claude-powered study companion (bring your own API key)
- ☁️ Cross-Device Sync — Your notes everywhere
- 🔐 End-to-End Encryption — Your data, your keys
This matters more than you might think.
Parsanegar is built for anyone studying Islamic and Persian texts — including critics, skeptics, apostates, and ex-Muslims like myself. In many parts of the world, simply questioning religious texts can have serious consequences. Your notes, your questions, your critical analysis — these are yours alone.
That's why Parsanegar uses end-to-end encryption for all your personal data. Not as a feature, but as a fundamental requirement:
- When you create an account, you receive a 12-word recovery phrase (BIP-39)
- This phrase generates your unique encryption key using PBKDF2-SHA256
- All your content is encrypted with AES-256-GCM before leaving your device
- The server only sees encrypted blobs — not your actual notes, documents, or tags
- Only you can decrypt your data — not me, not any government, nobody
✓ Document titles and content ✓ All text blocks and notes ✓ Verse tags and annotations ✓ Sticky notes ✓ Saved vocabulary ✓ Your Claude API key
✓ IP addresses — never stored ✓ Analytics — no Google Analytics or similar ✓ Tracking cookies — none
If you lose your 12-word recovery phrase, your data is gone forever. There's no "forgot password" button, no recovery email, no backdoor. This is intentional — it means nobody can be compelled to hand over your data, because nobody else has access to it.
If you need to quickly exit and erase all traces:
Ctrl + Shift + X
This immediately clears all local data (localStorage, sessionStorage, caches) and redirects to Google. No confirmation, no delay.
We're honest about what metadata is visible for the system to function:
- Number of documents and blocks (not their content)
- Block types (text, heading, verse, etc.)
- Timestamps
- Verse references in embedded verses
- Persian Poetry: Ganjoor — A treasure trove maintained by volunteers passionate about Persian literature
- Dehkhoda Dictionary: Digitized from open sources
- Parsi Sareh: Academy of Persian Language and Literature
- Frontend: React + TypeScript + Vite + TailwindCSS + Zustand
- Backend: Rust + Axum
- Data: Memory-mapped binary indices for blazing fast search
- Encryption: Web Crypto API (AES-256-GCM, PBKDF2)
# Install dependencies
npm install
# Start frontend dev server
npm run dev
# Build and run backend
cargo build --release --bin server
DATA_DIR=./release/data ./target/release/server serveThe binary data files are built from source JSON/SQLite:
./target/release/server build --source ./data --output ./release/dataBuilt by Parsa Ghadimi for personal use and shared freely with lovers of Persian literature.
ساخته شده با عشق برای زبان پارسی
Built with love for the Persian language