Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lostfictions/why-cant-i
, hold all these things
https://github.com/lostfictions/why-cant-i
bot botally mastodon meme-generator memes twitter-bot typescript
Last synced: about 18 hours ago
JSON representation
, hold all these things
- Host: GitHub
- URL: https://github.com/lostfictions/why-cant-i
- Owner: lostfictions
- License: agpl-3.0
- Created: 2018-08-17T05:00:49.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-10-29T08:35:16.000Z (17 days ago)
- Last Synced: 2024-10-29T09:53:00.015Z (17 days ago)
- Topics: bot, botally, mastodon, meme-generator, memes, twitter-bot, typescript
- Language: JavaScript
- Homepage: https://mastodon.social/@limeguy
- Size: 4.58 MB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
why cant i, hold all these different kinds of item
**https://mastodon.social/@limeguy**
~~https://twitter.com/limesbot~~ (twitter bot broken with x dot com's api changes)
![why cant I, hold all these](https://i.imgur.com/gBDp6Qs.png)
runs using github actions' [scheduled events](https://docs.github.com/en/actions/reference/events-that-trigger-workflows#scheduled-events). thanks to simon willison for [the inspiration for this setup](https://simonwillison.net/2020/Oct/9/git-scraping/).
i unfortunately haven't documented this approach very well yet. for now, you can [check out the github workflow file](.github/workflows/twoot.yml). you can also look at the environment variables (required and optional) in [env.ts](src/env.ts).
> as part of this approach, you'll need an "orphan" git branch (one that doesn't share any history with the main branch) in the same repo. this is where state that's persisted across bot runs is stored (the branch is appropriately named "data"). if you've forked this repo with all its branches, this should already exist. if not -- well, it's a bit clunky to create. for now, the recommended approach is to make sure you're on a clone with the remote set correctly and that the file `persist/unused_concepts.json` exists locally (you may have to run `pnpm dev`). then run `npx gh-pages -d persist -b data`.
###### [more bots?](https://github.com/lostfictions?tab=repositories&q=botally)