Giter Club home page Giter Club logo

sssc's Introduction

SSSC

Simple and Stupid Slack Client

Features

SSSC is closely modeled after (ii) which means that communication is facilitated by an out file and an in FIFO on the filesystem.

No features other than sending and receiving messages while connected are supported. Retrieval of unread messages may be implemented at a later date, in a separate branch.

Incoming data not handled by SSSC will be printed to stdout as formatted JSON.

Installation

$ yarn install

A Slack api token has to be provided as an environment variable called TOKEN. There's a Dockerfile included in the repository for convenience.

Usage

Upon successful connection to Slack a directory with every channel, group and im will be created in the project root like so:

session/
'-- your_team_name/
    |-- general/
    |   |-- in
    |   '-- out
    |-- random/
    |   |-- in
    |   '-- out
    |-- alice/
    |   |-- in
    |   '-- out
    '-- bob/
        |-- in
        '-- out

To send a message to alice:

$ echo "Hi" > ./session/your_team_name/alice/in

To keep track of the conversation:

$ tail -f ./session/you_team_name/alice/out

Incoming messages are formatted as follows:

{timestamp} <{username}> {text}

It's up to the user to further process this output as needed using his preferred method of text manipulation.

sssc's People

Contributors

lamer-x11 avatar

Stargazers

Valentin Rodygin avatar

Forkers

carterqw2

sssc's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.