This is how I built a Twitter bot that posts random cat posts from Reddit.

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • kmongo

    [deprecated] KMongo - a Kotlin toolkit for Mongo

  • KMongo - for chit-chatting with MongoDB.

  • Twitter4J

    Twitter4J is an open-source Java library for the Twitter API.

  • When the endpoint of the bot gets triggered by the cron-job, the postNewTweet() function in PostNewTweet.kt will trigger the Twitter endpoint through the Twitter4J library, which will post the data that is fetched from fetchRandomPost().

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • ktor-plugins

    Various Ktor extensions and plugins.

  • Ktor Plugins:ktor-api-key - It is a simple authentication provider for Ktor that verifies the presence of the API key from the header.

  • catktorbot

    Discontinued An automated bot that posts cat pictures from selected subreddits every third hour. Besides that, you can fetch the previously posted data through the API.

  • View on GitHub

  • MongoDB

    The MongoDB Database

  • MongoDB - for storing previous posts that are posted by the bot, which can be retrieved by the API.

  • sidekiq

    Sidekiq worker on Render (by render-examples)

  • Render - for deploying the project using Docker.

  • ktor

    Framework for quickly creating connected applications in Kotlin with minimal effort

  • Ktor - for building the bot, API, and posting respective data to the database.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts