GithubHelp home page GithubHelp logo

hansacker / eddn-realtime Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 1.0 1.85 MB

Live Events from the Elite Dangerous Data Network

Home Page: https://eddn-realtime.space/

Python 19.65% CSS 5.55% HTML 9.92% JavaScript 64.88%
elite-dangerous eddn zeromq websocket asyncio

eddn-realtime's Introduction

EDDN RealTime Feed

Live Events from the Elite Dangerous Data Network

Travel journals, discovery logs and market information transmitted by players into a central data feed to update star maps, prices, route plotters and more.

This is a live monitoring board for that data.

https://eddn-realtime.space/

How to edit locally

Javascript modules cannot load from file:// URLs, so you need a webserver for the html directory. One simple way is to use Python's HTTP server module:

git clone https://github.com/HansAcker/EDDN-RealTime
cd EDDN-RealTime/html
python3 -m http.server

Then point your browser to http://127.0.0.1:8000/. You can edit the files locally while the data websocket still connects to the server at eddn-realtime.space.

To run the websocket service, it is easy to set up a local environment to install the required packages:

cd EDDN-RealTime/eddnws
python3 -m venv venv  ## alternative: virtualenv venv
. venv/bin/activate
pip install -r requirements.txt 
python3 ./eddnws.py -v

Then just change the socketUrl option in the index.html to ws://127.0.0.1:8081.

Tested on Windows 10 (Ubuntu WSL)

eddn-realtime's People

Stargazers

 avatar Aleksei Lugovskoi avatar

Watchers

Hans Acker avatar

Forkers

boyquotes

eddn-realtime's Issues

Customizable dashboard

Make the dashboard customizable.

  • movable, resizable widget module thingies
  • main loop receives/validates/parses the websocket messages, then passes them on to all active modules
  • modules process messages and fill their element
  • selectable pre-defined modules
  • maybe plugins: modules defined in external JS
  • store settings in browser-local storage
  • maybe pre-defined layouts
  • maybe shared utility functions
  • Niemand hat die Absicht, ein Framework zu schreiben

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.