Documentation
¶
Overview ¶
Package harborrs is the root package for the harborrs RSS server.
See AGENTS.md for the project brief. Subpackages will appear here as the implementation lands; this file exists to make `go build ./...` succeed on a freshly cloned tree.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Version = "0.1.0" Commit = "unknown" // git short SHA, set via -ldflags at release time BuildDate = "unknown" // ISO-8601 UTC, set via -ldflags at release time )
Version is the current build version, sourced from the VERSION file at release time. Kept as a `var` (not const) so release builds can override it via `-ldflags -X github.com/kfet/harborrs.Version=...`.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
harborrs
command
Command harborrs is the single-binary entry point.
|
Command harborrs is the single-binary entry point. |
|
internal
|
|
|
atomic
Package atomic provides atomic file write helpers built on tmp-file + fsync + rename, the only primitive stdlib gives us for crash-safe writes.
|
Package atomic provides atomic file write helpers built on tmp-file + fsync + rename, the only primitive stdlib gives us for crash-safe writes. |
|
auth
Package auth provides the single-user credential, token store, and cookie session machinery shared by the Reader API and the htmx web UI.
|
Package auth provides the single-user credential, token store, and cookie session machinery shared by the Reader API and the htmx web UI. |
|
config
Package config holds the on-disk configuration for harborrs and the concrete OPMLProvider used by the UI and Reader API.
|
Package config holds the on-disk configuration for harborrs and the concrete OPMLProvider used by the UI and Reader API. |
|
feedpreview
Package feedpreview provides a small HTTP-client + gofeed wrapper that the UI uses to render the add-feed preview page.
|
Package feedpreview provides a small HTTP-client + gofeed wrapper that the UI uses to render the add-feed preview page. |
|
poll
Package poll fetches RSS/Atom feeds with conditional GETs and adaptive scheduling, persisting state via the store package.
|
Package poll fetches RSS/Atom feeds with conditional GETs and adaptive scheduling, persisting state via the store package. |
|
reader
Package reader implements the Google Reader API subset spoken by FreshRSS-compatible clients (Reeder Classic, NetNewsWire, etc).
|
Package reader implements the Google Reader API subset spoken by FreshRSS-compatible clients (Reeder Classic, NetNewsWire, etc). |
|
selfupdate
Package selfupdate implements `harborrs update`: download the latest release matching the current GOOS/GOARCH from GitHub Releases, verify its sha256 against checksums.txt, and atomically replace the running binary.
|
Package selfupdate implements `harborrs update`: download the latest release matching the current GOOS/GOARCH from GitHub Releases, verify its sha256 against checksums.txt, and atomically replace the running binary. |
|
store
Package store is the on-disk storage layer for harborrs.
|
Package store is the on-disk storage layer for harborrs. |
|
ui
Package ui implements the embedded htmx web UI.
|
Package ui implements the embedded htmx web UI. |
|
scripts
|
|
|
lintfrontend
command
Command lintfrontend does a fast static check of the bundled CSS / HTML templates / JavaScript so make all catches the kinds of regressions humans (or LLMs) keep introducing into these files — e.g.
|
Command lintfrontend does a fast static check of the bundled CSS / HTML templates / JavaScript so make all catches the kinds of regressions humans (or LLMs) keep introducing into these files — e.g. |
Click to show internal directories.
Click to hide internal directories.