npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

slack-ai-app-retoolify

v1.0.1

Published

A modular Slack AI assistant with optional user identification and database support

Readme

Slack AI Assistant by Retoolify 🤖

🚧 Work in Progress

This project is actively under development. New features and improvements are being added regularly.

✨ Key Features

  • 🔌 Pluggable LLM Backend: Use any LLM service (OpenAI, Anthropic, or your own) by configuring the endpoint
  • 🔐 Optional User Authentication: Built-in Prisma-based user management system
  • 💾 Efficient Caching: Optimized response times with built-in caching
  • 🎯 Modular Design: Enable/disable features based on your needs
  • 🔄 Real-time Updates: Socket mode for instant message handling
  • 📝 Conversation Context: Maintains chat history for better responses

🌟 Why Choose This Package?

The standout feature of this package is its ability to connect to any LLM backend service. This flexibility means you can:

  • 🏢 Use your company's private LLM deployment
  • 🔄 Switch between different LLM providers
  • 🛠️ Implement custom preprocessing/postprocessing
  • 💰 Control costs by managing requests
  • 🔒 Maintain data privacy by keeping sensitive information in-house

📸 Screenshot

Here's a glimpse of the Slack AI Assistant in action:

Slack AI Assistant Screenshot

🚀 Getting Started

Prerequisites

  1. Create a Slack App in your workspace with assistant .

For More reference : https://tools.slack.dev/bolt-js/getting-started

  1. Enable Socket Mode in your Slack App settings

Installation

npm install slack-ai-app-retoolify

Configuration

  1. Create a .env file in your project root:
# Required: Slack Configuration
SLACK_BOT_TOKEN=xoxb-your-bot-token        # Found in OAuth & Permissions
SLACK_SIGNING_SECRET=your-signing-secret    # Found in Basic Information
SLACK_APP_TOKEN=xapp-your-app-token        # Generated when enabling Socket Mode

# Optional: LLM Configuration
LLM_API_URL=your-llm-endpoint              # Your LLM service endpoint
  1. Initialize and start the app:
require('dotenv').config();
const SlackAIApp = require('slack-ai-app-retoolify');

const app = new SlackAIApp({
  SLACK_BOT_TOKEN: process.env.SLACK_BOT_TOKEN,
  SLACK_SIGNING_SECRET: process.env.SLACK_SIGNING_SECRET,
  SLACK_APP_TOKEN: process.env.SLACK_APP_TOKEN,
  LLM_API_URL: process.env.LLM_API_URL,     // Optional
  enableUserIdentification: false           // Optional: Enable user auth
});

app.start();

📚 Advanced: User Authentication

If you want to enable user authentication:

  1. Install Prisma:
npm install @prisma/client
npx prisma init
  1. Add this schema to prisma/schema.prisma:
model Users {
  id        Int      @id @default(autoincrement())
  name      String
  email     String   @unique
  createdAt DateTime @default(now())
  updatedAt DateTime @updatedAt
  isDeleted Boolean  @default(false)
  isActive  Boolean  @default(true)
  slackUser String?  @unique
}
  1. Set up your database:
npx prisma migrate dev
  1. Update your configuration:
DATABASE_URL="your-database-url"
ENABLE_USER_IDENTIFICATION=true

🤝 Contributing

Contributions are welcome! Feel free to:

  • 🐛 Report bugs
  • 💡 Suggest features
  • 🔧 Submit pull requests

📞 Contact

If you like this app and want to build similar features for your custom use case, feel free to connect with me:

Connect on LinkedIn