EZ Novel is a browser-based writing workspace for drafting and organizing novels across books, chapters, characters, locations, and plot points.
- Rich text chapter editor with autosave.
- Multi-book workspace with fast switching.
- Book cards are click-to-activate.
- Book cards support rename and guarded delete:
- Red
Deletebutton on each card. - Confirmation requires typing
DELETE(all caps). - Shows deletion summary (chapters, words, characters, locations, plot points) before removal.
- Red
- Header includes a
Homebutton linking tohttps://blahpunk.com. - Export panel for manuscript PDF output.
- OAuth-based authentication flow.
ez_novel/
client/ # React frontend
server/ # Node/Express API
screenshots/
- Node.js 18+
- npm
# from repo root
cd server && npm install
cd ../client && npm install# terminal 1
cd server
npm start
# terminal 2
cd client
npm startDefault ports:
- API:
7385 - Client/dev:
7692(or CRA-assigned local dev port)
Typical frontend deploy flow:
cd /opt/ez_novel/client
npm run build
pm2 restart ez-novel --update-envAPI process:
pm2 restart ez-novel-api --update-env- API auth now verifies both
useranduser_sigcookies via HMAC (SECURE_AUTH_SECRET). - Novel data files are encrypted at rest with AES-256-GCM (
DATA_ENCRYPTION_KEY). - API CORS is allowlisted with
ALLOWED_ORIGINS.
Required server env vars:
SECURE_AUTH_SECRET: must match the OAuth signer secret used bysecure.blahpunk.com.DATA_ENCRYPTION_KEY: encryption key material for at-rest data (falls back toSECURE_AUTH_SECRETif omitted).ALLOWED_ORIGINS: comma-separated frontend origins allowed to call the API.
Important limitation:
- Google login without a separate user-held secret is not true zero-knowledge encryption. It protects against database/file leaks and cookie forgery, but a full server operator can still decrypt.
MIT