Coder Social home page Coder Social logo

matrix_interface's Introduction

Matrix Interface

We need to make intelligent decisions when hiding and fighting against machines. Since not everyone is a chosen one I'm making available an interface to map our operators' locations.

Requirements

  • Ruby 2.5.3
  • Rails ~> 5.2.3
  • PostgreSQL
  • Redis

Installation

You can deploy this interface in your own terminal by cloning this repository code and running some installation commands:

$ bundle install && bundle exec rake db:reset

Running

To let the interface run through your terminal do this:

$ foreman start

It will boot both the web and the worker processes needed. If you need to tweak some command options change your Procfile

Usage

The interface consists in two endpoints:

[GET ] /routes to get whatever we already collected.

passphrase | fasten your seat belt Dorothy | XXXXXXXXXXXXXXXXXXXXXXX
source     | alphanumeric code             | sentinels, sniffers, loopholes
[POST] /routes to import the parsed data into our system.

passphrase | fasten your seat belt Dorothy | XXXXXXXXXXXXXXXXXXXXXXX
source     | alphanumeric code             | sentinels, sniffers, loopholes
start_node | alphanumeric code             | alpha, beta, gamma, delta, theta, lambda, tau, psi, omega
end_node   | alphanumeric code             | alpha, beta, gamma, delta, theta, lambda, tau, psi, omega
start_time | ISO 8601 UTC time             | YYYY-MM-DDThh:mm:ss
end_time   | ISO 8601 UTC time             | YYYY-MM-DDThh:mm:ss

To use them you should first generate a passphrase or use mine, which gets injected on the installation instructions (Kans4s-i$-g01ng-by3-bye). You can also create a new passphrase and start sending your own location data on the Rails console:

> Pass.create(phrase: 'My-53cr37')

Testing

If you need to extend or make this interface better you should always check if nothing gets broken in the process, use the following command to do that:

$ bundle exec rspec

Contributing

Feel free to contribute, most of us aren't even free from the Matrix yet. When it comes to freedom, the more the better.


Follow the white rabbit

matrix_interface's People

Contributors

ervalhous avatar

Watchers

 avatar  avatar

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.