https://github.com/m3au/cowsay-tweeter
A Twitter bot that tweets a daily quote using the classic command-line program cowsay. Built with TypeScript and uses various scripts for cleaning, compiling, and tweeting.
https://github.com/m3au/cowsay-tweeter
cowsay devjokes humorous lolcatjs tweets twitter-api-v2
Last synced: 6 months ago
JSON representation
A Twitter bot that tweets a daily quote using the classic command-line program cowsay. Built with TypeScript and uses various scripts for cleaning, compiling, and tweeting.
- Host: GitHub
- URL: https://github.com/m3au/cowsay-tweeter
- Owner: m3au
- License: mit
- Created: 2024-05-05T00:09:01.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-09T17:35:56.000Z (6 months ago)
- Last Synced: 2025-04-09T18:43:43.805Z (6 months ago)
- Topics: cowsay, devjokes, humorous, lolcatjs, tweets, twitter-api-v2
- Language: TypeScript
- Homepage: https://twitter.com/cowsayco
- Size: 2.9 MB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Cowsay Twitter Bot
This project is a simple implementation of the classic command-line program `cowsay` that tweets a quote a day.
We've been curating quotes from the internet for a while.
 [](https://opensource.org/licenses/MIT)     
---
## Installation
```bash
npm install
```## Scripts
- **npm run clean:** Removes the dist directory.
- **npm run compile:** Compiles the TypeScript files.
- **npm run start:** Runs the clean, compile, say, lolcat, convert, and tweet scripts in order.
- **npm run convert:** Runs the convert.js script.
- **npm run say:** Runs the say.js script.
- **npm run lolcat:** Runs the lolcat.js script and outputs to lolcat.ansi.
- **npm run tweet:** Runs the tweet.js script.## Dependencies
- ansi-to-html: ^0.7.2
- cowsay: ^1.6.0
- dotenv: ^16.4.5
- lolcatjs: ^2.4.3
- node-html-to-image: ^4.0.0
- node-pty: ^1.0.0
- twitter-api-v2: ^1.16.3
- typescript: ^5.4.5
- word-wrap: ^1.2.5
- @types/node: ^20.12.2
- @types/lolcatjs: ^2.4.1## Website
Check our website [cowsay.co](https://cowsay.co).
## Author
[Bruno Palma](https://about.me/bruno_vop)
## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
If you want to add your own quotes, please open an issue with the quote and the author.## License
This project is licensed under the MIT License.