Catalog PyPI
PACKAGE EXPLORERView in registry

aigon-viewer

PyPI

Standalone markdown viewer server with local and remote file support

Versions collected1
Direct dependencies9From release 0.10
Last observed21 Oct, 10:49 UTC

README

Version 0.10 documentation

Aigon Viewer Server

A lightweight FastAPI markdown viewer for local files.

Installation

Prerequisite: Install uv

curl -LsSf https://astral.sh/uv/install.sh | sh

then install aigon-viewer from PyPi

uv tool install aigon-viewer

or directly from GitHub

uv tool install git+https://github.com/aigonai/aigon-viewer.git

Updating

From PyPi

uv tool install --upgrade aigon-viewer

directly from Github

uv tool install --force git+https://github.com/aigonai/aigon-viewer.git

Running the Server

Using aigonviewer

Full CLI with Process Management

The aigonviewer command provides full process management with background execution, status checking, and cleanup.

Available Commands:

aigonviewer launch [OPTIONS]    # Launch server in background
aigonviewer status              # Check running servers
aigonviewer kill [OPTIONS]      # Stop running servers

Launch Options:

aigonviewer [launch] [DIRECTORY] [OPTIONS]

Arguments:
  DIRECTORY             Directory to serve (default: current directory)

Options:
  --port, -p PORT       Port to run on (default: 4444)
  --host HOST           Host to bind to (default: 127.0.0.1)
  --foreground, -fg     Run in foreground (don't daemonize)
  --no-browser          Don't open browser automatically
  --remote, -r          Enable remote sources (default: enabled)
  --no-remote           Disable remote sources (local files only)

Examples:

# Launch server (simplified syntax)
aigonviewer ~/notes

# Launch on custom port
aigonviewer ~/notes --port 8080

# Launch from current directory
aigonviewer

# Run in foreground (blocks until Ctrl+C)
aigonviewer ~/notes --foreground

# Explicit launch command (also works)
aigonviewer launch ~/notes --port 8080

# Check running servers
aigonviewer status

# Stop all servers
aigonviewer kill

# Stop server on specific port
aigonviewer kill --port 4444

Using aigonviewer_base

Simple Mode

For simple use cases where you don't need process management, use aigonviewer_base which runs directly in the foreground:

# Basic usage
aigonviewer_base ~/notes

# Custom port and host
aigonviewer_base ~/notes --port 8080 --host 0.0.0.0

# Don't open browser
aigonviewer_base ~/notes --no-browser

Options:

aigonviewer_base [PATH] [OPTIONS]

Arguments:
  PATH                   Directory to serve (default: current directory)

Options:
  --version              Show version and exit
  --port PORT            Port to run on (default: 3030)
  --host HOST            Host to bind to (default: 127.0.0.1)
  --remote               Enable remote sources
  --no-browser           Don't automatically open browser

Configuration

The _config.toml file is optional. If you create it in your markdown directory, you can organize files into groups and get a dropdown menu to focus on specific file groups.

Example _config.toml:

[work]
todo-aigon
agenda
project-notes

[personal]
shopping-list
brain-context-dump

Note: File names are listed without the .md extension.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.1011 Sept 20269

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Metadata history

Meaningful changes
Current collected state Current

Observed since 21 Oct, 10:49 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:166e44dfd635213688af3a28ef74cddeb39fea2c5437c070fbdeb2c458537912