Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
filez
command
Command filez is the Filez CLI: direct upload plus host configuration.
|
Command filez is the Filez CLI: direct upload plus host configuration. |
|
filezui
command
Command filezui is the interactive console UI for Filez.
|
Command filezui is the interactive console UI for Filez. |
|
server
command
Command server runs the Filez HTTP server: web UI, uploads, direct links, previews and admin access-key management.
|
Command server runs the Filez HTTP server: web UI, uploads, direct links, previews and admin access-key management. |
|
internal
|
|
|
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. |
|
client/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. |
|
client/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. |
|
client/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: |
|
server/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. |
|
server/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). |
|
server/db
Package db is the SQLite metadata store for Filez.
|
Package db is the SQLite metadata store for Filez. |
|
server/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. |
|
server/handlers
Package handlers wires the Filez HTTP routes onto a Fiber app.
|
Package handlers wires the Filez HTTP routes onto a Fiber app. |
|
server/idgen
Package idgen produces short, URL-safe, unguessable file identifiers.
|
Package idgen produces short, URL-safe, unguessable file identifiers. |
|
server/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. |
|
server/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). |
|
server/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. |
|
timefmt
Package timefmt parses the compact duration format used by Filez, e.g.
|
Package timefmt parses the compact duration format used by Filez, e.g. |
Click to show internal directories.
Click to hide internal directories.