selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

GitHub
ulogger-server logo

Self-host ulogger-server

v1.2

Web app to view and manage GPS tracks from a mobile logger

ReleaseOpen SourceGPL-3.0
docker run --name ulogger -p 8080:80 -d bfabiszewski/ulogger
Updatedlast year
LanguagePHP
Setup difficultyModerate
Stars
613
Port
80 (nginx web server inside the Docker image (README example maps it as 8080:80))
Docker
bfabiszewski/ulogger

What is ulogger-server?

μlogger server is an open-source web application for collecting geolocation data in real time and for viewing and managing the resulting tracks. It pairs with the dedicated μlogger Android client to form a complete self-hosted solution for logging and monitoring locations. Features include live tracking, track statistics, an altitude graph, multiple users with authentication, a simple admin menu, preferences kept in cookies, map display via Google Maps or OpenLayers (OpenStreetMap and other layers), exporting tracks to GPX and KML, and importing tracks from GPX. It runs as a classic PHP application: the stated minimum is PHP 5.5 with the ctype, json, pdo, session, simplexml and xmlwriter extensions, backed by a database of your choice (MySQL, PostgreSQL or SQLite) accessed through PDO, plus a JavaScript-capable browser with cookies enabled. Self-hosting is documented through a manual install (copy files to a web server, fill in database credentials in config.php, run the bundled setup script) or via the Docker image bfabiszewski/ulogger, though the author notes the container was built for development and testing and is not production ready. A public demo runs at ulogger.lima.zone.

Should you self-host ulogger-server?

ulogger-server scores 50/100 on selfhost.directory (how scoring works) and ranks #6 of 6 in Location Tracking. It has 613 GitHub stars.

There was no stable release in the past 12 months, so check the repository's recent activity before you rely on it.

Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is GPL-3.0-licensed and written mostly in PHP.

Its closest alternative on selfhost.directory is Dawarich (73/100, 10 768 stars). It scores higher overall, so compare the two before you pick. See ulogger-server vs Dawarich side by side.

Features

  • Admin Menu
  • Altitude graph
  • GPX and KML export
  • GPX Import
  • Multi-user support
  • OpenStreetMap via OpenLayers
  • Real-time location tracking
  • Track statistics
  • User Authentication
  • User preferences via cookies

ulogger-server README

How to install ulogger-server

Install ulogger-server with Docker

Environment variables
ULOGGER_ADMIN_USER, ULOGGER_DB_DRIVER, ULOGGER_ENABLE_SETUP, ULOGGER_LANG

Run docker run --name ulogger -p 8080:80 -d bfabiszewski/ulogger and access http://localhost:8080 in your browser. Log in with admin:admin credentials and change default password

The Docker image was created to facilitate development and testing and is not production ready.

How to configure ulogger-server

  • $dbdsnconfig.php: PDO data source name for the database

    config.php: PDO data source name for the database

  • $dbpassconfig.php: database user password

    config.php: database user password

  • $dbprefixconfig.php: optional table names prefix

    config.php: optional table names prefix

  • $dbuserconfig.php: database user name

    config.php: database user name

  • ULOGGER_ADMIN_USERadminDocker ENV: default admin user name

    Docker ENV: default admin user name

  • ULOGGER_DB_DRIVERmysqlDocker ENV: database driver to use

    Docker ENV: database driver to use

    values: mysql, pgsql, sqlite

  • ULOGGER_ENABLE_SETUP0Docker ENV: enable the setup script

    Docker ENV: enable the setup script

  • ULOGGER_LANGDocker ENV: application language

    Docker ENV: application language

ulogger-server releases & version history

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…