Skip to content

Self-hosted project management for devs and their clients: tickets, time tracking, docs and meetings, with an AI assistant that cites its sources. AGPL-3.0.

Show the README pictures as a gallery of four framed tiles

Guido Boyke667a6fbe76d2
diff --git a/.github/readme/gallery/board.png b/.github/readme/gallery/board.png
new file mode 100644
index 0000000..ee413b6
Binary files /dev/null and b/.github/readme/gallery/board.png differ
diff --git a/.github/readme/gallery/meeting-assistant.png b/.github/readme/gallery/meeting-assistant.png
new file mode 100644
index 0000000..c665820
Binary files /dev/null and b/.github/readme/gallery/meeting-assistant.png differ
diff --git a/.github/readme/gallery/ticket-assistant.png b/.github/readme/gallery/ticket-assistant.png
new file mode 100644
index 0000000..bfbfa16
Binary files /dev/null and b/.github/readme/gallery/ticket-assistant.png differ
diff --git a/.github/readme/gallery/time.png b/.github/readme/gallery/time.png
new file mode 100644
index 0000000..518c83f
Binary files /dev/null and b/.github/readme/gallery/time.png differ
diff --git a/CLAUDE.md b/CLAUDE.md
index f2883a3..98cd4c4 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -45,7 +45,9 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
* **Python-Tests** (`bin/lala`, Attrappe des MCP-Endpunkts im selben Prozess, nur Standardbibliothek):
`python3 -m unittest discover -s spec/python -p '*_test.py'`
* **Product screenshots** for the project website: `MARKETING_SCREENSHOTS=1 bundle exec rspec spec/marketing/screenshots_spec.rb`,
- output in `tmp/screenshots/marketing/<locale>/`, excluded from every normal run.
+ output in `tmp/screenshots/marketing/<locale>/`, excluded from every normal run. The README's
+ four pictures are copied from there by hand to `.github/readme/`; then
+ `bundle exec ruby script/readme_gallery` redraws the framed tiles of its gallery.
* **System-/JS-Tests auf einer ARM-Maschine** (Parallels-VM): `selenium-webdriver` liefert für
Linux nur eine x86-64-Binary von `selenium-manager`, für macOS dagegen eine Universal-Binary.
Auf aarch64 lehnt der Kernel sie ab und `/bin/sh` meldet stattdessen
diff --git a/README.md b/README.md
index da9124e..5979b35 100644
--- a/README.md
+++ b/README.md
@@ -29,7 +29,31 @@ everything resets every night.
[Website](https://lalabase.com/en) · [Self-hosting](https://lalabase.com/docs/en/self-hosting/getting-started/overview) ·
[Cloud pricing](https://lalabase.com/en/pricing) · [Changelog](CHANGELOG.md)
-![A ticket open in Lalabase with the assistant beside it. The ticket is the question's reference; the answer says who works on it and what is still open, and cites the ticket, a comment and a meeting.](.github/readme/ticket-assistant.png)
+<table>
+ <tr>
+ <td width="50%" valign="top">
+ <a href=".github/readme/ticket-assistant.png"><img src=".github/readme/gallery/ticket-assistant.png" width="400" alt="A ticket open in Lalabase with the assistant beside it. The ticket is the question's reference; the answer says who works on it and what is still open, and cites the ticket, a comment and a meeting."></a><br>
+ <strong>Ask about a ticket.</strong> The answer cites the ticket, a comment and a meeting.
+ </td>
+ <td width="50%" valign="top">
+ <a href=".github/readme/meeting-assistant.png"><img src=".github/readme/gallery/meeting-assistant.png" width="400" alt="A meeting with its summary, action items and transcript, and the assistant beside it answering what was agreed, with the meeting and a ticket as sources"></a><br>
+ <strong>Ask about a meeting.</strong> Summary, action items and transcript next to the answer.
+ </td>
+ </tr>
+ <tr>
+ <td width="50%" valign="top">
+ <a href=".github/readme/board.png"><img src=".github/readme/gallery/board.png" width="400" alt="The tickets of a project as a board with the columns New, In Progress and Resolved"></a><br>
+ <strong>Tickets as a board</strong> or a list, with your own statuses per project.
+ </td>
+ <td width="50%" valign="top">
+ <a href=".github/readme/time.png"><img src=".github/readme/gallery/time.png" width="400" alt="The time list of the week: hours per person and ticket, day by day"></a><br>
+ <strong>Time tracking per ticket.</strong> Every session billable on its own.
+ </td>
+ </tr>
+</table>
+
+Click a picture for the full size. The pictures show the same invented company as the
+[live demo](https://demo.lalabase.com).
In production for customers since September 2025. This repository starts with the first public
release, 2026.10.0; [more under Status](#status). If Lalabase is useful to you, a star helps
@@ -56,23 +80,6 @@ others find it.
token: list, create and update tickets, comment, log time, search the knowledge base, read the
inbox, and look things up in the indexed code of your repositories.
-## See it
-
-**Ask about a meeting.** Summary, action items and transcript next to the answer, with the meeting
-as the reference.
-
-![A meeting with its summary, action items and transcript, and the assistant beside it answering what was agreed, with the meeting and a ticket as sources](.github/readme/meeting-assistant.png)
-
-**Tickets as a board** or a list, with the statuses you define per project.
-
-![The tickets of a project as a board with the columns New, In Progress and Resolved](.github/readme/board.png)
-
-**Time tracking per ticket.** Every session billable on its own.
-
-![The time list of the week: hours per person and ticket, day by day](.github/readme/time.png)
-
-The pictures show the same invented company as the [live demo](https://demo.lalabase.com).
-
## Built with
Rails 8.1 on Ruby 4, PostgreSQL with pgvector for the assistant's search, Hotwire (Turbo and
diff --git a/script/readme_gallery b/script/readme_gallery
new file mode 100755
index 0000000..4fbe498
--- /dev/null
+++ b/script/readme_gallery
@@ -0,0 +1,95 @@
+#!/usr/bin/env ruby
+# frozen_string_literal: true
+
+# Draws the picture gallery of the README: a small framed copy of each README picture.
+#
+# bundle exec ruby script/readme_gallery
+#
+# Reads .github/readme/<motif>.png and writes .github/readme/gallery/<motif>.png. Run it
+# after copying new pictures from the marketing screenshots
+# (spec/marketing/screenshots_spec.rb).
+#
+# GitHub drops every style of a README, so the frame is part of the picture. The label
+# in the title bar is set in the machine's monospace font: the pictures are checked in,
+# and another machine may draw it a little differently.
+
+require 'base64'
+require 'cgi'
+require 'fileutils'
+require 'vips'
+
+SOURCE = File.expand_path('../.github/readme', __dir__)
+TARGET = File.join(SOURCE, 'gallery')
+
+# In reading order. `fit` says how a picture becomes a tile: :crop keeps the full
+# width and cuts from the top, :whole shrinks it to the top of a white ground (the
+# board is wider than a tile, and a cut would lose a column).
+MOTIFS = [
+ { name: 'ticket-assistant', label: 'Ticket · Assistant', fit: :crop },
+ { name: 'meeting-assistant', label: 'Meeting · Weekly call', fit: :crop },
+ { name: 'board', label: 'Project · Board', fit: :whole },
+ { name: 'time', label: 'Time · This week', fit: :crop }
+].freeze
+
+# In pixels, twice what GitHub shows: two tiles side by side are about 400 px wide each.
+TILE_WIDTH = 800
+TILE_HEIGHT = TILE_WIDTH * 10 / 16
+BORDER = 4
+BAR = 56
+RADIUS = 16
+SHADOW = 8
+DOT = 16
+FONT_SIZE = 22
+
+# One version for both themes of GitHub. A dark one cannot be offered: GitHub links every
+# picture to itself and moves a picture inside a link out of its <picture>, so the
+# README's own link to the full size would cost the switch. On a dark page the black
+# frame fades and the tile reads as a white card, which is enough.
+COLORS = { line: '#1f2328', bar: '#f6f8fa', label: '#59636e', accent: '#b5e48c' }.freeze
+
+def tile(path, fit)
+ source = Vips::Image.new_from_file(path)
+ source = source.flatten(background: [255, 255, 255]) if source.has_alpha?
+ if fit == :crop
+ resized = source.resize(TILE_WIDTH.to_f / source.width)
+ resized.crop(0, 0, TILE_WIDTH, [TILE_HEIGHT, resized.height].min)
+ .embed(0, 0, TILE_WIDTH, TILE_HEIGHT, extend: :white)
+ else
+ resized = source.resize([TILE_WIDTH.to_f / source.width, TILE_HEIGHT.to_f / source.height].min)
+ resized.gravity(:north, TILE_WIDTH, TILE_HEIGHT, extend: :white)
+ end
+end
+
+def frame_svg(tile, label, colors)
+ width = TILE_WIDTH + (2 * BORDER)
+ height = BAR + TILE_HEIGHT + (3 * BORDER)
+ image = Base64.strict_encode64(tile.write_to_buffer('.png'))
+ dots = 3.times.map do |index|
+ fill = index == 2 ? colors[:accent] : 'none'
+ cx = BORDER + 20 + (index * (DOT + 10)) + (DOT / 2)
+ %(<circle cx="#{cx}" cy="#{BORDER + (BAR / 2)}" r="#{(DOT - BORDER) / 2}" fill="#{fill}" stroke="#{colors[:line]}" stroke-width="#{BORDER}"/>)
+ end
+ text_x = BORDER + 20 + (3 * (DOT + 10)) + 10
+
+ <<~SVG
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="#{width + SHADOW}" height="#{height + SHADOW}">
+ <defs><clipPath id="inside"><rect x="#{BORDER}" y="#{BORDER}" width="#{TILE_WIDTH}" height="#{height - (2 * BORDER)}" rx="#{RADIUS - BORDER}"/></clipPath></defs>
+ <rect x="#{SHADOW}" y="#{SHADOW}" width="#{width}" height="#{height}" rx="#{RADIUS}" fill="#{colors[:line]}"/>
+ <rect width="#{width}" height="#{height}" rx="#{RADIUS}" fill="#{colors[:line]}"/>
+ <g clip-path="url(#inside)">
+ <rect x="#{BORDER}" y="#{BORDER}" width="#{TILE_WIDTH}" height="#{BAR}" fill="#{colors[:bar]}"/>
+ <image x="#{BORDER}" y="#{BAR + (2 * BORDER)}" width="#{TILE_WIDTH}" height="#{TILE_HEIGHT}" xlink:href="data:image/png;base64,#{image}"/>
+ </g>
+ #{dots.join("\n ")}
+ <text x="#{text_x}" y="#{BORDER + (BAR / 2)}" dominant-baseline="central" font-family="Menlo, Consolas, monospace" font-size="#{FONT_SIZE}" fill="#{colors[:label]}">#{CGI.escapeHTML(label)}</text>
+ </svg>
+ SVG
+end
+
+FileUtils.mkdir_p(TARGET)
+MOTIFS.each do |motif|
+ picture = tile(File.join(SOURCE, "#{motif[:name]}.png"), motif[:fit])
+ path = File.join(TARGET, "#{motif[:name]}.png")
+ Vips::Image.svgload_buffer(frame_svg(picture, motif[:label], COLORS)).write_to_file(path, compression: 9)
+ puts path.delete_prefix("#{File.expand_path('..', __dir__)}/")
+end
diff --git a/spec/marketing/screenshots_spec.rb b/spec/marketing/screenshots_spec.rb
index a11e83e..da69195 100644
--- a/spec/marketing/screenshots_spec.rb
+++ b/spec/marketing/screenshots_spec.rb
@@ -13,7 +13,8 @@ require 'rails_helper'
# one picture per motif and language to tmp/screenshots/marketing/<locale>/. The
# website imports them from there. The README shows four English ones, copied by hand
# to .github/readme/ (ticket_assistant, meeting_assistant, board, time, with dashes for
-# underscores); copy them again after a new run.
+# underscores); copy them again after a new run, then redraw the framed tiles of the
+# README's gallery with `bundle exec ruby script/readme_gallery`.
#
# It fails loudly when a screen changes shape (a selector it waits for is gone), which
# is the point: a stale picture on the website is worse than a red run.