nogon

command module
v0.22.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 18, 2026 License: AGPL-3.0 Imports: 2 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Nogon

Your own search engine

Nogon was formerly known as Hister

Nogon is a private search engine for the pages you visit and the files you keep. It indexes their full contents so you can find information again from the web interface, terminal, or an AI assistant connected through MCP.

Try the demo · Download Nogon · Read the quickstart · Documentation · Support the development

Nogon web interface

Quickstart

  1. Download the binary for your platform from the latest release, then rename it to nogon (nogon.exe on Windows).

  2. On Linux or macOS, make it executable:

    chmod +x nogon
    
  3. Start Nogon on Linux or macOS:

    ./nogon listen
    

    On Windows, run .\nogon.exe listen in PowerShell.

    Keep this terminal open while using Nogon. The server must be running to index pages and search them.

  4. Open http://127.0.0.1:4433 and install the browser extension for Firefox or Chrome.

  5. Visit a web page with the extension enabled, then return to Nogon and search for a phrase from that page to find your first indexed result.

No configuration is required for a local personal setup. See the complete quickstart to choose what Nogon indexes.

To search existing content, import browser history, import browser bookmarks, index local directories, or import files.

Alternative installation methods include Homebrew (brew install hister), Docker, and Nix. See the installation guide for instructions.

Features

  • Privacy focused: No telemetry or mandatory cloud service. Run Nogon locally or on infrastructure you control.
  • Full text indexing: Search the actual contents of visited pages and local files, not only titles and URLs.
  • Automatic browser indexing: Save newly visited pages with the Firefox or Chrome extension.
  • Powerful queries: Use field filters, phrases, wildcards, negation, aliases, and result priorities.
  • Optional semantic search: Find documents by meaning through an embeddings endpoint you configure.
  • Crawler and browser import: Index websites or bring in existing browser history and bookmarks.
  • Web, terminal, and MCP clients: Search from the browser, TUI, command line, or an AI assistant.
  • Multi user support: Keep each user's documents and search results separate on a shared server.

Nogon terminal interface

Privacy

By default, Nogon has no telemetry and no cloud sync. The browser extension sends indexed page content only to the Nogon server you configure, apart from downloading page favicons. The server stores documents and search indexes on that server.

Optional semantic search sends document text to the embeddings endpoint you choose. Review the privacy overview and semantic search configuration before enabling remote integrations.

Why Nogon?

Unlike traditional search engines, Nogon builds a personal search index from the web pages and files you choose to keep. Your content stays on your Nogon server, making it useful for finding information you've already encountered without relying on a third-party search provider.

Development

Requirements are Go 1.26, npm, and a C compiler for CGO dependencies.

git clone https://github.com/asciimoo/nogon.git
cd nogon
./manage.sh build

To work on the web app with hot reload and automatic Go rebuilds:

npm run serve:app

This starts a Vite development server and the Go backend with automatic rebuilds through air.

Community and contributing

Join us on IRCNet in #hister or on Discord.

Read CONTRIBUTING.md before submitting a change. Bugs and suggestions belong in the issue tracker. For security reports, see SECURITY.md.

Sponsors

Uruky

License

AGPLv3 or any later version

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd
tui
tui/component
Package component contains reusable, state-independent TUI building blocks.
Package component contains reusable, state-independent TUI building blocks.
SPDX-FileContributor: slowerloris <taylor@teukka.tech>
SPDX-FileContributor: slowerloris <taylor@teukka.tech>
extract
Package extract parses supplied file bytes and renders stored content without opening source paths or assigning document identity, ownership, or storage state.
Package extract parses supplied file bytes and renders stored content without opening source paths or assigning document identity, ownership, or storage state.
Package logging owns the process log output independently of server generations.
Package logging owns the process log output independently of server generations.
Package server MCP endpoint implements the Model Context Protocol (MCP) Streamable HTTP transport so that AI assistants (Claude Desktop, Cursor, etc.) can search the Nogon index directly.
Package server MCP endpoint implements the Model Context Protocol (MCP) Streamable HTTP transport so that AI assistants (Claude Desktop, Cursor, etc.) can search the Nogon index directly.
errors
Package errors provides shared error-handling helpers for the server.
Package errors provides shared error-handling helpers for the server.
extractor
Package extractor provides HTML content extraction for documents.
Package extractor provides HTML content extraction for documents.
extractor/extractors/_extractor_template
Package extractor_template is a starting point for implementing a new Nogon extractor.
Package extractor_template is a starting point for implementing a new Nogon extractor.
extractor/extractors/bluesky
Package bluesky extracts individual posts from Bluesky pages.
Package bluesky extracts individual posts from Bluesky pages.
extractor/extractors/chatgpt
Package chatgpt extracts rendered ChatGPT conversations as single documents.
Package chatgpt extracts rendered ChatGPT conversations as single documents.
extractor/extractors/discourse
Package discourse extracts topics and posts from Discourse forums.
Package discourse extracts topics and posts from Discourse forums.
extractor/extractors/embeddedvideo
Package embeddedvideo extracts embedded video URLs from HTML documents.
Package embeddedvideo extracts embedded video URLs from HTML documents.
extractor/extractors/github
Package github provides an extractor for GitHub repository pages.
Package github provides an extractor for GitHub repository pages.
extractor/extractors/godoc
Package godoc provides an extractor for pkg.go.dev documentation pages.
Package godoc provides an extractor for pkg.go.dev documentation pages.
extractor/extractors/hackernews
Package hackernews provides an extractor for Hacker News item pages.
Package hackernews provides an extractor for Hacker News item pages.
extractor/extractors/jsonld
Package jsonld provides an extractor that parses application/ld+json script tags and writes normalized metadata to the document.
Package jsonld provides an extractor that parses application/ld+json script tags and writes normalized metadata to the document.
extractor/extractors/lobsters
Package lobsters provides an extractor for lobste.rs story pages.
Package lobsters provides an extractor for lobste.rs story pages.
extractor/extractors/markdown
Package markdown provides an extractor for locally indexed Markdown files.
Package markdown provides an extractor for locally indexed Markdown files.
extractor/extractors/notion
Package notion provides an extractor for Notion pages on notion.so and notion.site domains.
Package notion provides an extractor for Notion pages on notion.so and notion.site domains.
extractor/extractors/reddit
Package reddit extracts posts and comments from Reddit post pages.
Package reddit extracts posts and comments from Reddit post pages.
extractor/extractors/stackexchange
Package stackexchange provides an extractor for Stack Exchange network
Package stackexchange provides an extractor for Stack Exchange network
extractor/extractors/twitter
Package twitter extracts individual tweets from Twitter and X pages.
Package twitter extracts individual tweets from Twitter and X pages.
extractor/extractors/wikipedia
Package wikipedia provides an extractor for Wikipedia article pages.
Package wikipedia provides an extractor for Wikipedia article pages.
extractor/extractors/ytdlp
Package ytdlp provides an extractor for video pages using the yt-dlp tool.
Package ytdlp provides an extractor for video pages using the yt-dlp tool.
extractor/sdk
Package sdk defines the stable contracts used to implement Nogon extractors.
Package sdk defines the stable contracts used to implement Nogon extractors.
extractor/textutil
Package textutil provides shared helpers for flattening HTML to plain text while keeping the block structure of the original markup.
Package textutil provides shared helpers for flattening HTML to plain text while keeping the block structure of the original markup.
extractor/urlutil
Package urlutil provides shared URL helpers for extractors.
Package urlutil provides shared URL helpers for extractors.
indexer/searchschema
Package searchschema contains the authoritative search field, filter, facet, and sort definitions shared by the indexer, query builder, API, and user interfaces.
Package searchschema contains the authoritative search field, filter, facet, and sort definitions shared by the indexer, query builder, API, and user interfaces.
languages
Package languages resolves document tags, detection candidates, and analyzer choices without importing the detector models or the search engine.
Package languages resolves document tags, detection candidates, and analyzer choices without importing the detector models or the search engine.
metrics
Package metrics provides Prometheus instrumentation for Nogon.
Package metrics provides Prometheus instrumentation for Nogon.
oauth
Package oauth provides OAuth 2.0 authentication support for external providers.
Package oauth provides OAuth 2.0 authentication support for external providers.
vectorstore/sqlitevec
Package sqlitevec bundles the sqlite-vec C extension and provides Auto() to register it with every new SQLite connection in the process.
Package sqlitevec bundles the sqlite-vec C extension and provides Auto() to register it with every new SQLite connection in the process.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL