Deploy Aksara Khmer Wordprocessor
Khmer web editor with word breaking, grammar, spellcheck, voice input
Just deployed
/var/lib/postgresql/data
nextjs
Just deployed
Email CRON
Just deployed
Deploy and Host Aksara Khmer Word Processor on Railway
Aksara is a web-based text editor built for the Khmer language. It automatically segments Khmer text into words — something standard editors can't do since Khmer doesn't use spaces between words — and layers on spell checking, grammar checking, voice input, and document management.
About Hosting Aksara Khmer Word Processor
This template deploys three services: the Next.js application, a PostgreSQL database for user accounts and documents, and a cron service that processes the email queue on a schedule. The app handles word segmentation, spell checking, and document export entirely in the browser, so server load stays low even with active users. You'll need to configure Cloudflare Turnstile keys for bot protection on signup and login, and SMTP credentials if you want to send transactional emails (verification, password reset). An optional encryption key lets you encrypt stored documents at rest.
Common Use Cases
- Host a Khmer text editor for your school, organization, or NGO where staff need to write properly segmented Khmer documents
- Run a self-hosted alternative to Google Docs for Khmer-language content with spell checking and grammar validation
- Deploy a Khmer writing tool for a newsroom, translation team, or government office that needs ODT export for print workflows
Dependencies for Aksara Khmer Word Processor Hosting
- PostgreSQL — Stores user accounts, documents, preferences, and dictionary customizations
- Cron Service — Processes queued emails (verification, password reset) on a recurring schedule
Deployment Dependencies
- Cloudflare Turnstile — Free bot protection for signup and login forms. Create a site key and secret key in the Cloudflare dashboard.
- SMTP provider — Any SMTP service for transactional email (e.g., Purelymail, Resend, Mailgun)
Why Deploy Aksara Khmer Word Processor on Railway?
Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.
By deploying Aksara Khmer Word Processor on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.
Template Content
nextjs
sungkhum/aksaraSMTP_HOST
SMTP server hostname for sending emails
SMTP_USER
SMTP login email address
CRON_SECRET
Secret for authenticating cron job requests. Generate with: openssl rand -base64 32
SMTP_PASSWORD
SMTP login password
ENCRYPTION_KEY
Document encryption key (optional). Generate with: openssl rand -base64 32
SMTP_FROM_EMAIL
Sender email address for outgoing mail
BETTER_AUTH_SECRET
Auth session signing key. Generate with: openssl rand -base64 32
ELEVENLABS_API_KEY
ElevenLabs API key for voice input (optional)
TURNSTILE_SECRET_KEY
Cloudflare Turnstile server-side secret key for bot protection
NEXT_PUBLIC_TURNSTILE_SITE_KEY
Cloudflare Turnstile client-side site key
Email CRON
sungkhum/aksaraCRON_SECRET
Shared secret to authenticate cron requests to the app
CRON_TARGET_URL
Internal URL of the Aksara app (e.g. http://aksara.railway.internal)