Skip to content

NestSI-21/cuckoo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cuckoo

cuckoobanner

Cuckoo - Store and organize slack posts | Product Hunt


What is Cuckoo ?

Cuckoo is an open source product directed to companies and work teams that use Slack to communicate. It focuses on storing your important Slack Posts in one place so that you don’t miss a thing.


Keep your team in sync!

How it works? 🤔

- With Cuckoo you can create events or announcements that will be published on the platform's "Cuckoos feed" where you can find all the posts previously published by other members of your organisation.

- These posts will also be sent to a channel on your slack workspace, depending on their category. A reminder will also be sent 1 day before the event starts.

- Events will go into a collective calendar. This way you can quickly have access to what will be happening in the following days, so you don’t miss a thing.

Learn more


Getting Started

1. Clone this repository

$ git clone https://github.com/NestSI-21/cuckoo.git

2. Create the App on your organization's Slack workspace

- Go to api.slack and create a new App from scratch

- Call it Cuckoo and choose your workspace

Screenshot 2021-08-24 at 17 34 38

3. Setup the App

- Go to Settings/Basic Information/App Credentials and look for the following information to add to the respective files:

In client/.env:

REACT_APP_SLACK_CLIENT_ID = 

- Now, complete the file with the requested information:

REACT_APP_SLACK_REDIRECT_URL = https://yourFrontend.com/api/v1/auth/slack
REACT_APP_API_BASE_URL = http://localhost:8000 (to run it locally)

- Add the name of your organization

REACT_APP_ORGANIZATION_NAME = 

In server/.env:

SLACK_CLIENT_ID = 
SLACK_CLIENT_SECRET =
  
FRONTEND_HOST = https://yourFrontend.com
  
SLACK_OAUTH_TOKEN =
SLACK_API_TOKEN =
  
CUCKOOS_URL = cuckoos.io

SLACK_CLIENT_ID and SLACK_CLIENT_SECRET can be found on Basic Information/App Credentials.

To get these tokens (SLACK_OAUTH_TOKEN and SLACK_API_TOKEN) you need to install the App on your workspace.

For that, go to Settings/OAuth & Permissions and follow the next steps:

url

  • Insert the Bot and User Token Scopes specified below:

url

  • Install the App on your Workspace by pressing the button

install

Now you can paste the generated tokens to the file server/.env:

SLACK_OAUTH_TOKEN = User OAuth Token
SLACK_API_TOKEN = Bot User OAuth Token

4. Run the project

- Open cuckoo directory on terminal
  • Setup $ docker-compose build

  • Run App $ docker-compose up

  • Update Gemfile with new gems and install those gems $ docker-compose build


Upcoming Features

  • Reminders for events/announcements (google calendar connection).
  • Using the bot to create posts inside Slack and then posting them on the platform.
  • Develop delete button and visual removal of a post.
  • ...

License

Cuckoo is licensed under MIT. Refer to LICENSE.txt for more information.

About

Store and organize Slack posts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published