Skip to content

abeona-tech/cowsay-homepage

Repository files navigation

Cowsayco Twitter Bot

Welcome to the Cowsayco Twitter Bot repository. This project combines the classic command-line program cowsay with the power of social media, delivering a daily dose of oxytocin through curated quotes presented in unique ASCII art messages.

About

This Twitter bot tweets a random cowsay message daily. It was created by m3auso using a variety of technologies including node.js, cowsay, lolcatjs, ansi-to-html, puppeteer, and twitter-api-v2. The bot is hosted on render.com and its source code is available on GitHub.

Technologies

Here's a brief overview of the main technologies used in this project:

  • Twitter bot: Handles the tweeting functionality.
  • ansi-to-html: Converts ANSI escape codes into HTML elements.
  • cowsay: Generates ASCII pictures of a cow with a message in a speech bubble.
  • dotenv: Loads environment variables from a .env file into process.env.
  • lolcatjs: Applies rainbow colors to text in the terminal.
  • node-html-to-image: Generates images from HTML code.
  • node-pty: Creates and interacts with pseudoterminals.
  • twitter-api-v2: A comprehensive Twitter v2 API client for Node.js.
  • TypeScript: A statically typed superset of JavaScript.
  • word-wrap: Wraps input text into a column of specified width.
  • @types/node and @types/lolcatjs: Provide TypeScript definitions for Node.js and lolcatjs.
  • GitHub Actions: A CI/CD system fully integrated with GitHub.
  • Cron Job: A time-based job scheduler in Unix-like operating systems.
  • Puppeteer: A Node.js library which provides a high-level API to control Chrome or Chromium.
  • render.com: A platform for building, hosting, and maintaining web projects.

Webpage

The webpage for this project is built using Astro with the Cactus Theme, and styled with Tailwind CSS. Content is written in Markdown and MDX. Other tools used include Satori for generating Open Graph images, Pagefind for static search functionality, Astro Icon for SVG icons, and Expressive Code for visually appealing source code display.

Contribute

To learn more or to contribute to this project, visit our bot's repository or this homepage's repo.