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

phantomlegends381

@phantomlegends381

Joined June 1st, 2026

  • 2Devlogs
  • 2Projects
  • 1Ships
  • 2Votes
Ship Pending review

I made a slack bot which has 4-5 different commands it can track and gives a leaderboard of people with most commits in temrs of 1st, 2nd, 3rd. Also has a command which gives extra coordinates of place in terms of latitude and longtiude. The main is space once which has a from sample list of planets in readme it can give you a random pic and random fact of the planet. The things I found challenging were to host 24/7 on nest which i did by giving nest permissions to don't terminate my background process when i close powershell. Also putting bootprint space package into my api was also challenging. I am proud of my coordinate map command and github commit history leaderboard command and the fact that my app is 24/7

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

55m 21s logged

Used API keys from OpenStreetMap and implemented a city, Country based system.

Important functions used for /beatifymaps.

parseMapsCommand(text)
Reads what the user typed after /beatifymaps. It decides if the user wants help, place search, or distance mode.

geocodePlace(query)
Searches OpenStreetMap for a place like Tokyo, Japan or Los Angeles.

getNominatimHeaders()
Adds the required User-Agent header for OpenStreetMap Nominatim.

getDistanceMiles(fromPlace, toPlace)
Calculates distance between two places using their latitude and longitude.

buildPlaceResponse(query, place)
Creates the nice Slack Block Kit card for one searched place.

buildDistanceResponse(fromPlace, toPlace, distanceMiles)
Creates the nice Slack Block Kit card for distance between two places.

buildFlagImageUrl(countryCode)
Creates a flag image URL for the country.

getOpenStreetMapUrl(place)
Creates the “View Map” button link.

Used API keys from OpenStreetMap and implemented a city, Country based system.

Important functions used for /beatifymaps.

parseMapsCommand(text)
Reads what the user typed after /beatifymaps. It decides if the user wants help, place search, or distance mode.

geocodePlace(query)
Searches OpenStreetMap for a place like Tokyo, Japan or Los Angeles.

getNominatimHeaders()
Adds the required User-Agent header for OpenStreetMap Nominatim.

getDistanceMiles(fromPlace, toPlace)
Calculates distance between two places using their latitude and longitude.

buildPlaceResponse(query, place)
Creates the nice Slack Block Kit card for one searched place.

buildDistanceResponse(fromPlace, toPlace, distanceMiles)
Creates the nice Slack Block Kit card for distance between two places.

buildFlagImageUrl(countryCode)
Creates a flag image URL for the country.

getOpenStreetMapUrl(place)
Creates the “View Map” button link.

Replying to @phantomlegends381

0
1
Open comments for this post

35m 36s logged

👍Still debugging and polishing the github token credit. Right now jsut plain text with github profile name with number of commits . Still need to add more features

👍Still debugging and polishing the github token credit. Right now jsut plain text with github profile name with number of commits . Still need to add more features

Replying to @phantomlegends381

0
1

Followers

Loading…