internal/

directory
v0.0.0-...-3509aed Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2026 License: MIT

Directories

Path Synopsis
client
api
Package api is the Filez CLI's HTTP client to a Filez server.
Package api is the Filez CLI's HTTP client to a Filez server.
config
Package config manages the Filez CLI's on-disk configuration: known hosts (with their access keys), whether to ask for a host each time, and the default upload mode.
Package config manages the Filez CLI's on-disk configuration: known hosts (with their access keys), whether to ask for a host each time, and the default upload mode.
desktop
Package desktop provides small OS-integration helpers used by the hook watcher: copying text to the clipboard and showing a desktop notification.
Package desktop provides small OS-integration helpers used by the hook watcher: copying text to the clipboard and showing a desktop notification.
ui
Package ui holds shared styling and small render helpers used by both the filez CLI and the filezui console UI (lipgloss based).
Package ui holds shared styling and small render helpers used by both the filez CLI and the filezui console UI (lipgloss based).
server
auth
Package auth implements the two Filez access layers as Fiber middleware:
Package auth implements the two Filez access layers as Fiber middleware:
bucket
Package bucket holds ephemeral "sync buckets": temporary, in-memory, shared file drops identified by a short 4-digit code.
Package bucket holds ephemeral "sync buckets": temporary, in-memory, shared file drops identified by a short 4-digit code.
config
Package config loads Filez server configuration from the environment (optionally seeded from a .env file).
Package config loads Filez server configuration from the environment (optionally seeded from a .env file).
db
Package db is the SQLite metadata store for Filez.
Package db is the SQLite metadata store for Filez.
files
Package files is the service layer tying metadata (db) and bytes (storage) together: creating files with a lifecycle policy, resolving/serving them with lazy expiry, consuming limited downloads, and cleaning up expired files.
Package files is the service layer tying metadata (db) and bytes (storage) together: creating files with a lifecycle policy, resolving/serving them with lazy expiry, consuming limited downloads, and cleaning up expired files.
handlers
Package handlers wires the Filez HTTP routes onto a Fiber app.
Package handlers wires the Filez HTTP routes onto a Fiber app.
idgen
Package idgen produces short, URL-safe, unguessable file identifiers.
Package idgen produces short, URL-safe, unguessable file identifiers.
live
Package live holds ephemeral "live session" state: an in-memory map from a session id to the most recently pushed image.
Package live holds ephemeral "live session" state: an in-memory map from a session id to the most recently pushed image.
storage
Package storage keeps file bytes on disk and accelerates hot reads with an in-memory cache (ristretto).
Package storage keeps file bytes on disk and accelerates hot reads with an in-memory cache (ristretto).
web
Package web holds the embedded frontend: static HTML/CSS/JS, the locally hosted Inter font (GDPR — no external CDN), and the server-rendered preview template.
Package web holds the embedded frontend: static HTML/CSS/JS, the locally hosted Inter font (GDPR — no external CDN), and the server-rendered preview template.
Package timefmt parses the compact duration format used by Filez, e.g.
Package timefmt parses the compact duration format used by Filez, e.g.

Jump to

Keyboard shortcuts

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