GlotBase is a modern web application for building and documenting constructed languages (conlangs). Designed specifically to accommodate complex language systems with multi-script support, flexible word orders, and advanced morphology.
Real-time statistics, progress tracking, and analytics for your conlang development.
- Multi-Script Support - Jawi, Arabic, Tengwar, or any custom writing system
- RTL Support - Automatic right-to-left rendering
- Comprehensive Fields - Native script, romanization, IPA, etymology, gender, tags
- IPA Virtual Keyboard - Click-to-insert vowels, consonants, diacritics, and tone marks
- Custom Gender System - Neutral, Masculine, Feminine, Divine, or user-defined
- Full CRUD - Create, read, update, delete with search
- Rule Management - Full CRUD for morphological rules (prefix, suffix, infix, circumfix)
- Auto-Generation - Generate derived words from root words
- Native Script Support ⭐ - Automatically generates Jawi/Arabic script for derived words
- Preview System - See results before generating
- Perfect for Austronesian Languages - Complex affixation support
- Universal Word Order ⭐ - Validates all 6 patterns:
- VSO (Verb-Subject-Object) - Welsh, Arabic
- SVO (Subject-Verb-Object) - English, Mandarin
- SOV (Subject-Object-Verb) - Japanese, Korean
- VOS, OVS, OSV - Rare patterns supported
- Real-time Validation - Visual feedback for sentence structure
- Pattern Visualization - See your sentence's word order pattern
- Sentence History - Save and reference valid sentences
- JSON Export - Full backup with all metadata
- CSV Export - Spreadsheet-compatible (Excel, Google Sheets)
- JSON Import - Restore from backups
- Auto-naming - Timestamped file names
- Premium Dark Theme - Glassmorphism effects
- Fully Responsive - Mobile, tablet, desktop
- Smooth Animations - Polished UX
- Quality Typography - Inter (UI), Scheherazade New (Arabic/Jawi)
- Node.js 18+
- npm
Important: Replace
<repository-url>with the real URL of your GitHub repository or fork. Do not copyhttps://github.com/yourusername/glotbase.git; that was only a placeholder and will returnRepository not found.
# Clone the repository
git clone <repository-url>
cd glotbase
# Install dependencies
npm install
# Start development server
npm run dev
# Open in browser
http://localhost:5173PowerShell example after you copy the real URL from GitHub's Code button:
git clone https://github.com/<owner>/<repo>.git
cd .\glotbase
npm install
npm run devnpm run build
npm run previewNavigate to Lexicon → + Add Word:
- Native Script: Your conlang's writing system (Jawi, Tengwar, etc.)
- Romanization: Latin transliteration
- IPA: Phonetic transcription (optional)
- Part of Speech: Noun, verb, adjective, etc.
- Gender: Neutral, Masculine, Feminine, Divine, or Custom
- Etymology: Track word origins
- Tags: Categorize (basic, nature, divine, etc.)
Go to Affix Calculator → + Add Rule:
- Name: e.g., "Nominalizer -an"
- Type: Prefix, Suffix, Infix, or Circumfix
- Pattern: Use
$ROOTas placeholder- Prefix:
me-$ROOT - Suffix:
$ROOT-an - Circumfix:
ke-$ROOT-an
- Prefix:
- Example: makan → makanan
New! Native script auto-generation:
Root: makan (ماكن)
+ Suffix "-an"
= makanan (ماكنan)
- Select a root word
- Check affix rules to apply
- Preview results (shows romanization + native script)
- Click Generate - derived words auto-added to lexicon!
Go to Sentence Builder:
- Select your word order (VSO, SVO, SOV, etc.)
- Add word slots
- Fill with words from your lexicon
- See real-time validation and pattern visualization
- Save valid sentences to history
| Layer | Technology |
|---|---|
| Frontend | React 18 + TypeScript |
| Build Tool | Vite 6 |
| Styling | Vanilla CSS + Custom Properties |
| State | React Context API |
| Storage | LocalStorage (browser-based) |
glotbase/
├── src/
│ ├── components/
│ │ ├── Dashboard.tsx # Statistics & analytics
│ │ ├── SmartLexicon.tsx # Lexicon manager
│ │ ├── AffixCalculator.tsx # Morphology engine
│ │ ├── SentenceBuilder.tsx # Word order validator
│ │ └── ExportImport.tsx # Backup system
│ ├── context/
│ │ ├── LexiconContext.tsx # Word state
│ │ └── AffixContext.tsx # Affix rules state
│ ├── utils/
│ │ ├── affixEngine.ts # Native script generation
│ │ ├── syntaxValidator.ts # Multi-pattern validation
│ │ ├── exportImport.ts # File I/O
│ │ └── storage.ts # LocalStorage wrapper
│ ├── types/
│ │ └── schema.ts # TypeScript definitions
│ └── index.css # Global styles & design system
├── package.json
├── tsconfig.json
└── vite.config.ts
GlotBase is script-agnostic and supports any writing system:
✅ Jawi (Arabic-Malay) ✅ Arabic ✅ Tengwar (Elvish) ✅ Hangul (Korean) ✅ Katakana/Hiragana (Japanese) ✅ Cyrillic ✅ Devanagari ✅ Custom invented scripts
All RTL (right-to-left) scripts automatically supported.
- ✅ Complex affixation (prefix, suffix, infix, circumfix)
- ✅ VSO word order validation
- ✅ Jawi/Arabic script with auto-generation
- ✅ Divine gender for sacred terminology
- ✅ Tengwar or custom scripts
- ✅ Etymology tracking
- ✅ Root/derived word system
- ✅ Quick word generation
- ✅ Tag system (magic, divine, nature)
- ✅ Export to share with players
- ✅ IPA transcription
- ✅ Morphology documentation
- ✅ Multi-pattern syntax testing
##🔮 Roadmap
- Dashboard with real-time stats
- Smart Lexicon (multi-script, CRUD, search)
- Affix Calculator with native script generation
- Sentence Builder (all 6 word orders)
- Export/Import (JSON & CSV)
- Custom gender systems
- Edit rules functionality
- Grammar Wiki - Markdown documentation
- Phonology Editor - Sound inventory management
- Batch Generation - Multiple root words at once
- Rule Categories - Organize rules by function
- PDF dictionary export
- Cloud sync (optional)
- Multi-language UI
- Corpus manager
Contributions welcome! Areas for contribution:
- Additional POS categories
- Phonology tools
- Grammar templates
- Export formats
- UI translations
# Fork the project on GitHub, then clone your fork
git clone https://github.com/<your-github-username>/<your-fork-name>.git
cd <your-fork-name>
# Install and develop
npm install
npm run dev
# Create a PR!Open source for personal and educational use. Fork and customize for your conlang needs!
Built with 💜 for conlangers worldwide
Fonts:
- Inter by Rasmus Andersson
- Scheherazade New by SIL International
Inspiration:
- PolyGlot, Lexique Pro
- The conlanging community
Real-time statistics and progress tracking
Auto-generate derived words with native script
Universal word order validation
- 🐛 Report issues from the Issues tab of the repository you cloned.
- 💬 Start discussions from the Discussions tab if it is enabled for that repository.
Happy Conlanging! 🌐✨
⭐ If you find GlotBase useful, please consider starring the repo!
Made with love for conlangers, by conlangers.