···42424343`build/lasa` is a CLI.
4444Run `lasa -h` to get the help.
4545+4646+You must have **scdoc** installed to build the man pages.
+5
justfile
···5566build-lasa:
77 {{builder}} -o build/lasa ./cmd/lasa/
88+ just build-doc lasa
89910build-lasad:
1011 {{builder}} -o build/lasad ./cmd/lasad/
1212+ just build-doc lasad
11131214test:
1315 if [[ ! -f {{testConfig}} ]]; then go run ./cmd/lasad/ gen-config -c {{testConfig}}; fi
1416 go run ./cmd/lasad/ -c {{testConfig}}
1717+1818+build-doc file:
1919+ scdoc < {{file}}.1.scd > build/{{file}}.1
+35
lasa.1.scd
···11+LASA(1)
22+33+# NAME
44+55+lasa - display Standard.site publications
66+77+# SYNOPSIS
88+99+*lasa* [*-h*] publication _identifier_ [_rkey_]
1010+1111+*lasa* [*-h*] rss _identifier_ _rkey_
1212+1313+# DESCRIPTION
1414+1515+*lasa publication* displays information for a Standard.site publication.
1616+1717+*lasa rss* renders the RSS feed for the given RSS feed.
1818+1919+# OPTIONS
2020+2121+_identifier_ is the identifier of an ATProto account.
2222+It can an *Handle* or a *DID*.
2323+2424+_rkey_ is the record key of the publication.
2525+2626+*-h* prints the help.
2727+2828+# SEE ALSO
2929+3030+_lasad_(1)
3131+3232+# AUTHORS
3333+3434+Maintained by William Hergès <@anhgelus.world>.
3535+Up-to-date sources can be found at https://tangled.org/anhgelus.world/lasa/.
+48
lasad.1.scd
···11+LASAD(1)
22+33+# NAME
44+55+lasad - lasa daemon running the webserver
66+77+# SYNOPSIS
88+99+*lasad* [*-h*]
1010+1111+*lasad* [*-c* _path/to/config_]
1212+1313+*lasad* run [*-c* _path/tp/config_]
1414+1515+*lasad* gen-config [*-c* _path/tp/config_]
1616+1717+# DESCRIPTION
1818+1919+*lasad* is the lasa daemon running the webserver.
2020+It generates a RSS or an Atom feed for an ATProto publication.
2121+2222+*lasad* or *lased run* without any commands starts the daemon.
2323+2424+*lasad gen-config* generates a new config and *overwrites* the current config file.
2525+2626+# OPTIONS
2727+2828+*-c* specifies the path to the config. Default: */etc/lasad.toml*.
2929+3030+*-h* prints the help.
3131+3232+# CONFIGURATION
3333+3434+The configuration file is a TOML file.
3535+3636+*Root section* specifies the _domain_ and the _port_ to listen to.
3737+3838+*cache section* contains information to connect to a _Valkey_ database.
3939+*cache.auth subsection* is used to provide login information.
4040+4141+# SEE ALSO
4242+4343+_lasa_(1)
4444+4545+# AUTHORS
4646+4747+Maintained by William Hergès <@anhgelus.world>.
4848+Up-to-date sources can be found at https://tangled.org/anhgelus.world/lasa/.