Raneto is a free, open, simple Markdown-powered knowledge base for Node.js.
Find out more →
Live Demo →
Documentation →
- All content is file-based
- Search file names and contents
- Markdown editor in the browser
- Login system for edit protection
- Simple and Lightweight
Click here to join the mailing list for project news and important security alerts!
Environment variables take the highest priority and override values set in config/config.js.
| Variable | Config Key | Type | Description |
|---|---|---|---|
SESSION_SECRET |
session_secret |
String | Session signing secret. Min 32 chars. Generate: openssl rand -base64 32 |
ADMIN_USERNAME |
credentials[0] |
String | Admin username (must be set together with ADMIN_PASSWORD) |
ADMIN_PASSWORD |
credentials[0] |
String | Admin password (must be set together with ADMIN_USERNAME) |
CONTENT_DIR |
content_dir |
String | Path to content directory containing .md files (default: content/pages) |
BASE_URL |
base_url |
String | Base URL of the site (e.g. https://docs.example.com) |
SITE_TITLE |
site_title |
String | Site title shown in the browser and header |
GOOGLE_ANALYTICS_ID |
google_analytics_id |
String | Google Analytics 4 measurement ID (e.g. G-XXXXXXXXXX) |
LOCALE |
locale |
String | Locale code for UI translations (e.g. en, fr) |
AUTHENTICATION |
authentication |
Boolean | Set to true to enable authentication |
ALLOW_EDITING |
allow_editing |
Boolean | Set to true to enable the web editor |
ADDRESS |
(server) | String | IP address to listen on (default: 127.0.0.1) |
PORT |
(server) | Number | Port to listen on (default: 8080) |
HOST |
(server) | String | Deprecated — use ADDRESS instead |
