Lasa is a stateless proxy that generates a RSS or an Atom feed from a Standard.site publication. lasa.anhgelus.world
rss atom atprotocol standard-site atproto
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

ci(just): script to test daemon

+17 -4
+1
.gitignore
··· 28 28 29 29 testdata 30 30 build 31 + test.toml
+11 -3
README.md
··· 1 1 # Lasa 2 2 3 - Lasa is stateless proxy that generates a RSS or an Atom feed from a [Standard.site](https://standard.site) publication. 3 + Lasa is a stateless proxy that generates a RSS or an Atom feed from a [Standard.site](https://standard.site) 4 + publication. 4 5 5 6 ## Usage 6 7 8 + To list publications from an account: 9 + ``` 10 + https://lasa.example.org/{DID or Handle} 11 + ``` 12 + 7 13 To get the RSS feed from a publication: 8 14 ``` 9 15 https://lasa.example.org/{DID or Handle}/{Record Key}/rss ··· 14 20 https://lasa.example.org/{DID or Handle}/{Record Key}/atom 15 21 ``` 16 22 17 - To list publications from an account: 23 + Examples: 18 24 ``` 19 - https://lasa.example.org/{DID or Handle} 25 + https://lasa.example.org/did:plc:revjuqmkvrw6fnkxppqtszpv 26 + https://lasa.example.org/did:plc:revjuqmkvrw6fnkxppqtszpv/3lwafzkjqm25s/rss 27 + https://lasa.example.org/did:plc:revjuqmkvrw6fnkxppqtszpv/3lwafzkjqm25s/atom 20 28 ``` 21 29 22 30 ## Deploy
+4
justfile
··· 1 1 builder := 'go build -ldflags "-s -w"' 2 + testConfig := '"test.toml"' 2 3 3 4 build: build-lasa build-lasad 4 5 ··· 8 9 build-lasad: 9 10 {{builder}} -o build/lasad ./cmd/lasad/ 10 11 12 + test: 13 + if [[ ! -f {{testConfig}} ]]; then go run ./cmd/lasad/ gen-config -c {{testConfig}}; fi 14 + go run ./cmd/lasad/ -c {{testConfig}}
+1 -1
rss.xml
··· 5 5 <link>{{ .Link }}</link> 6 6 <description>{{ .Description }}</description> 7 7 <docs>https://www.rssboard.org/rss-specification</docs> 8 - <generator>Lasa</generator> 8 + <generator>Lasa v0.1.0</generator> 9 9 {{ if isSet .LastBuildDate -}} 10 10 <lastBuildDate>{{ .LastBuildDate }}</lastBuildDate> 11 11 {{- end }}