Skip to content
Directus Telemetry — Centralized server for version info and counting Directus instances
Branch: master
Clone or download
Latest commit 73a9d74 Sep 10, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Use flattened object structure Sep 10, 2018
.env.example Add hashing function Sep 3, 2018
.gitignore Initial commit Sep 3, 2018
LICENSE Initial commit Sep 3, 2018 Update Sep 10, 2018
package-lock.json Add cors Sep 8, 2018
package.json Add cors Sep 8, 2018
schema.sql Add schema file Sep 3, 2018

Telemetry Server

Small centralized server that exposes two endpoints. One that allows clients to retrieve the latest releases from GitHub, the other that allows clients to send anonymous metrics used to calculate Directus install count.


Clone this repo and install the npm dependencies by running

$ npm install


Duplicate the .env.example to .env and add the values.

Run the application by running npm start



Directus app and API versions are being pulled from GH releases on server start and after 2 days of "stale" versions.

GET /versions


    "version": String,     // eg v7.0.0
    "date": String,        // ISO Date String eg 2018-08-22T22:08:54Z
    "info": String,        // Markdown of GH Release
    "repo": String         // api || app


POST /count

Request body

    "version": "v7.0.0-rc.2",
    "url": "",
    "type": "app"

(type is either app or api)

The URLs are stored in the database as a SHA256 hash.

You can’t perform that action at this time.