Skip to content
gytdooPublic

About

A self-hosted network map and equipment inventory: floor plans with every device, wall jack and cable, in one program.

Topics

Resources

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Geneseeer

A self-hosted network map and equipment inventory.

Download · Quick start · Try it with sample data · Documentation · Security · Changes

The map of a school's first floor: rooms, devices and cable runs, a camera's field of view in the cafeteria, the legend, and the camera's own panel at the left

Geneseeer is a self-hosted web app for mapping buildings and the IT equipment in them. It shows interactive floor plans with every device, wall jack and cable run, and keeps an inventory of equipment, the people it is assigned to, and how everything is wired. It also keeps files to download: drivers, installers and firmware for everyone who needs them, and each device's own files (its configuration) for those allowed them.

It is built with Django (Python) and Leaflet. The whole app lives in one folder, and all of its data lives in one folder inside that: a SQLite database with the pictures, backups and settings beside it. Nothing about the place it is used in is part of the program: the name, logo and colors an installation goes by are its own settings (Settings → Appearance), and so are its types of room and of device, so the same program serves a school district, a business or a home.

What it does

Feature Description
The map Floor plans with rooms, devices, wall jacks and cable runs. Racks show their units, a stack keeps devices at one spot (a display with its Apple TV), and cameras show their field of view. Moves and edits wait for Save, and Undo takes them back one at a time.
Wiring as it is traced A device, its wall jack, the patch panel port and the switch port, each filled in as it is found. Cable runs are drawn by hand or routed along the hallways to the wiring closet.
Inventory and models Every device on the map, in carts, in storage or with a person. A catalog of models with pictures, manuals and supplies. Lists export to Excel, CSV and PDF.
People Staff by building and room, with the equipment assigned to them. Contacts import and export as vCard or CSV.
Downloads Installers, drivers, firmware and forms, in folders with tags: general files, each building's, and each model's and device's. A file or a folder is shared by its link: public, with a password, or for those who log in.
Roles and permissions Admins, email logins, a guest, or permissions of a login's own, checked on the server for every request. Buildings can be hidden.
Email logins with approval With email logins on, everyone in People can log in with their email address. They set up their own account, and an admin approves it.
Backups as one file Taken on a schedule and kept in as many places as you like. Download one as a .zip, and restore it on any copy.
Signed self-updates The binary updates itself from this repository's releases when an admin asks, and installs only a release signed by its publisher.
HTTPS With a certificate of its own, or behind nginx or Caddy.
One program A single binary for 64-bit x86 Linux, or the source with Python 3.10 or newer. No database server, no Docker, no Node. Every page works on a phone.

Screenshots

A rack open in the panel, unit by unit, and its devices spread out from it on the map
A rack, unit by unit
Inventory: a school's devices as a list, with their models, rooms, people and addresses
Inventory
People: the buildings in the panel, and a school's staff with their rooms and equipment
People
Downloads: general files with their tags, sizes, checksums and notes
Downloads
Settings, Users: what email logins may do, page by page and file by file
What email logins may do
The map on a phone, with a classroom open in the sheet below it A new copy's setup page: create the admin account, or restore a backup under Moving from another server?
The map on a phone, and the page a new copy is set up on

All but the setup page show the sample data below. Each picture opens full size.

Quick start

  1. Download geneseeer from the latest release. It runs on 64-bit x86 Linux and needs nothing installed.

  2. Make it executable and start it:

    chmod +x geneseeer
    ./geneseeer
  3. Open the setup link it prints, and create the admin account. The map then shows how to begin: add a building, draw its rooms, place devices.

Important

Whoever opens the setup link first can make the installation's admin account, so keep the link to yourself until you have. It works only until there is an admin account; until then it is also in geneseeer.log in the data folder, and the login page says where to find it.

To run It needs
The binary 64-bit x86 Linux with glibc 2.27 or newer: Ubuntu 18.04 and later, Debian, Fedora, Red Hat Enterprise Linux 8 and later and its relatives, openSUSE, Arch (where it runs)
The source Python 3.10 or newer, and nothing else
The pages A current browser: Chrome or Edge 114, Firefox 125, Safari 17 (iOS 17), or newer

On a server, give Geneseeer a folder of its own, start it on boot as a system service and put HTTPS in front: see Running it on a server. To run it from the source instead, see From the source.

Try it with sample data

Demopolis Public Schools is a made-up school district to try Geneseeer with: 35 buildings with their floors, rooms, devices, wiring and files, and 1,883 people. Every name in it is invented.

  1. Download geneseeer and geneseeer-demopolis.zip from the latest release, into a new folder.

  2. In that folder, restore the sample and start the server:

    chmod +x geneseeer
    mkdir geneseeer-data
    echo '{"listen": "local"}' > geneseeer-data/hosting.json
    ./geneseeer restore geneseeer-demopolis.zip
    ./geneseeer

    The echo line keeps the copy to this computer, because the sample's password is public.

  3. Open the address it prints, and log in as it with the password demopolis.

Or leave out the restore line: start the server, open the setup link it prints, and drop geneseeer-demopolis.zip on the page, under Moving from another server?

Warning

Use a new folder: a restore replaces the data of the copy it is run in.

From the source, run the same commands in the source folder, with data in place of geneseeer-data.

Documentation

The manual is in docs/, one chapter to a subject. Each chapter ends with links to the chapters beside it.

Chapter What it covers
Installing and first run Download and start Geneseeer, set up the first admin, the commands, where it runs, the binary, and the app and data folders.
Running it on a server A folder of its own, the system service, the firewall, HTTPS three ways, host names, and moving to another server.
Using the app The bar and the search, the panel, Edit mode, links between pages, keys, and phones.
The map Buildings and floors, Layers, editing on the map with Save and Undo, cables and wiring, racks and stacks.
Inventory and models The Inventory list and its exports, model pages and the catalog, the model picker, and pictures.
People Staff by building and room, their equipment and files, contacts exported and imported, and email addresses.
Downloads Files in collections, folders and tags; their addresses; links and access; adding, changing and moving files.
Accounts and permissions Roles and permissions, email logins and approval, a login's own files, hidden buildings, and local accounts.
Settings Each section of Settings, server settings, and how Settings saves.
Map files and catalog files Buildings and the model catalog moved between installations as files.
Backups and restore Scheduled backups, what one holds, locations, restoring, and seals.
Updates and signing How a copy finds, checks and installs a signed release, rolling back, and how releases are laid out and signed.
Maintenance Updating, security updates, logs, sessions, files nothing uses, and a lost admin password.
Security model How a copy protects itself: logins, permissions, files and their links, passwords, request limits, and the logs.
Development Running and testing the source, building the binary, the project layout, and licenses.
Interface design The design core, what keeps pages fast, and the conventions for adding to the interface.

Updates and signing

A new copy looks for updates at github.com/gytdoo/geneseeer when an admin asks it to (Check for updates in Settings → Server, or ./geneseeer update), and at no other time. It installs only a release signed by its publisher, wherever the release was downloaded from. Updates and signing says how a copy checks and installs one, and how to check a release by hand.

Security

To report a security problem, see SECURITY.md: privately, never in an issue. Security model says what the program does to protect a copy.

License

Geneseeer is free software under the MIT license (see LICENSE). The software it is built on is under permissive licenses of its own: see License and third-party software.

About

A self-hosted network map and equipment inventory: floor plans with every device, wall jack and cable, in one program.

Topics

Resources

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages