Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lostfictions/catbot
make cats
https://github.com/lostfictions/catbot
bot botally mastodon mastodon-bot procgen twitter-bot
Last synced: about 2 months ago
JSON representation
make cats
- Host: GitHub
- URL: https://github.com/lostfictions/catbot
- Owner: lostfictions
- License: agpl-3.0
- Created: 2017-12-28T03:00:41.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-10-29T09:29:55.000Z (2 months ago)
- Last Synced: 2024-10-29T11:42:54.614Z (2 months ago)
- Topics: bot, botally, mastodon, mastodon-bot, procgen, twitter-bot
- Language: TypeScript
- Homepage: https://twitter.com/cool_cats
- Size: 2.74 MB
- Stars: 9
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## catbot
a ~~twitter and~~ mastodon bot for node. ~~tweets and~~ toots very good friends.
> twitter support was removed in 2023 following twitter api changes which
> resulted in the shutdown of most bots.![some cats](https://i.imgur.com/bWQ7Y75.png)
![more cats](https://i.imgur.com/4NXrvB5.png)
you can run it on your computer or remix it into something new! you'll need node
and [yarn](https://yarnpkg.com) (and git) installed. then run:```
git clone https://github.com/lostfictions/catbot
cd catbot
yarn install
yarn dev
```this bot runs on github actions. check [the workflow
file](.github/workflows/twoot.yml) for details.the bot needs a few environment variables to be set if you want it to do stuff:
- `MASTODON_TOKEN`: a Mastodon user API token
- ~~`TWITTER_API_KEY`, `TWITTER_API_SECRET`, `TWITTER_ACCESS_KEY`, and
`TWITTER_ACCESS_SECRET`: you need all of these to make a tweet.~~ no longer
used.
- `DATA_DIR`: the directory in which to search for cat parts and store data on
which words have been used recently. (default: 'data', already provided
locally)additionally, `MASTODON_SERVER` (hardcoded in [src/env.ts](src/env.ts)) controls
the mastodon instance to which API calls should be made (usually where the bot
user lives.)###### [more bots?](https://github.com/lostfictions?tab=repositories&q=botally)