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

Astronasamp Multi API Slack Bot

  • 2 Devlogs
  • 2 Total hours

I developed a slackbot named Astronasamp using Node.js and Slack Bolt. This bot connects several APIs such as weather, cryptocurrency, conversion, dictionary, jokes, and quotes. Slack Socket mode was enabled and slash commands were set up. Additionally, every command was tested and organized according to the command. The bot is working and making API calls in real-time from inside Slack.

Ship #1 Changes requested

What did you make?

I made a multi-API Slack bot called Astronasamp which delivers useful utilities right into Slack. It has a number of functionality such as checking the weather, converting money with current exchange rates, viewing cryptocurrency prices, looking up dictionary definition, conducting polls, and many others. I also used AI in figuring out how to find and navigate through various instructions and code structures. I use Claude and Github Copilot and it aided me significantly in debugging and figuring out where to find things etc.

What was challenging?

Probably the most difficult thing to do was to figure out how Slack works since this is my first Slack application ever. Configuration, setting permissions for the app, registering slash commands, Socket Mode were quite time consuming for me. I had to make sure that all the APIs will be handled in the proper way and work well.

What are you most proud of?

I am proud of creating an entire Slack app which has a lot of functionality and integrates with actual APIs. Moreover, I implemented automated smoke testing and stress testing, provided detailed documentation, and arranged everything for further adding commands to the project.

What information do people need in order to evaluate your project?

The most convenient way for users to view your project is via the demo video, where the bot is shown working within Slack. You may find all source code and documentation within the GitHub repo. The bot supports commands such as `/astronasamp help`, `/astronasamp weather `, `/astronasamp convert `, `/astronasamp crypto `, `/astronasamp define `, and `/astronasamp poll`.

THE THING THAT MAKES IT 24-7 USABLE

This link is the live deployment of Astronasamp, a Slack bot that runs 24/7 on Railway. It acts as the backend server that powers all bot commands inside Slack. When a user sends a command like weather, crypto, or currency conversion, this server receives the request, processes it using external APIs, and sends the response back to Slack in real time. The link itself is not a website interface, but a live service that keeps the bot running continuously even when my laptop is closed.

Link: https://astronasamp-production.up.railway.app/

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

1h 38m 54s logged

Today I finished the final improvements to Astronasamp. I cleaned up the README to make the setup instructions easier to follow, added screenshots showing the bot in use, and improved the testing scripts. I also updated the stress test and smoke test so they provide clearer output and make it easier to verify that every command is working correctly. After that, I committed the final changes to GitHub, checked that everything was pushed correctly, and reviewed the project one last time to make sure the documentation, code, and repository were ready for submission. At this point, the project is complete and ready to submit.

0

Loading discussion…

0
8

Followers

Loading…