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.

Make the README pictures readable and speak to developers

Guido Boykedf872145ebe1
diff --git a/.github/readme/assistant.png b/.github/readme/assistant.png
deleted file mode 100644
index 30b8b70..0000000
Binary files a/.github/readme/assistant.png and /dev/null differ
diff --git a/.github/readme/board.png b/.github/readme/board.png
index 0ecf48f..ed8c47a 100644
Binary files a/.github/readme/board.png and b/.github/readme/board.png differ
diff --git a/.github/readme/logo.svg b/.github/readme/logo.svg
deleted file mode 100644
index 69e8957..0000000
--- a/.github/readme/logo.svg
+++ /dev/null
@@ -1,6 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="120" height="120" viewBox="0 0 120 120">
- <title>Lalabase</title>
- <rect x="12" y="12" width="100" height="100" rx="12" fill="#000000"/>
- <rect x="4" y="4" width="100" height="100" rx="12" fill="#bef264" stroke="#000000" stroke-width="6"/>
- <path d="M38 26 H54 V68 H76 V82 H38 Z" fill="#000000"/>
-</svg>
diff --git a/.github/readme/meeting-assistant.png b/.github/readme/meeting-assistant.png
index ade890e..f46ec5c 100644
Binary files a/.github/readme/meeting-assistant.png and b/.github/readme/meeting-assistant.png differ
diff --git a/.github/readme/ticket-assistant.png b/.github/readme/ticket-assistant.png
index c3b2989..55dd5e9 100644
Binary files a/.github/readme/ticket-assistant.png and b/.github/readme/ticket-assistant.png differ
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 8e9226d..4eac5b1 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -11,8 +11,10 @@ By participating, you agree to abide by our [Code of Conduct](CODE_OF_CONDUCT.md
Lalabase is **open source, but not open contribution**. The code is public under
the AGPLv3, and all of it is written by the maintainer. We do **not** accept pull
requests, and we will close them without review. This is not about the quality of
-your work: it keeps the copyright in one hand, so the project can stay simple to
-license and to maintain.
+your work. In other projects we have seen that, since AI coding assistants, outside
+pull requests take more work to review and fold in than the change itself, so we
+write every change ourselves. It also keeps the copyright in one hand, so the
+project can stay simple to license and to maintain.
What helps us most:
@@ -64,8 +66,8 @@ bin/rails server -b 0.0.0.0 # the web server, in a second terminal
`bin/dev` does not start the web server, so both processes are needed.
-> 💡 A one-command `docker compose up` setup is on the roadmap. Until then, the
-> steps above are the supported path.
+> 💡 To run a release instead of working on the code, use the Docker setup in the
+> [README](README.md#self-host-with-docker).
### Checks
diff --git a/README.md b/README.md
index 1693158..da9124e 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,8 @@
<p align="center">
- <img src=".github/readme/logo.svg" width="96" height="96" alt="Lalabase logo: a lime tile with the letter L">
+ <picture>
+ <source media="(prefers-color-scheme: dark)" srcset=".github/readme/lala-assistant-dark.svg">
+ <img src=".github/readme/lala-assistant-light.svg" width="760" alt="Lala, the Lalabase mascot, asks the assistant how many hours went into the shop relaunch in September. The answer: 38.5 hours across 12 tickets, most of it checkout and payment, with the tickets and the time list as sources.">
+ </picture>
</p>
<h1 align="center">Lalabase</h1>
@@ -16,27 +19,21 @@
<a href="https://demo.lalabase.com"><img src="https://img.shields.io/badge/demo-live-brightgreen" alt="Live demo"></a>
</p>
-**Self-hosted project management for software agencies, with an AI assistant that answers from
-your own project data and cites its sources.** Tickets, time tracking, docs and meetings in one
-place. Bring your own AI model, or leave the AI switched off. Free on your own server, or hosted
-by us in Germany.
+Tickets, time tracking, docs and meetings for software agencies and their clients, with an AI
+assistant that answers from your own project data and cites its sources. Free on your own server,
+or hosted by us in Germany.
**[Try the live demo](https://demo.lalabase.com)**: no sign-up, the login is on the page, and
everything resets every night.
[Website](https://lalabase.com/en) · [Self-hosting](https://lalabase.com/docs/en/self-hosting/getting-started/overview) ·
-[Documentation](https://lalabase.com/docs/en/self-hosting/getting-started/overview) ·
[Cloud pricing](https://lalabase.com/en/pricing) · [Changelog](CHANGELOG.md)
-<picture>
- <source media="(prefers-color-scheme: dark)" srcset=".github/readme/lala-assistant-dark.svg">
- <img src=".github/readme/lala-assistant-light.svg" width="760" alt="Lala, the Lalabase mascot, asks the assistant how many hours went into the shop relaunch in September. The answer: 38.5 hours across 12 tickets, most of it checkout and payment, with the tickets and the time list as sources.">
-</picture>
-
![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)
In production for customers since September 2025. This repository starts with the first public
-release, 2026.10.0; [more under Status](#status).
+release, 2026.10.0; [more under Status](#status). If Lalabase is useful to you, a star helps
+others find it.
## What it does
@@ -49,39 +46,41 @@ release, 2026.10.0; [more under Status](#status).
- **Documentation.** Notes and documents in the project, and a folder in your GitHub or GitLab
repository becomes the project's docs.
- **Meetings.** Transcript, AI summary and the tasks that follow from it.
-- **AI assistant.** One question across tickets, docs, time and meetings, answered with its
- sources. Other AI tools reach the same data through an MCP server and a REST API.
-- **Your choice of AI.** OpenAI, Anthropic, Google Gemini through Vertex AI in the EU, Mistral,
- IONOS, OVHcloud, or any OpenAI-compatible endpoint, including a model in your own network.
- The AI stays off until you switch it on.
+- **AI assistant.** One question across tickets, docs, time and meetings, or about the one ticket
+ or meeting you are looking at, answered with its sources.
+- **Your data, your AI.** The AI stays off until you switch it on. Then you pick the provider:
+ OpenAI, Anthropic, Google Gemini through Vertex AI in the EU, Mistral, IONOS, OVHcloud, or any
+ OpenAI-compatible endpoint, including a model in your own network. No project data goes to a
+ provider you did not choose.
+- **MCP server and REST API.** Connect Claude, Cursor or your own agent with a personal access
+ 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
-<table>
- <tr>
- <td width="50%" valign="top">
- <img src=".github/readme/meeting-assistant.png" 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">
- <br><strong>Ask about a meeting.</strong> Summary, action items and transcript next to the answer.
- </td>
- <td width="50%" valign="top">
- <img src=".github/readme/assistant.png" alt="The assistant answers how far a feature is, citing the ticket, the hours booked on it and a note">
- <br><strong>One question across the project.</strong> The answer cites a ticket, the hours on it and a note.
- </td>
- </tr>
- <tr>
- <td width="50%" valign="top">
- <img src=".github/readme/board.png" alt="The tickets of a project as a board with the columns New, In Progress, Resolved and Closed">
- <br><strong>Tickets as a board</strong> or a list, with the statuses you define per project.
- </td>
- <td width="50%" valign="top">
- <img src=".github/readme/time.png" alt="The time list of the week: hours per person and ticket, day by day">
- <br><strong>Time tracking per ticket.</strong> Every session billable on its own.
- </td>
- </tr>
-</table>
+**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
+Stimulus) with ViewComponent and Tailwind, and no React. Background jobs run on Solid Queue.
+Non-trivial writes go through command objects (`app/services/actors/`), tenants are kept apart
+with `acts_as_tenant`, and the project's own rules are enforced by guard specs in CI
+(`spec/architecture/`) rather than by review comments. More in [DEVELOPMENT.md](DEVELOPMENT.md).
+
## Who it is for
Software agencies, freelancers and small software companies that work on projects for clients
@@ -150,7 +149,10 @@ Lalabase is licensed under the **GNU Affero General Public License, version 3 on
(SPDX: `AGPL-3.0-only`). Later versions of the license do not apply unless a release says so.
The full license text is in [LICENSE](LICENSE).
-Bug reports and ideas are welcome as issues; pull requests are not accepted. Details in
+Bug reports, ideas and questions are always welcome as issues. Pull requests are not accepted:
+in other projects we have seen that, since AI coding assistants, outside pull requests take more
+work to review and fold in than the change itself, so we write every change ourselves. An issue
+that describes the problem helps most. Details in
[CONTRIBUTING.md](CONTRIBUTING.md#issues-yes-pull-requests-no).
Bundled third-party components keep their own licenses, listed in
[THIRD_PARTY_NOTICES.txt](THIRD_PARTY_NOTICES.txt).
diff --git a/spec/marketing/screenshots_spec.rb b/spec/marketing/screenshots_spec.rb
index a002265..a11e83e 100644
--- a/spec/marketing/screenshots_spec.rb
+++ b/spec/marketing/screenshots_spec.rb
@@ -11,9 +11,9 @@ require 'rails_helper'
# It builds the Nordlicht fiction (Lalabase::Demo::World, the same world as the
# public demo) in the test database, freezes the clock and saves
# one picture per motif and language to tmp/screenshots/marketing/<locale>/. The
-# website imports them from there. The README shows five English ones, copied by hand
-# to .github/readme/ (ticket_assistant, meeting_assistant, assistant, time, board,
-# with dashes for underscores); copy them again after a new run.
+# 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.
#
# 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.
@@ -30,10 +30,15 @@ module MarketingScreenshots
HEIGHT = 1000
# The window for pictures that end up in a tile: the list fills less width.
TILE_WIDTH = 1100
+ # The window for the README pictures with the assistant open. GitHub shows a picture
+ # about 840 px wide; from a 1600 px window its text came out too small to read.
+ README_WIDTH = 1280
CLIP_MARGIN = 16
# The assistant's collapsed state hovers over the bottom of every page. A picture
# ends above it.
CAPSULE = '#assistant_panel input[placeholder]'
+ # The visible column of the open assistant. #assistant_panel itself spans the page.
+ PANEL = '#assistant_panel [data-assistant-panel-target="panel"]'
end
Capybara.register_driver :marketing_chrome do |app|
@@ -86,10 +91,12 @@ RSpec.describe 'Marketing screenshots', :marketing_screenshots, type: :system do
# Saves the window from the top down to `until_bottom_of` (plus a margin), or down
# to the assistant capsule when no element is named. `clip_to` narrows the picture to
- # one element's left, right and top edge: a tile on the website is a third of the
- # page wide, and the whole window shrunk to that is unreadable. The window is taken
- # whole and cut with libvips, which the core already carries for Active Storage.
- def capture(locale, motif, until_bottom_of: nil, clip_to: nil, margin: MarketingScreenshots::CLIP_MARGIN)
+ # the left, right and top edge of one element, or of several taken together: a tile on the website is a third of the
+ # page wide, and the whole window shrunk to that is unreadable. `from_left_of` cuts
+ # away everything left of one element (the sidebar beside the assistant). The window
+ # is taken whole and cut with libvips, which the core already carries for Active Storage.
+ def capture(locale, motif, until_bottom_of: nil, clip_to: nil, from_left_of: nil,
+ margin: MarketingScreenshots::CLIP_MARGIN)
dir = MarketingScreenshots::OUTPUT.join(locale.to_s)
FileUtils.mkdir_p(dir)
window = dir.join("#{motif}.window.png")
@@ -98,16 +105,26 @@ RSpec.describe 'Marketing screenshots', :marketing_screenshots, type: :system do
image = Vips::Image.new_from_file(window.to_s)
scale = image.width.to_f / page.evaluate_script('window.innerWidth')
- left, top, right = clip_to ? clip_area(clip_to, image.width / scale, margin) : [0, 0, image.width / scale]
+ left, top, right = picture_columns(image.width / scale, clip_to:, from_left_of:, margin:)
bottom = [picture_bottom(until_bottom_of), image.height / scale].min
area = [left, top, right - left, bottom - top].map { |value| (value * scale).round }
image.crop(*area).write_to_file(dir.join("#{motif}.png").to_s)
FileUtils.rm_f(window)
end
- # The element's edges plus a margin, so text does not end flush at the cut.
- def clip_area(selector, window_width, margin)
- left, top, right = box(selector).values_at('left', 'top', 'right')
+ def picture_columns(window_width, clip_to:, from_left_of:, margin:)
+ return clip_area(clip_to, window_width, margin) if clip_to
+ return [box(from_left_of)['left'], 0, window_width] if from_left_of
+
+ [0, 0, window_width]
+ end
+
+ # The edges of the elements plus a margin, so text does not end flush at the cut.
+ def clip_area(selectors, window_width, margin)
+ boxes = Array(selectors).map { box(_1) }
+ left = boxes.map { _1['left'] }.min
+ top = boxes.map { _1['top'] }.min
+ right = boxes.map { _1['right'] }.max
[[left - margin, 0].max, [top - margin, 0].max, [right + margin, window_width].min]
end
@@ -187,34 +204,39 @@ RSpec.describe 'Marketing screenshots', :marketing_screenshots, type: :system do
end
# The tickets as a board: a setting per person and project, stored the way the
- # view switch stores it.
+ # view switch stores it. The board alone, its first three columns: all four come
+ # out too small to read at the width of the README.
it 'takes the ticket board' do
ViewConfiguration.for_user_project(world.signed_in, world.project(:deichblick), 'tickets')
.update!(view_mode: 'kanban')
visit organisation_project_tickets_path(world.organisation, world.project(:deichblick))
expect(page).to have_css('.kanban-board')
- expect(page).to have_text(Lalabase::Demo::Fiction::TICKETS.last.fetch(locale))
- capture(locale, :board)
+ expect(page).to have_text(Lalabase::Demo::Fiction::TICKETS[3].fetch(locale))
+ columns = [1, 3].map { ".kanban-board > :nth-child(#{_1} of .kanban-column)" }
+ capture(locale, :board, clip_to: columns, until_bottom_of: '.kanban-board')
end
# The assistant beside the object it was asked about, with the object as its
- # reference: the ticket of the detail motif, and the weekly call. The open panel
- # reaches the bottom of the window, so the picture is the whole window.
+ # reference: the ticket of the detail motif, and the weekly call. In the README
+ # window, from the panel to the right edge: the open panel reaches the bottom, and
+ # the sidebar says nothing about the answer.
it 'takes the assistant beside the ticket' do
+ page.driver.browser.manage.window.resize_to(MarketingScreenshots::README_WIDTH, MarketingScreenshots::HEIGHT)
ticket = world.ticket(Lalabase::Demo::Fiction::TICKET_QUESTION[:ticket])
visit organisation_project_ticket_path(world.organisation, ticket.project, ticket,
assistant_chat_id: world.ticket_question.id)
# Three citations, two rows: the comment is listed under its ticket.
open_citations(2)
- capture(locale, :ticket_assistant, until_bottom_of: 'body')
+ capture(locale, :ticket_assistant, until_bottom_of: 'body', from_left_of: MarketingScreenshots::PANEL)
end
it 'takes the assistant beside the meeting' do
+ page.driver.browser.manage.window.resize_to(MarketingScreenshots::README_WIDTH, MarketingScreenshots::HEIGHT)
meeting = world.meetings.fetch(Lalabase::Demo::Fiction::MEETING_QUESTION[:meeting])
visit organisation_project_meeting_path(world.organisation, meeting.project, meeting,
assistant_chat_id: world.meeting_question.id)
open_citations(2)
- capture(locale, :meeting_assistant, until_bottom_of: 'body')
+ capture(locale, :meeting_assistant, until_bottom_of: 'body', from_left_of: MarketingScreenshots::PANEL)
end
it 'takes the assistant answer with its sources' do