====== Gimlet Tracker ====== Gimlet Tracker is a small private project and issue tracker for one person, on your own web server: projects, each with its bugs, features, tasks and ideas, progress notes, screenshots, links between items, reminders and "fixed in" versions, a **Waiting on you** page and a daily summary email. PHP and SQLite. Free software (GNU GPL version 2 or later). Downloads: [[https://kalretro.au/gimlet-tracker/]], the **Heisenbergs Files** area on the BBS, or the FTP server (folder ''gimlet-tracker''). Version 1.1.0 (16 November 2026). ===== What it needs ===== * Linux with a web server and **PHP 8.1 or newer** with the SQLite (''pdo_sqlite'') and ''mbstring'' modules. Debian 12 or newer and Ubuntu 22.04 or newer have these. * For the daily email: a mail server it can send through, or a working ''/usr/sbin/sendmail''. ===== Installing ===== ==== Debian or Ubuntu package ==== sudo apt install apache2 libapache2-mod-php # if there is no web server yet sudo apt install ./gimlet-tracker_1.1.0_all.deb sudo gimlet-tracker passwd yourname sudo nano /etc/gimlet-tracker/settings.ini # site_url, title, timezone, mail The tracker is then at ''https://your-server/tracker/''. The program is in ''/usr/share/gimlet-tracker'', the settings in ''/etc/gimlet-tracker'', the data in ''/var/lib/gimlet-tracker''. ==== Any Linux (tar.gz) ==== tar xf gimlet-tracker-1.1.0.tar.gz cd gimlet-tracker-1.1.0 sudo sh install.sh sudo gimlet-tracker passwd yourname ''install.sh'' copies the program to ''/opt/gimlet-tracker'', writes ''/etc/gimlet-tracker/settings.ini'' (only the first time), makes the data folder, adds the ''gimlet-tracker'' command and the daily email cron job, and on Apache adds ''/etc/apache2/conf-available/gimlet-tracker.conf''. Options: ''%%--%%prefix DIR'', ''%%--%%path /tracker'', ''%%--%%web-user USER'', ''%%--%%no-apache''. ''sudo sh install.sh %%--%%uninstall'' removes the program and keeps the settings and data. ==== Other web servers ==== Point the address path (''/tracker/'') at the ''public'' folder and let PHP run ''index.php''. nginx with PHP-FPM: location /tracker/ { alias /opt/gimlet-tracker/public/; index index.php; location ~ \.php$ { include fastcgi_params; fastcgi_param SCRIPT_FILENAME $request_filename; fastcgi_pass unix:/run/php/php-fpm.sock; } } ''public/.user.ini'' raises PHP-FPM's upload limit to 10 MB; with nginx also set ''client_max_body_size 45m;''. Never serve the ''lib'' or ''bin'' folders, or the data folder. ===== Settings ===== ''/etc/gimlet-tracker/settings.ini''. Every setting is explained in ''settings.example.ini''. Set these first: ^ Setting ^ What it is ^ | ''site_url'' | the site's address, for links in emails, for example ''https://example.org'' | | ''base_path'' | the address path, ''/tracker/'' (must match the web server) | | ''title'' | shown on every page and in email subjects | | ''timezone'' | for example ''Australia/Perth'' | | ''owner_name'' | the name in "Waiting on ..." (default: the login's display name) | | ''trusted_proxies'' | your reverse proxy's address, so lock-outs and report limits see the visitor's address | | ''mail_to'', ''mail_from'' | who gets the daily summary and report notices | | ''smtp_host'', ''smtp_port'', ''smtp_security'' | the mail server; ''starttls'' (port 587 or 25) or ''tls'' (465) | | ''smtp_user'', ''smtp_password'' | only if the mail server needs a login (sent only over STARTTLS or TLS) | | ''public_pages'', ''reports'' | ''0'' switches public pages or the report form off everywhere | Test email with ''sudo gimlet-tracker mailtest''. See tomorrow's summary now with ''sudo gimlet-tracker digest %%--%%dry-run''. ===== Using it ===== * Log in at ''/tracker/'' with the name and password set by ''gimlet-tracker passwd''. * **Projects**: add one with a name; the short name is used on the command line and in public addresses. * **Items**: a title, kind (bug, feature, task, idea), priority, status and details. On the item page: * **Progress**: add notes and change the status. With **Waiting**, choose whether it waits on you or someone else. With **Done**, give the **Fixed in version**. * **Linked items**: "needs the same change as", "is related to", "blocks", "is blocked by", "is a duplicate of". Writing ''#123'' in any text links to item 123. * **Screenshots and files**: png, jpg, gif, webp, pdf, txt, log and zip, up to 10 MB each. * **Remind me on**: on that date the item shows under Waiting on you and in the daily email. * **Waiting on you** (in the header, with a count): reminders due, items waiting on you, problem reports to look at, reminders coming up and items waiting on others. * **Releases** tab on a project: done items by version, and the release notes as text. * **Search**: words in titles, details and notes, or ''#123'' to open an item. ===== Public pages and problem reports ===== Optional. On a project, **Edit this project**, tick **Public page** (and **Take problem reports** for the form). Then tick **Show on the public page** on each item to show. The public page is ''/tracker/?p=public&project=SHORTNAME'' and has **Known problems** (open bugs), **Coming next** (other open items) and **Recently done** (by version). Only titles and status are shown: never the details, notes, files or who reported something. The same is available as JSON (''?p=public.json&project=SHORTNAME'') for showing on your own pages. Problem reports arrive as **Unreviewed** items, private until you look at them, with an email notice. The form has a hidden field for robots, must have been open a few seconds, and takes at most 3 reports an hour from one address and 30 a day in all. ===== Command line ===== gimlet-tracker help everything it can do gimlet-tracker mine waiting on you, reminders due, reports gimlet-tracker project SHORTNAME a project's open items gimlet-tracker add SHORTNAME bug "Title" --priority high gimlet-tracker set 12 waiting "Sent a test build" --on owner gimlet-tracker set 12 done "Fixed" --fixed-in 1.2.0 gimlet-tracker remind 12 2026-12-01 gimlet-tracker link 12 parity 15 gimlet-tracker attach 12 screenshot.png gimlet-tracker changelog SHORTNAME 1.2.0 ===== Backups and upgrading ===== Everything is in the data folder: ''tracker.db'', ''files/'' (attachments), ''config.json'' (the login) and ''secret''. To copy the database while it is in use: ''sudo -u www-data sqlite3 /var/lib/gimlet-tracker/tracker.db ".backup /somewhere/tracker.db"''. To upgrade, install the new version the same way. Settings and data are kept, and the database is upgraded by itself. ===== Versions ===== ^ Version ^ Date ^ What changed ^ | 1.1.0 | 16 Nov 2026 | First public release: waiting on you, fixed-in versions and releases, screenshots and files, links, reminders, daily email, filters, public pages and report form, settings file, .deb and install.sh | | 1.0.0 | 12 Nov 2026 | private first version | Problems and suggestions: [[slaterm@theiguru.au]].