Skip to content

Constantine helps you find your posts in the Hellthread.

License

Notifications You must be signed in to change notification settings

jcsalterego/Constantine

Repository files navigation

Constantine

Constantine helps you find your posts in the Hellthread.

Requirements

  • Python 3
  • Bluesky Social account

Usage

Constantine can run locally or from GitHub Actions.

Running Locally

Set environment variables BLUESKY_USER and BLUESKY_APP_PASSWORD.

Alternatively, create a .env file and set variables there:

BLUESKY_USER=<your user/email>
BLUESKY_APP_PASSWORD=<your password>

Example:

export BLUESKY_USER=jcsalterego.bsky.social
export BLUESKY_APP_PASSWORD=abcd-efgh-ijkl-mnop
./get_hellthreads.py jcsalterego.bsky.social
cursor = 1687536512998::bafyreid6a6vn7romdf5tosqgx55qu4cjktq75dho53wyfh64rmdmacvhfe
cursor = 1687453339465::bafyreidzvrmzhqypkgqij5wqpcpcu3tvhg4nalaryesocpy5njbfnfevsq
<snip>
cursor = 1682543089140::bafyreieulju52qkz67oqlanpdgt3jw7ahpdbkmo6sn62ngszi3rn6pn4ne
cursor = 1672610718852::bafyreiff6tetdt34qlbg75sn62ptaiaoiyyjbyyrrbnmumkkkphfcxpnge
2835 posts total
10 hellthread posts total
https://bsky.app/profile/did:plc:vc7f4oafdgxsihk4cry2xpze/post/3jxr33lcv552e
https://bsky.app/profile/did:plc:vc7f4oafdgxsihk4cry2xpze/post/3jxr2bsxbob2n
https://bsky.app/profile/did:plc:vc7f4oafdgxsihk4cry2xpze/post/3jxoseuz45i2e
https://bsky.app/profile/did:plc:vc7f4oafdgxsihk4cry2xpze/post/3jxos3vem752w
https://bsky.app/profile/did:plc:vc7f4oafdgxsihk4cry2xpze/post/3jxorzy2f6n2w
https://bsky.app/profile/did:plc:vc7f4oafdgxsihk4cry2xpze/post/3jxk5sj7ppe23
https://bsky.app/profile/did:plc:vc7f4oafdgxsihk4cry2xpze/post/3jxgjimt4ye2n
https://bsky.app/profile/did:plc:vc7f4oafdgxsihk4cry2xpze/post/3jwxxzhdrc22u
https://bsky.app/profile/did:plc:vc7f4oafdgxsihk4cry2xpze/post/3jwxwrb2g7c2b
https://bsky.app/profile/did:plc:vc7f4oafdgxsihk4cry2xpze/post/3jvrw74c26r2b

Running from GitHub Actions

  1. Fork this repository
  2. In your fork's Settings > Secrets and variables > Actions, set the following:
  • Variable: BLUESKY_HANDLE
  • Secret: BLUESKY_APP_PASSWORD
  1. Go to Actions > Get Hellthreads, select Run Workflow, put in your Bluesky handle

LICENSE

2-Clause BSD

About

Constantine helps you find your posts in the Hellthread.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages