Our great sponsors
-
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.
-
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.
-
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.
KMongo - for chit-chatting with MongoDB.
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().
Ktor Plugins:ktor-api-key - It is a simple authentication provider for Ktor that verifies the presence of the API key from the header.
View on GitHub
MongoDB - for storing previous posts that are posted by the bot, which can be retrieved by the API.
Render - for deploying the project using Docker.
Ktor - for building the bot, API, and posting respective data to the database.