Giter VIP home page Giter VIP logo

balaam's People

Contributors

pengwynn avatar penland365 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

novolabs

balaam's Issues

Passing Flint and providing Developer Infrastructure

We need this project to pass Flint inspection, which it decidedly does not.

Building off @pengwynn 's first commit, I'm going to start by moving the script folder back to the top level. I need to create a handful of scripts to manage starting up the important components.

My preference for this is to rely on Docker to manage each module independently.

Slack integration

What about Slack integration? At a super high level, I'd love to see something like

screen shot 2017-02-09 at 11 26 09 am

That keeps track of how man active mentions you have in your rooms so you can see if you've been pinged.

What else?

Route Design

What is the best way to design data routes for this? At the moment, we're leaning into balaam acting as a cache and collator tool for various data sources ( github / weather / slack / etc ). Our current routes are

POST /users
GET /redirect/slack

GET /:username/slack/auth
GET /status-lines/slack

The first two require no authentication, while the next 2 do require authentication ( right now, basic auth via header ).

What I'm leaning towards is placing all routes retuning data under a /data/slack, /data/weather namespace. Then, we examine the Accept header to determine the format of the response. Default would be json, but a text/plain would return a simply string that could be placed directly into a status line. For example, a call to /data/slack with Accept: application/json would result in

{
  "mentions": 3,
  "unread" : 72
}

while a call to /data/slack with Accept: text/plain would result in

Mentions: 5 Unread 72

The downside to this is that the idea of creating a resource via POST / data/slack doesn't really make a lot of sense. How do we design a resource that can be created / deleted that results in /data/slack?

GIthub Status Bar

What all do we want for a Github Status Bar? Here is the worlds ugliest little mockup to physically show what I mean

screen shot 2017-02-08 at 3 04 12 pm

Thoughts @pengwynn ?

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.