All Projects → hackclub → scrappy

hackclub / scrappy

Licence: MIT license
🗑️ the bot that eats trash (and manages #scrapbook)

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to scrappy

orpheus-bot
https://youtu.be/R8FVKVnYfY8
Stars: ✭ 17 (-51.43%)
Mutual labels:  slack-bot, hackclub
Go Sarah
Simple yet customizable bot framework written in Go.
Stars: ✭ 188 (+437.14%)
Mutual labels:  slack-bot
Botonomous
A PHP Framework For Creating Autonomous Slack Bots
Stars: ✭ 109 (+211.43%)
Mutual labels:  slack-bot
Simple Slack Bot
You can easily make Slack Bot!! ⭐️
Stars: ✭ 157 (+348.57%)
Mutual labels:  slack-bot
Quantified Self
Self-knowledge through numbers
Stars: ✭ 118 (+237.14%)
Mutual labels:  slack-bot
Fantasy football chat bot
GroupMe Discord and Slack Chatbot for ESPN Fantasy Football
Stars: ✭ 166 (+374.29%)
Mutual labels:  slack-bot
Response
Monzo's real-time incident response and reporting tool ⚡️
Stars: ✭ 1,252 (+3477.14%)
Mutual labels:  slack-bot
Awesome Bots
The most awesome list about bots ⭐️🤖
Stars: ✭ 2,864 (+8082.86%)
Mutual labels:  slack-bot
Tock
Tock - the open source conversational AI toolkit
Stars: ✭ 175 (+400%)
Mutual labels:  slack-bot
Slick
Slick, a Slack bot in Go
Stars: ✭ 150 (+328.57%)
Mutual labels:  slack-bot
Lita Slack
A Slack adapter for Lita.
Stars: ✭ 138 (+294.29%)
Mutual labels:  slack-bot
Slack Block Builder
Lightweight, no-dependency JavaScript library for creating Slack Block Kit UIs, with a builder syntax, inspired by SwiftUI.
Stars: ✭ 129 (+268.57%)
Mutual labels:  slack-bot
Secret Santa
🎅 The code behind Secret Santa, the holiday bot for Slack / Discord / Zoom
Stars: ✭ 170 (+385.71%)
Mutual labels:  slack-bot
Slack Sql
🎉 Bring SQL console to Slack
Stars: ✭ 115 (+228.57%)
Mutual labels:  slack-bot
Sactive Bot
😈 An extensible chat bot framework. sactive-bot is an evolution of the open source hubot project. - https://www.shipengqi.top/sactive-bot .
Stars: ✭ 212 (+505.71%)
Mutual labels:  slack-bot
Slack Machine
A sexy, simple, yet powerful and extendable Slack bot
Stars: ✭ 91 (+160%)
Mutual labels:  slack-bot
Norrisbot
a Slack bot that kicks asses (roundhouse-kicks to be accurate...)
Stars: ✭ 134 (+282.86%)
Mutual labels:  slack-bot
Php Slack Bot
Slack bot user written in PHP
Stars: ✭ 161 (+360%)
Mutual labels:  slack-bot
metaflowbot
Slack bot for monitoring your Metaflow flows!
Stars: ✭ 22 (-37.14%)
Mutual labels:  slack-bot
Urban Bot
🤖 The universal chatbot library based on React. Write once, launch Telegram, Facebook, Slack, ... every messenger with chatbots
Stars: ✭ 223 (+537.14%)
Mutual labels:  slack-bot

Scrappy

build

Scrappy is the Slack bot that powers scrapbook.hackclub.com. Scrappy generates your Scrapbook and Scrapbook posts via Slack messages. For more information about how to sign up for Scrapbook, check out the about page.

Click here to view the Scrapbook repository, which hosts the Scrapbook web code.

Commands

Scrappy provides some helpful commands in Slack. These commands are also documented in our Slack if you send the message /scrappy in any channel.

  • /scrappy-togglestreaks: toggles your streak count on/off in your status
  • /scrappy-togglestreaks all: opts out of streaks completely
  • /scrappy-open: opens your scrapbook (or another user's if you specify a username)
  • /scrappy-setcss: adds a custom CSS file to your scrapbook profile. Check out this cool example!
  • /scrappy-setdomain: links a custom domain to your scrapbook profile, e.g. https://zachlatta.com
  • /scrappy-setusername: change your profile username
  • /scrappy-setaudio: links an audio file to your Scrapbook. See an example here!
  • /scrappy-setwebhook: create a Scrappy Webhook we will make a blank fetch request to this URL every time you post
  • /scrappy-webring: adds or removes someone to your webring
  • Remove a post: delete the Slack message and Scrappy will automatically update for you
  • Edit a post: edit the Slack message and it will automatically update for you
  • Post a message to the #scrapbook channel or add an existing Slack message to Scrapbook by reacting to it with the :scrappy: emoji (Note: If it isn't working, make sure Scrappy is added to the channel by mentioning @scrappy)

Contributing

Contributions are encouraged and welcome! There are two GitHub repositories that contain code for Scrapbook: the Scrapbook website and Scrappy (the Slack bot). Each repository has a section on contributing guidelines and how to run each project locally.

Development chatter happens in the #scrapbook-dev channel in the Hack Club Slack. Development Scrappy posts happen in the #scrappy-dev channel.

Running locally

In order to run Scrappy locally, you'll need to join the Hack Club Slack. From there, ask @sampoder to be added to the scrappy (dev) app on Slack.

  1. Clone this repository
    • git clone https://github.com/hackclub/scrappy.git && cd scrappy
  2. Install ngrok (if you haven't already)
    • Recommended installation is via Homebrew
    • brew install ngrok
  3. Install dependencies
    • yarn
  4. Create .env file at root of project
    • touch .env
    • Send a message mentioning @creds in Hack Club's Slack asking for the .env file contents
  5. Link your .env with your Prisma schema
    • npx prisma generate
  6. Start server
    • yarn dev
  7. Forward your local server to ngrok
    • ngrok http 3000
    • Your ngrok URL will be printed out after running this command, which you will need for the next step
  8. Update the Slack settings
    • Click the toggle to enable events
    • Update the URL request URL to be <your-ngrok-url>/api/slack/message. An example would look like https://ea61-73-68-194-110.ngrok.io/api/slack/message
    • Save changes and reinstall the Slack app
    • This will regenerate Scrappy's oauth tokens, so make sure to update these in the .env file
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].