Menu

Tree [914cb5] master /
 History

HTTPS access


File Date Author Commit
 aws 2018-06-19 Torsten Dreyer Torsten Dreyer [13db9b] Refactor, declutter
 routes 2019-05-23 Torsten Dreyer Torsten Dreyer [ad1327] Don't crash on malformed mpserver TXT records
 static 2019-05-24 Torsten Dreyer Torsten Dreyer [914cb5] use sprite for ac icons, node12 in docker conta...
 views 2019-05-24 Torsten Dreyer Torsten Dreyer [914cb5] use sprite for ac icons, node12 in docker conta...
 .dockerignore 2018-04-01 Torsten Dreyer Torsten Dreyer [723b0c] dockerize
 .gitignore 2017-12-03 Torsten Dreyer Torsten Dreyer [6e2d5e] boweraway and server selectable
 .gitlab-ci.yml 2018-04-01 Torsten Dreyer Torsten Dreyer [8f932b] Add gitlab ci
 Dockerfile 2019-05-24 Torsten Dreyer Torsten Dreyer [914cb5] use sprite for ac icons, node12 in docker conta...
 LICENSE 2017-09-12 Torsten Dreyer Torsten Dreyer [dbde11] Add gpl2+ license
 README.md 2018-06-08 Torsten Dreyer Torsten Dreyer [26b45e] Update readme
 app.js 2018-09-30 Torsten Dreyer Torsten Dreyer [36f736] first draft of using a websocket
 docker-compose.yaml 2018-09-30 Torsten Dreyer Torsten Dreyer [36f736] first draft of using a websocket
 package-lock.json 2019-05-24 Torsten Dreyer Torsten Dreyer [914cb5] use sprite for ac icons, node12 in docker conta...
 package.json 2019-05-23 Torsten Dreyer Torsten Dreyer [2e2f3b] update packages
 server.js 2018-09-30 Torsten Dreyer Torsten Dreyer [36f736] first draft of using a websocket

Read Me

This is FlightGear μ (mju) aka mpmap.js

A Multiplayer Map for FlightGear based on node.js

Requirements

  • nodejs >= 6.0
  • permission to perform DNS lookup
  • permission to do outbound connects (telnet to mpserverXX on port 5001)

Installation

get software

git clone https://git.code.sf.net/p/flightgear/mpmap.js flightgear-mpmap.js

enter into the directory

cd flightgear-mpmap.js

install dependencies

npm install

run

npm start

This will start the server on localhost, port 8080 and you should see the multiplayer map at http://localhost:8080/

don't like 8080? Use another port like this

app_port=4711 npm start

Running within docker

If you have docker and docker-compose installed, simply type

docker-compose up --build

and you are ready. Note: this exposes the app at port http://localhost:8086/
There are also ready to use docker images at https://hub.docker.com/r/flightgear/mpmap.js/.
Run

docker run -p 8080:8080 flightgear/mpmap.js

to have your own private multiplayer map at localhost:8080

Live Demo?

This software runs at http://mpmap03.flightgear.org/

Need help?

Contact the author(s) at the flightgear-devel mailing list

Contributing

Contributions are welcome through the gitlab project
or the github project
or the sourceforge project.
If you want to support the running instance or any other FlightGear project requiring payed infrastructure, please consider donating.
Any amount helps.

mpmap.js is licensed under the GPL 2.0 or later. See LICENSE

Thanks to
* the fantastic authors of Leaflet.js and it's plugins
* the authors of jQuery.
* pigeon for the original fgmap software that inspired this version
* the incredible FlightGear community, especially the creators and maintainers of fgms