You are browsing as a guest. Sign up (or log in) to start making projects!

Cosmo!

  • 2 Devlogs
  • 1 Total hours

Cosmo-bot brings cat facts, jokes, NASA's Astronomy Picture of the Day, and more right into your Slack workspace via slash commands. And it replies to messages 24/7!

Ship #1 Pending review

🚀 Cosmo Bot has been delivered!
I built Cosmo! A slack bot that wants to bring a little utility, space exploration and a little humour into your workspace.

Here's what I made: A fully functional Slack bot with a variety of unique slash commands like /csb-ping to check latency, /csb-catfact and /csb-joke for some quick laughs and /csb-apod to grab the Astronomy Picture of the Day from NASA.

The Challenge: Figuring out how to elegantly handle external JSON payloads, and how to format Slack's Block Kit to make rich media (like NASA's daily images, titles, and descriptions) look beautiful inside of a channel.

Things I’m proud of: Deploying the bot on Nest so it runs 24/7, which means it’s always live and ready to go even when my laptop is closed! 🌌✨

Try project → See source code →
Open comments for this post

16m 58s logged

🚀 Cosmo Bot Update: New Commands & Core Features Ready!
I’ve been working hard on expanding Cosmo! and making it much more interactive. The bot is officially up and running with a brand-new suite of slash commands designed to bring utility, space exploration, and a bit of humor straight into the Slack workspace.

Here is what I’ve built and tested:

/csb-ping – Checks the bot’s latency to make sure everything is responsive.

/csb-catfact – Fetches a random cat fact for a quick dose of trivia.

/csb-joke – Drops a funny joke right into the channel.

/csb-apod – Pulls NASA’s Astronomy Picture of the Day, along with its title and description, using Slack Block Kit to render the rich media cleanly.

Everything is currently responding smoothly and handling JSON payloads beautifully. Next up, keeping an eye on the deployment logs and making sure it runs 24/7 without a hitch! 🌌✨

🚀 Cosmo Bot Update: New Commands & Core Features Ready!
I’ve been working hard on expanding Cosmo! and making it much more interactive. The bot is officially up and running with a brand-new suite of slash commands designed to bring utility, space exploration, and a bit of humor straight into the Slack workspace.

Here is what I’ve built and tested:

/csb-ping – Checks the bot’s latency to make sure everything is responsive.

/csb-catfact – Fetches a random cat fact for a quick dose of trivia.

/csb-joke – Drops a funny joke right into the channel.

/csb-apod – Pulls NASA’s Astronomy Picture of the Day, along with its title and description, using Slack Block Kit to render the rich media cleanly.

Everything is currently responding smoothly and handling JSON payloads beautifully. Next up, keeping an eye on the deployment logs and making sure it runs 24/7 without a hitch! 🌌✨

Replying to @vedasm

1
34
Open comments for this post

29m 27s logged

Today I worked on adding a NASA Astronomy Picture of the Day (APOD) feature to my Slack bot.

Using the NASA APOD API, the bot fetches the daily astronomy image along with its title and description, allowing users to explore fascinating space content directly from Slack.

Along the way, I learned more about working with APIs, handling JSON responses, and using Slack Block Kit to display rich content such as images.

A small feature, but a great hands-on experience in integrating external APIs into real-world applications. 🌌✨

Today I worked on adding a NASA Astronomy Picture of the Day (APOD) feature to my Slack bot.

Using the NASA APOD API, the bot fetches the daily astronomy image along with its title and description, allowing users to explore fascinating space content directly from Slack.

Along the way, I learned more about working with APIs, handling JSON responses, and using Slack Block Kit to display rich content such as images.

A small feature, but a great hands-on experience in integrating external APIs into real-world applications. 🌌✨

Replying to @vedasm

1
16

Followers

Loading…