Skip to main content

NomadNet EPUB

Drop EPUBs in a folder; serve them as public NomadNet Micron pages.

NomadNet EPUB in MeshChat

Install

pip install nomadnet-epub
pip install nomadnet          # required for `serve`

From a git checkout:

python3 -m venv .venv && source .venv/bin/activate
pip install -e .
pip install nomadnet

Reticulum should already be configured (~/.reticulum). NomadNet runtime data lives under data_dir (default ./data/nomadnetwork).

Quick start

nomadnet-epub init          # writes nomadnet-epub.toml + epubs/
# edit nomadnet-epub.toml
cp book.epub epubs/
nomadnet-epub serve

serve converts EPUBs, syncs NomadNet config from your TOML, starts nomadnet --daemon, watches epubs/, and restarts NomadNet when books change.

One-shot convert (no daemon):

nomadnet-epub convert

Config

Everything lives in nomadnet-epub.toml (see nomadnet-epub.toml.example):

index_title = "Ben's Library"      # heading on index.mu
description = "Mesh EPUB reader"   # tagline under the heading
node_name = "bens-epub-library"    # NomadNet announce name
credits = true                     # Host your own footer on index.mu

epubs = "./epubs"
data_dir = "./data/nomadnetwork"
words = 350
images = "none"   # or "files"
Key Purpose
index_title Rendered as the > heading on index.mu
description Text under the heading on index.mu
node_name NomadNet network announce name (synced into data_dir/config on serve)
credits Show GitHub / pip install footer on index.mu (default true)
epubs Folder to watch for .epub files
data_dir NomadNet pages/files/state (not your main ~/.nomadnetwork)
words Approx. words per reader page
images none or files

CLI flags override the file when passed (--index-title, --node-name, …).

Notes

  • Book indexes use the EPUB table of contents; in-book links resolve to Micron pages.
  • EPUB downloads are on each book index, not the root catalog.
  • Browse from NomadNet / MeshChat / Sideband. No page auth is configured.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nomadnet_epub-0.4.0.tar.gz (18.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nomadnet_epub-0.4.0-py3-none-any.whl (20.5 kB view details)

Uploaded Python 3

File details

Details for the file nomadnet_epub-0.4.0.tar.gz.

File metadata

  • Download URL: nomadnet_epub-0.4.0.tar.gz
  • Upload date:
  • Size: 18.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for nomadnet_epub-0.4.0.tar.gz
Algorithm Hash digest
SHA256 c6a3ce4e0ee52726d8963303c108a6e81616aa4ea36d18ba6963f859a32979de
MD5 9c4a5e43f9c6820b011d93ba6f1982d1
BLAKE2b-256 cef451f95cc5ee6f196c0373606f98c5417462e5cd8e3fd88a69892a8a386a41

See more details on using hashes here.

File details

Details for the file nomadnet_epub-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: nomadnet_epub-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 20.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for nomadnet_epub-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 02bc5fc905f7b361ca2c2f4f2b995a416c7433b149d583f6a7e09c7d3341d1ef
MD5 0ea54a258c53a96f77047489568f1e79
BLAKE2b-256 9b67bc06343b98f3bb3fae66cbc996177d1ecf959ae374052025cb26fc92f5d1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page