···11# Rinds
22A collection of feeds under one roof.
33-44-I don't like Docker and I don't need to compile this, okay thanks!
33+including Fresh Feeds
5465## Running
77-aint that hard, go install go, setup postgres, and generate the required feed definitions under your user account. you can use https://pdsls.dev to generate a `app.bsky.feed.generator` record.
88-Set the `rkey` to the desired short url value. itll look like:
66+Install go, setup postgres, and then generate the required feed definitions under your user account. You can use https://pdsls.dev to generate a `app.bsky.feed.generator` record.
77+Set the `rkey` to the desired short url value. Itll look like:
98```
109https://bsky.app/profile/{you}/feed/{rkey}
1110```
1211for the contents you can use the example below
1312```
1413{
1515- "did": "did:web:${INSERT DID:WEB HERE}",
1414+ "did": "did:web:${your service endpoint}",
1615 "$type": "app.bsky.feed.generator",
1716 "createdAt": "2025-01-21T11:33:02.396Z",
1817 "description": "wowww very descriptive",
···2019}
2120```
22212222+If you are specifically trying to run any of the preexisting feeds, make sure to use the rkey as defined in the /pkg/feeds/*/feed.go and main.go files
2323+2324## Env
2425You can check out `.env.example` for an example
2525-2626+The port is for your feedgen serve, not your postgres port
26272728## Postgres
2829Be sure to set up `.env` correctly
···31323233## Index
3334You should start Postgres first
3434-Then go run the firehose ingester in
3535+Then go run the firehose indexder inside
3536```
3637cd ./indexer
3738```
3838-and go compile it
3939+And then go compile it
3940```
4041go build -o indexer ./indexer.go && export $(grep -v '^#' ./../.env | xargs) && ./indexer
4142```
4242-after it has been compiled, you can use `rerun.sh` to ensure it will automatically recover after failure
4343+Once compiled, you can use `rerun.sh` to ensure it will automatically recover after failure
43444445## Serve
4546Make sure the indexer (or at least Postgres) is running first:
4647```
4748go build -o feedgen cmd/main.go && export $(grep -v '^#' ./.env | xargs) && ./feedgen
4849```
4949-the logs are pretty verbose imo, fyi
5050+Logs are pretty verbose, just FYI.
50515152## Todo
5253- [ ] Faster Indexing
···6768 - [ ] Fresh: Text Only
68696970## Architecture
7070-Based on [go-bsky-feed-generator](https://github.com/ericvolp12/go-bsky-feed-generator). Read the README in the linked repo for more info about how it all works.
7171+Based on [go-bsky-feed-generator](https://github.com/ericvolp12/go-bsky-feed-generator). Read the README in the linked repo for more info about how it all works. This repository differs from the template by not using the docker system at all.
71727272-### /feeds/static
7373+### /pkg/feeds/static
7374Basic example feed from the template. Kept as a sanity check if all else seems to fail.
74757575-### /feeds/fresh
7676-Fresh feeds, all based around a shared Following feed builder and logic to set posts as viewed. May contain some remnant old references to the old name "rinds".
7676+### /pkg/feeds/fresh
7777+Fresh feeds, all built around a shared Following feed builder and logic to set posts as viewed. May contain some remnant old references to the old name "rinds".
7778