Git Product home page Git Product logo

seabus's Introduction

#Seab.us

Here's the code for the app which drives seab.us.

#Listener The listener program receives and processses marine telemetry data relayed from a raspberry pi with an RTL-SDR tuner running aisdecoder to decode AIS beacons.

#Web The flask app provides near realtime access to the seabus telemetry data via websocket push updates.

#Hacking The vagrantfile will get you most of the way to a working dev environment, may be a bit wonky though.

To set up:

  • Activate virtualenv.
vagrant@vagrant-ubuntu-trusty-64:~/seabus$ source seabus/.venv/bin/activate
  • Initialize empty database.
(.venv) vagrant@vagrant-ubuntu-trusty-64:~/seabus$ ./manage.py db upgrade

To run the web app:

(.venv) vagrant@vagrant-ubuntu-trusty-64:~/seabus$ ./manage.py rundev

To run the listener:

(.venv) vagrant@vagrant-ubuntu-trusty-64:~/seabus$ ./manage.py listendev

To send a few recorded seabus AIS update beacons to the running listener:

(.venv) vagrant@vagrant-ubuntu-trusty-64:~/seabus/seabus/nmea_listen$ ./sendbeacons.sh seabus_beacons.txt 

#API Interested in accessing Seabus data? There's no API yet but if you've got a cool idea for using the data I'd love to hear about it.

seabus's People

Contributors

rsalmond avatar

Watchers

James Cloos avatar Brandon 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.