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

Lexicon Slack Bot

  • 3 Devlogs
  • 1 Total hours

A Slack bot for looking up English definitions, synonyms, and word origins.

Ship #1

## WHAT I MADE/THINK?

I built an English **Lexicon Explorer** Slack bot. Instead of making generic toy commands (like random jokes or dog memes), I wanted to create a high-performance, developer-focused utility. It’s hosted 24/7 on **Hack Club Nest** and aggregates deep linguistic data from multiple databases simultaneously.

### Features

* **Prompt**

* **`/bot-word `**
> Quick dictionary definitions, phonetic pronunciations, and real-world usage examples.

* **`/bot-thesaurus `**
> Deep synonyms, antonyms, consonant (derived) words, and cognitive associations.

* **`/bot-etymology `**
> Traces historical origins (like Latin and Greek roots) from Wiktionary.

* **`/bot-help`**
> Clean command directory.

* **Beautiful Block Kit UI**
> Formatted with structured columns, dividers, and clean styling instead of plain text.

---

## WHAT I LEARNT?

* How to set up and manage a `systemd` background service on **Hack Club Nest**.
* Resolving asynchronous concurrency in Node.js using `Promise.all` to fetch from multiple APIs concurrently.
* Formatting structured layout cards using **Slack Block Kit**.
* Designing clear, modular Slash Commands without cluttering the workspace.

## TRY IT!

*Invite the bot to your workspace and run:*

* `/bot-word ephemeral`
* `/bot-thesaurus persistent`
* `/bot-etymology sympathy`

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

16m 53s logged

Devlog #3: Going Modular with 3 Distinct Commands

🛠️ What I Did

  • Split into 3 Dedicated Slash Commands:
    • /bot-word: Focuses strictly on dictionary definitions, phonetic pronunciations, and usage examples.
    • /bot-thesaurus: Focuses entirely on finding synonyms, antonyms, consonant words, and cognitive associations.
    • /bot-etymology: Digs deep into the history of the word, extracting origin stories and morphological roots.
  • 100% Pure English codebase: Cleaned out all Chinese comments, console outputs, and Slack UI block elements. The entire codebase is now completely English, making it look much more professional and standard.
  • Cleaned Up Slack UI: Removed old legacy commands (like /bot-ask and /bot-dog) from the Slack Developer Console, keeping our workspace pristine and completely collision-free!
0
0
2
Open comments for this post

15m 40s logged

Devlog #2: Pivoting to a Hardcore Lexicon Explorer

🛠️ What I Did

  • Killed the Fluff: Stripped out /bot-ask, /bot-dog, and /bot-joke to keep the bot super focused.
  • Multi-API Aggregation: Configured the bot to query the Free Dictionary API (Wiktionary) and the Datamuse API simultaneously using asynchronous Promise.all in Node.js.
  • Built 3 Custom Modes:
    • all: Standard definitions, phonetic symbols, and real-world usage examples.
    • thesaurus: Deep dive into synonyms, antonyms, and derived/consonant words.
    • etymology: Traces the historical roots and origin stories of words (like Latin and Greek prefixes/suffixes).
  • Polished UI with Slack Block Kit: Instead of sending plain text, the bot now formats queries into beautiful, structured layouts with columns and dividers.
0
0
4
Open comments for this post

25m 48s logged

Devlog #1: Building my-slack-bot

🛠️ What I Did

  • Fitted with Real APIs: Moved away from generic templates and set up fully custom Slack Slash commands.
  • Switched to Free AI: Bypassed a 402 Payment Required error by upgrading the bot to use the free Tencent Hy3 model on Hack Club’s AI proxy.
  • Fully Deployed 24/7: Configured the bot as a systemd service on my Nest container. It now stays live even when my laptop is closed!
0
0
3

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…