Deploy Nogon
Your own private search engine for the pages you visit and files you keep
Nogon
Just deployed
Deploy and Host Nogon on Railway
Nogon (formerly Hister) is your own private search engine. It keeps a full-text index of the web pages you visit and the files you choose to keep, so you can find something you have already seen without asking a public search engine. A browser extension for Firefox and Chrome sends each page you open to your server; you search from the web interface, the terminal, or an AI assistant connected over MCP. This template runs the official Nogon image (0.22.0) on Railway as one small service, locked with a generated access token and with its index kept on a volume.
This is a community template, not made or supported by the Nogon authors.
About Hosting Nogon
Open your Railway domain and log in with the token in the service's NOGON__APP__ACCESS_TOKEN variable (Railway generates it at deploy).
Fill the index: install the Nogon extension for Firefox or Chrome, open its settings, and enter your Railway address as the server URL and the same token. Pages you visit from then on are indexed. To add what you already have, install the nogon command on your computer and run it against the server, for example nogon --server-url https://your-domain --token YOUR_TOKEN index https://example.com, or use its import command for browser history and bookmarks.
The access token: it is applied on every boot, so change it in the variable and redeploy. Nogon without a login is open to anyone who has the address, so if you empty or delete the variable the start script uses a generated token instead and prints it in the deploy logs.
Your data: the search index, the database, saved settings and rules all live on the volume at /data, so they survive redeploys. Everything you index is stored on this server: set the extension's allow and skip rules before you browse with it.
MCP for AI assistants: Nogon serves Streamable HTTP MCP at https://your-domain/mcp; clients send Authorization: Bearer with the access token. It offers read-only search, history, facets and previews.
Custom domain: Nogon rejects browser requests that don't come from its own address, so after adding a custom domain set NOGON__SERVER__BASE_URL to it (for example https://search.example.com) and redeploy.
More settings: any Nogon setting can be given as a variable named NOGON__SECTION__KEY, or in a config.yml you place on the volume at /data/config.yml. Many can also be changed under Settings in the web interface.
Common Use Cases
- Finding a page, an answer or a document you know you read but can't find again
- A private, searchable archive of your browsing history and bookmarks across several computers and browsers
- Giving Claude, Cursor or another MCP client read-only search over what you have read
- Indexing a set of sites or documentation with the crawler and searching it in one place
Dependencies for Nogon Hosting
- None. The browser extension or the
nogoncommand on your computer feeds the index.
Deployment Dependencies
Implementation Details
- Tested on Railway: the healthcheck, the login lock (the API answers 403 without the token and with a wrong one), the web login exchange (token for a Secure, HttpOnly session cookie), indexing two pages with the
nogoncommand from another machine and finding them by their text, the WebSocket search endpoint the web interface uses, the MCP endpoint (403 without the token, thentools/listand a search with it), the index surviving redeploys, the generated token when the variable is emptied, and the notice page with a brokenconfig.yml. Not tested: the web interface and the browser extension in a real browser (the page and its scripts load), semantic search, multi-user mode, OAuth and local directory indexing. - Memory: about 35 MB with a nearly empty index in our test, so it fits a 0.5 GB plan. It grows with the size of the index.
- Single user: the template sets up one shared access token. Nogon's multi-user mode needs its first administrator created from an interactive terminal while the server is stopped, which this template does not arrange.
- Safety guards: a malformed
PORTor base URL is replaced with a working default and logged. If Nogon rejects the configuration, the service shows a notice page that says where to look, instead of restarting in a loop. - Semantic search: optional and off. It needs an embeddings endpoint you configure, and sends document text to it.
- Image: upstream's
ghcr.io/asciimoo/nogon:v0.22.0-root, pinned to the stable release, plus a small start script. The root variant is used because Railway mounts volumes owned by root.
Why Deploy Nogon 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 Nogon 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
Nogon
two-workspaces/nogon