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
- 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 or yarn
# Clone the repository
git clone https://github.com/yourusername/glotbase.git
cd glotbase
# Install dependencies
npm install
# Start development server
npm run dev
# Open in browser
http://localhost:5173npm 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
- IPA Virtual Keyboard - Click-to-insert IPA symbols
- 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 and clone
git clone https://github.com/yourusername/glotbase.git
cd glotbase
# 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
- ๐ฌ Start Discussion
Happy Conlanging! ๐โจ
โญ If you find GlotBase useful, please consider starring the repo!
Made with love for conlangers, by conlangers.