Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dmcp89/bsky-jokeaday
A simple app that sends a joke to bluesky every day
https://github.com/dmcp89/bsky-jokeaday
Last synced: about 10 hours ago
JSON representation
A simple app that sends a joke to bluesky every day
- Host: GitHub
- URL: https://github.com/dmcp89/bsky-jokeaday
- Owner: DMcP89
- License: mit
- Created: 2025-01-21T04:41:09.000Z (15 days ago)
- Default Branch: main
- Last Pushed: 2025-01-27T21:18:17.000Z (9 days ago)
- Last Synced: 2025-01-30T05:33:27.777Z (6 days ago)
- Language: JavaScript
- Homepage:
- Size: 19.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Dad Joke A Day Bot
This is a bot that posts a joke from [icanhazdadjoke](https://icanhazdadjoke.com/) every day at 9am to [@dadjokeaday.bsky.social](https://bsky.app/profile/dadjokeaday.bsky.social) on Bluesky. It is base on the [Bluesky bot template](https://github.com/bluesky-social/cookbook/tree/main/ts-bot).
## Set Up
1. Install Typescript: `npm i -g typescript`
2. Install Node.js: `npm i -g ts-node`
3. Make a copy of the example `.env` file by running: `cp example.env .env`. Set your username and password in `.env`. Use an App Password.
4. Compile your project by running: `npx tsc` or activate watch mode to have your code automatically compile: `npx tsc -w`## Running the script
1. You can run the script locally: `node index.js`. You should see a smiley emoji posted to your Bluesky account.
2. Modify the script however you like to make this bot your own!