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

FridgeChefAI Slack Bot

  • 3 Devlogs
  • 2 Total hours

FridgeChef AI is an interactive, Node.js-based Slack Bot that helps users figure out what to cook with whatever ingredients they have left in their fridge. Powered by the high-performance Groq API (Llama 3.3) and built using the Slack Bolt SDK in Socket Mode, this application serves as an excellent submission for college projects or showcase portfolios.

Ship #1 Changes requested

What did you make?

I built FridgeChef AI. It is a friendly Slack bot that acts like your personal kitchen helper. Imagine you just got home from a long day, you are starving, and your fridge only has some eggs, cheese, and a random onion. Instead of spending money on takeout, you tell the bot what you have, and it suggests a real recipe you can cook. It also analyzes the health score of your meals and makes interactive shopping checklists you can tick off right inside Slack.

What was challenging?

Getting the bot to run smoothly without cluttering Slack was a big puzzle. At first, we had too many different commands, so we had to consolidate everything into three main portals. We also ran into errors when trying to send messages in private direct messages, but we fixed that by writing code that routes the messages to the user ID. Setting up the bot to host twenty-four hours a day on the Nest servers using systemd was also new to us, but we figured it out and got it running.

What are you proud of?

We are really proud of how interactive the bot is. Instead of just sending back plain text, it opens pop-up windows and lists checkable options. We are also proud that it runs all day on the Nest server, so it is always online even when our laptops are closed.

What should people know so they can test your project?

You can test the bot by opening Slack and typing the slash command /fridgecook. If you run the command by itself, a window will pop up where you can check off common items and choose dietary options. You can also use /fridgehealth to score your meals or /fridgeshop to check your pantry list.

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

30m logged

Devlog: FridgeChef AI — Version 1.5.0 (24/7 Cloud Deployment Update) 🚀☁️

Date: July 18, 2026
Developer: Kingnawaz786
Tech Stack: Node.js, Git, Nest (Hack Club Cloud), systemd


📝 Overview

Version 1.5.0 marks the transition of FridgeChef AI from a local development environment into a fully production-ready, cloud-hosted instance. We deployed the bot directly to Nest and configured it as a managed background daemon using systemd.

The bot is now fully online 24/7 and no longer relies on local terminals staying open!


🚀 Key Deployment Accomplishments

1. Production Hosting on Nest

  • Web SSH Access: Connected to Nest’s Debian Linux servers via Git Bash to configure and install dependencies.
  • Environment Provisioning: Installed the latest Node.js LTS (v24.x), Git, and essential dependencies on the remote server.
  • Environment Variables Setup: Created a secure remote .env containing Slack Socket Mode credentials (SLACK_BOT_TOKEN, SLACK_APP_TOKEN) and the GROQ_API_KEY.

2. Built for Reliability (systemd Service)

  • Created a custom service configuration file at /etc/systemd/system/slackbot.service.
  • Configured the service to automatically boot on server start, survive sudden crashes, and retry connections every 5 seconds.
  • Configured WorkingDirectory and ExecStart targeting the verified app.js entry point.

FridgeChef AI is now fully operational 24 hours a day, 7 days a week, serving recipes and nutrition advice directly to Slack users.

0

Loading discussion…

0
3
Open comments for this post

22m 36s logged

Devlog: FridgeChef AI — Version 1.5.0 (Interactive & Socket Mode Update) ⚡🤖

Date: July 7, 2026  
Developer: Aleena Wariya  
Tech Stack: Node.js, Express, Slack Bolt SDK, Groq Cloud API (Llama 3.3)

📝 OverviewVersion 1.5.0 marks a massive architectural and interactive overhaul for FridgeChef AI.

We transitioned the entire app from a simple text-response model into a consolidated, highly interactive hub system using Slack’s Socket Mode, Block Kit, Modals, and Actions. This devlog covers the details of this release, the challenges resolved, and how we streamlined the user experience.

🚀 Key Features Implemented in v1.5.0### 1. Shift to Slack Socket Mode (No Tunnels Needed!)

  • WebSocket Integration: Refactored app.js to initialize Bolt using socketMode: true and an App-Level Token (xapp-).

  • Developer Experience: The bot now connects directly to Slack using web sockets. This completely eliminates the need for public webhook tunnels (like ngrok or tunnelmole) during local development.

  • Express Compatibility: Maintained a parallel Express server listening on PORT to return 200 OK on health routes, keeping the app compatible with cloud hosting deployment checks (like Render).

2. Consolidated 3-Command ArchitectureTo prevent cluttering the Slack app settings with dozens of commands, we consolidated all features into 3 Main Interactive Portals:

  • /fridgecook — The Recipe Hub: 

  • Integrates baking, smoothies, kid-friendly meals, air fryer recipes, and party sizes. 

  • Adds a Leftover Optimizer checkbox that prompts the Groq API to creatively combine odd ingredients. 

  • Dynamically queries your saved inventory if run with no arguments.

  • /fridgehealth — The Wellness Hub: 

  • Displays a personalized dashboard showing daily water progress, calorie logs, and active allergies. 

  • Adds quick-click buttons to log water (+250ml, +500ml), reset stats, and search healthy substitutes. 

  • Includes a Vitamin Fridge Audit analyzing your pantry list for mineral deficiencies.

  • /fridgeinventory — The Pantry & Shopping Hub: 

  • Renders a dashboard displaying your current stock, items in the freezer, and expiration warnings. 

  • Integrates Expiration Reports (categorizing items into Expired, Expiring, and Fresh) with quick-discard buttons. 

  • Integrates Fridge Audits which prompt users to verify if older ingredients have been eaten. 

  • Handles Food Share Alerts with a 🍴 I want this! claiming system.

3. In-Slack Help System (/fridgehelp)

  • Implemented a user guide directly inside Slack. Run /fridgehelp to get a clean, ephemeral Block Kit manual outlining all the features and tricks of the 3 portals.

🛡️ Challenges & Bug Fixes

1. DM & Private Channel channel_not_found Error

  • Problem: Triggering commands or clicking buttons in DMs or private channels where the bot wasn’t added caused channel_not_found errors when the bot tried to post messages.
  • Solution: Implemented a fail-safe routing wrapper that detects DM channel prefixes (D...) and automatically routes the messages to the User’s ID (U...). Slack automatically maps User ID targets to the appropriate private DM conversation.

2. Slack Message Scoping message_not_found Error

  • Problem: Updating messages in DMs using chat.update threw message_not_found because the bot attempted to update using the User ID target instead of the mapped DM channel ID.

  • Solution: Updated the message updater to target infoMessage.channel (the actual channel ID returned by Slack’s post response) instead of the input channelId.


🎨 Release Graphic

  • A v1.5.0 release banner has been created to celebrate this release, featuring a modern, dark-themed dashboard look matching the new interactive wellness and pantry screens.
0

Loading discussion…

0
2
Open comments for this post

1h 14m 52s logged

FridgeChef AI is an interactive, Node.js-based Slack Bot that helps users figure out what to cook with whatever ingredients they have left in their fridge. Powered by the high-performance Groq API (Llama 3.3) and built using the Slack Bolt SDK in Socket Mode, this application serves as an excellent submission for college projects or showcase portfolios.

0

Loading discussion…

0
9

Followers

Loading…