Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
S

slackin

> 编程语言
Open source

Public Slack organizations made easy

6.5K stars0 likes2 views
WebsiteGitHub

About

Public Slack organizations made easy

Features

  • A landing page you can point users to fill in their emails and receive an invite (https://slack.yourdomain.com)
  • An <iframe> badge to embed on any website that shows connected users in realtime with socket.io.
  • A SVG badge that works well from static mediums (like GitHub README pages)
  • Abuse prevention via Google reCAPTCHA

Usage

Badges

Realtime (demo)

xml
<script async defer src="https://slack.yourdomain.com/slackin.js"></script>

SVG (demo)

xml

API

Loading slackin will return a Function that creates a HTTP.Server instance:

javascript
const slackin = require('slackin')

slackin.default({
  token: 'yourtoken',                             // required
  interval: 1000,
  org: 'your-slack-subdomain',                    // required
  path: '/some/path/you/host/slackin/under/',     // defaults to '/'
  channels: 'channel,channel,...',                // for single channel mode
  silent: false                                   // suppresses warnings
}).listen(3000)

This will show response times from Slack and how many online users you have on the console. The returned http.Server has an app property that is the express application that you can define or override routes on.

All the metadata for your organization can be fetched via a JSON HTTP request to /data.

Caught a Bug?

  1. Fork this repository to your own GitHub account and then clone it to your local device
  2. Uninstall slackin if it's already installed: npm uninstall -g slack
  3. Link it to the global module directory: npm link
  4. Transpile the source code and watch for changes: npm start

Yey! Now can use the slack command everywhere.

Issues· 168 open

View all issuesOpen on GitHub
  • #430

    SyntaxError in Slackin on CentOS Stream: Unexpected Reserved Word During Execution

    Updated Sep 2, 2024
  • #429

    Noice

    Updated Jun 7, 2024
  • #417

    [Critical] Slackin will break in February 2021

    Updated Mar 23, 2023
  • #423

    Ffffv

    Updated Jul 22, 2022
  • #144

    Error permission denied, open '/root/.babel.json'

    Updated Jun 28, 2022
  • #396

    Heroku Deploy gives Template does Not Exist Error, but the Template worked fine on my Local Server

    Updated Mar 31, 2022
  • #224

    Azure: Error 500 when trying to get https://slackinXXX.azurewebsites.net/favicon.ico

    Updated Aug 7, 2021
  • #416

    is it possible to use slackin now ? (legacy tokens are not supported by Slack anymore)

    Updated Nov 2, 2020
  • #373

    General Data Protection Regulations question

    Updated Jan 1, 2020
  • #409

    Deployed to heroku ok but application crashes on launch

    Updated Oct 31, 2019

> Tags

JavaScript

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 24, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言