Developer

Gitea

Keep up with your Gitea without opening it: the pull requests waiting for your review, your own with how their reviews and CI stand, the issues assigned to you and your notifications. Every repository you work in is a dot for CI on its default branch, and each opens a page of its own with its latest runs and a button to re-run the failed jobs. Legato reads your Gitea once a minute while your Mac is awake.

Install in LegatoSet it up by hand ↓Also: server

Gitea
Repositories2 of 7 need attention
harbor-labslantern-webtidewater-apibeacon-cliferry-docsrileyorchard-syncgarden-notesdotfiles
Contributions1,359 in the past year
NovDecJanFebMarAprMayJunJulAugSepOctNov0 contributions · Nov 1311 contributions · Nov 140 contributions · Nov 150 contributions · Nov 166 contributions · Nov 171 contribution · Nov 186 contributions · Nov 192 contributions · Nov 208 contributions · Nov 210 contributions · Nov 220 contributions · Nov 2311 contributions · Nov 241 contribution · Nov 250 contributions · Nov 260 contributions · Nov 270 contributions · Nov 280 contributions · Nov 292 contributions · Nov 3010 contributions · Dec 13 contributions · Dec 21 contribution · Dec 39 contributions · Dec 40 contributions · Dec 50 contributions · Dec 60 contributions · Dec 79 contributions · Dec 83 contributions · Dec 90 contributions · Dec 100 contributions · Dec 115 contributions · Dec 121 contribution · Dec 130 contributions · Dec 148 contributions · Dec 153 contributions · Dec 169 contributions · Dec 178 contributions · Dec 186 contributions · Dec 191 contribution · Dec 200 contributions · Dec 210 contributions · Dec 2211 contributions · Dec 237 contributions · Dec 2410 contributions · Dec 2510 contributions · Dec 261 contribution · Dec 270 contributions · Dec 283 contributions · Dec 297 contributions · Dec 306 contributions · Dec 312 contributions · Jan 15 contributions · Jan 20 contributions · Jan 33 contributions · Jan 48 contributions · Jan 57 contributions · Jan 65 contributions · Jan 72 contributions · Jan 88 contributions · Jan 92 contributions · Jan 101 contribution · Jan 117 contributions · Jan 120 contributions · Jan 138 contributions · Jan 147 contributions · Jan 150 contributions · Jan 160 contributions · Jan 170 contributions · Jan 187 contributions · Jan 1910 contributions · Jan 209 contributions · Jan 218 contributions · Jan 220 contributions · Jan 230 contributions · Jan 240 contributions · Jan 250 contributions · Jan 262 contributions · Jan 2711 contributions · Jan 285 contributions · Jan 299 contributions · Jan 303 contributions · Jan 310 contributions · Feb 111 contributions · Feb 211 contributions · Feb 36 contributions · Feb 40 contributions · Feb 53 contributions · Feb 62 contributions · Feb 70 contributions · Feb 810 contributions · Feb 99 contributions · Feb 104 contributions · Feb 110 contributions · Feb 125 contributions · Feb 130 contributions · Feb 140 contributions · Feb 1511 contributions · Feb 1610 contributions · Feb 170 contributions · Feb 180 contributions · Feb 199 contributions · Feb 200 contributions · Feb 210 contributions · Feb 2210 contributions · Feb 2310 contributions · Feb 247 contributions · Feb 257 contributions · Feb 263 contributions · Feb 270 contributions · Feb 283 contributions · Mar 11 contribution · Mar 24 contributions · Mar 38 contributions · Mar 41 contribution · Mar 57 contributions · Mar 60 contributions · Mar 73 contributions · Mar 810 contributions · Mar 96 contributions · Mar 109 contributions · Mar 1110 contributions · Mar 120 contributions · Mar 130 contributions · Mar 140 contributions · Mar 154 contributions · Mar 1610 contributions · Mar 171 contribution · Mar 185 contributions · Mar 1911 contributions · Mar 200 contributions · Mar 210 contributions · Mar 228 contributions · Mar 232 contributions · Mar 242 contributions · Mar 252 contributions · Mar 2610 contributions · Mar 270 contributions · Mar 280 contributions · Mar 2911 contributions · Mar 306 contributions · Mar 317 contributions · Apr 18 contributions · Apr 20 contributions · Apr 31 contribution · Apr 40 contributions · Apr 56 contributions · Apr 60 contributions · Apr 70 contributions · Apr 85 contributions · Apr 93 contributions · Apr 101 contribution · Apr 110 contributions · Apr 121 contribution · Apr 135 contributions · Apr 144 contributions · Apr 155 contributions · Apr 161 contribution · Apr 170 contributions · Apr 180 contributions · Apr 1910 contributions · Apr 204 contributions · Apr 215 contributions · Apr 220 contributions · Apr 2311 contributions · Apr 240 contributions · Apr 250 contributions · Apr 2611 contributions · Apr 270 contributions · Apr 281 contribution · Apr 297 contributions · Apr 305 contributions · May 11 contribution · May 21 contribution · May 37 contributions · May 45 contributions · May 58 contributions · May 64 contributions · May 71 contribution · May 80 contributions · May 93 contributions · May 102 contributions · May 113 contributions · May 127 contributions · May 131 contribution · May 143 contributions · May 152 contributions · May 160 contributions · May 1711 contributions · May 188 contributions · May 191 contribution · May 2010 contributions · May 210 contributions · May 220 contributions · May 230 contributions · May 244 contributions · May 259 contributions · May 267 contributions · May 273 contributions · May 2811 contributions · May 290 contributions · May 300 contributions · May 311 contribution · Jun 13 contributions · Jun 20 contributions · Jun 34 contributions · Jun 40 contributions · Jun 50 contributions · Jun 60 contributions · Jun 77 contributions · Jun 87 contributions · Jun 90 contributions · Jun 100 contributions · Jun 114 contributions · Jun 120 contributions · Jun 130 contributions · Jun 149 contributions · Jun 158 contributions · Jun 1611 contributions · Jun 172 contributions · Jun 1811 contributions · Jun 191 contribution · Jun 200 contributions · Jun 2110 contributions · Jun 227 contributions · Jun 230 contributions · Jun 246 contributions · Jun 250 contributions · Jun 260 contributions · Jun 270 contributions · Jun 280 contributions · Jun 290 contributions · Jun 300 contributions · Jul 10 contributions · Jul 20 contributions · Jul 30 contributions · Jul 40 contributions · Jul 50 contributions · Jul 60 contributions · Jul 70 contributions · Jul 80 contributions · Jul 90 contributions · Jul 103 contributions · Jul 112 contributions · Jul 1210 contributions · Jul 130 contributions · Jul 147 contributions · Jul 153 contributions · Jul 161 contribution · Jul 173 contributions · Jul 183 contributions · Jul 196 contributions · Jul 209 contributions · Jul 216 contributions · Jul 229 contributions · Jul 239 contributions · Jul 240 contributions · Jul 250 contributions · Jul 2611 contributions · Jul 272 contributions · Jul 2810 contributions · Jul 290 contributions · Jul 3010 contributions · Jul 312 contributions · Aug 10 contributions · Aug 20 contributions · Aug 30 contributions · Aug 49 contributions · Aug 56 contributions · Aug 611 contributions · Aug 71 contribution · Aug 80 contributions · Aug 911 contributions · Aug 101 contribution · Aug 112 contributions · Aug 120 contributions · Aug 130 contributions · Aug 141 contribution · Aug 150 contributions · Aug 166 contributions · Aug 173 contributions · Aug 180 contributions · Aug 197 contributions · Aug 206 contributions · Aug 210 contributions · Aug 220 contributions · Aug 232 contributions · Aug 240 contributions · Aug 250 contributions · Aug 269 contributions · Aug 2711 contributions · Aug 280 contributions · Aug 290 contributions · Aug 305 contributions · Aug 310 contributions · Sep 11 contribution · Sep 211 contributions · Sep 30 contributions · Sep 40 contributions · Sep 50 contributions · Sep 65 contributions · Sep 76 contributions · Sep 82 contributions · Sep 94 contributions · Sep 1010 contributions · Sep 110 contributions · Sep 120 contributions · Sep 138 contributions · Sep 149 contributions · Sep 157 contributions · Sep 160 contributions · Sep 170 contributions · Sep 180 contributions · Sep 192 contributions · Sep 204 contributions · Sep 211 contribution · Sep 220 contributions · Sep 234 contributions · Sep 246 contributions · Sep 250 contributions · Sep 263 contributions · Sep 271 contribution · Sep 288 contributions · Sep 292 contributions · Sep 309 contributions · Oct 16 contributions · Oct 22 contributions · Oct 31 contribution · Oct 41 contribution · Oct 56 contributions · Oct 610 contributions · Oct 73 contributions · Oct 88 contributions · Oct 91 contribution · Oct 100 contributions · Oct 118 contributions · Oct 124 contributions · Oct 1310 contributions · Oct 144 contributions · Oct 159 contributions · Oct 161 contribution · Oct 170 contributions · Oct 186 contributions · Oct 190 contributions · Oct 202 contributions · Oct 2110 contributions · Oct 220 contributions · Oct 230 contributions · Oct 240 contributions · Oct 256 contributions · Oct 266 contributions · Oct 278 contributions · Oct 284 contributions · Oct 299 contributions · Oct 300 contributions · Oct 310 contributions · Nov 17 contributions · Nov 27 contributions · Nov 37 contributions · Nov 42 contributions · Nov 51 contribution · Nov 60 contributions · Nov 70 contributions · Nov 82 contributions · Nov 98 contributions · Nov 103 contributions · Nov 112 contributions · Nov 124 contributions · Nov 130 contributions · Nov 140 contributions · Nov 157 contributions · Nov 167 contributions · Nov 173 contributions · Nov 18
LessMore
Gitea
Version
28.4.0
Updated 12 min ago

What you’ll see

Gitea

  • Health, in Details: Gitea’s own check of its database and cache. It turns orange for a warning, and red when a check fails or Gitea stops answering.
  • Reviews: open pull requests that ask for your review, newest first, with their repository and how long ago they changed.
  • My PRs: your open pull requests, each with where it stands: CI failing, Changes requested, Draft, Approved, or its repository when none of those applies.
  • Issues: open issues assigned to you.
  • Notifications: your unread notifications, with whether each is an issue or a pull request, and Mark all read under the list.
  • Repositories: up to 24 repositories you own or belong to, most recently updated first, under their owner’s name. Each dot is CI on the default branch: green passing, red failing, orange pending, grey with no CI or nothing pushed yet. A dot opens that repository’s page.
  • Contributions: a year of your activity, a square per day, with the year’s total.
  • Gitea: the server’s version.

Repository

What a dot opens.

  • CI, in Details: the checks on the default branch.
  • Repository: open pull requests and issues, the latest release, stars, forks and when it last changed.
  • Workflow runs: the latest four Actions runs, each named by its commit, with how it ended and on which branch. While the newest run on the default branch failed, the corner has Re-run failed jobs, which asks first.
  • Open pull requests: seven at once, most recently updated first.

Gitea server

For the site admin, from its own template.

  • Health, in Details: the server and every Actions runner as a dot (up to 50), red while a runner is offline, grey for one you’ve disabled. With https, a runner’s dot opens it in Gitea’s admin pages.
  • Actions: jobs waiting for a runner and how long the oldest has waited, runners online, jobs running, and the version.
  • Waiting for a runner: the jobs waiting, oldest first.

Status

  • Gitea’s own check of its database and cache, in Details.
  • Red once Gitea reports a failed check or stops answering, orange for a warning.
  • The repository fleet’s dots show CI on each default branch, red while it fails.
  • Review requests and notifications never count as a problem.
  • Shows in Details and notifies you when it turns orange or red.

How it connects

The pages read Gitea’s REST API at /api/v1 with an access token, sent as Authorization: Bearer.

Requests it makes on its own 11

  • GET/api/healthz

    Gitea’s check of its database and cache.

    Every minute, with no sign-in

  • GET/api/v1/version

    Gitea’s version.

    Every hour

  • GET/api/v1/settings/api

    Gitea’s page size, so a list cut short says so.

    With the lists

  • GET/api/v1/repos/issues/search?type=pulls&review_requested=true

    Pull requests waiting for your review.

    Every minute

  • GET/api/v1/repos/issues/search?type=issues&assigned=true

    Issues assigned to you.

    Every minute

  • GET/api/v1/notifications

    Your unread notifications.

    Every minute

  • GET /api/v1/repos/issues/search?type=pulls&created=true, then for each: GET …/pulls/{n}/reviews, GET …/pulls/{n} and GET …/commits/{head}/status

    Your pull requests, their reviews and the checks on their latest commit (up to 10).

    Every two minutes

  • GET /api/v1/user, GET /api/v1/repos/search?uid=…, then GET …/commits/{branch}/status for each

    Your repositories and CI on each default branch (up to 24).

    Every two minutes

  • GET/api/v1/users/{you}/heatmap

    Your contributions.

    Every hour

  • GET /api/v1/repos/{owner}/{repo}, …/releases, …/pulls, …/commits/{branch}/status, …/actions/runs

    Its facts, latest release, pull requests, CI and runs.

    Every two minutes, while a repository’s page is open

  • GET /api/v1/admin/actions/runners, GET /api/v1/admin/actions/jobs

    Runners and their state, jobs waiting and running.

    Every minute, on the server page

Requests it makes when you act 2
  • PUT/api/v1/notifications

    Marks your notifications read.

    When you press Mark all read

  • POST…/actions/runs/{run}/rerun-failed-jobs

    Runs that run’s failed jobs again.

    When you press Re-run failed jobs

Gitea has no single query for all of this the way GitHub does, so each of your pull requests and repositories takes its own requests: up to 59 every two minutes for both, plus five a minute for the lists, Gitea’s page size and the health check, and the version once an hour. Gitea’s API documentation is also at /api/swagger on your own server.

Which token. In Gitea, a token’s permissions are read or write for each area. The pages need read for repository, issue and user, and notification with write so Mark all read works. Add write for repository if you want Re-run failed jobs. A read-only token works too: Mark all read and Re-run then show Gitea’s refusal. The server page needs a site admin’s token with read for admin.

Sources and buttons explains each part of a page.

Set it up

  1. Make a token. In Gitea, open Settings → Applications, give the token a name, choose the permissions above, and press Generate Token. Gitea shows it only once.
  2. Save it in Legato. In Settings → Secrets, save it under gitea, bound to your Gitea’s address. You can also link a 1Password reference.
  3. Add the pages. Paste the prompt into your agent, or download the pages and run /Applications/Legato.app/Contents/Helpers/legato set gitea gitea.json, then the same for gitea-repo.
  4. Point them at your Gitea. Change http://gitea.local:3000 to its address everywhere it appears on both pages: every source, the health card’s link and the notes’ links. If you reach it over https with a self-signed certificate, use its IP address or a .local name, which Legato can trust. A Gitea served under a path, such as https://example.com/git, needs that path as each source’s base, and in the links too.
  5. If you run the server, add gitea-server the same way, with a site admin’s token saved as gitea-admin.

The lists fill within a minute. A mistyped token is the usual reason they don’t: the page then notes that Gitea refused it.

Prompt for your agent

prompt
Add 3 Legato pages for Gitea, starting from https://legatobar.com/examples/gitea.json, https://legatobar.com/examples/gitea-repo.json, https://legatobar.com/examples/gitea-server.json. Use the page IDs gitea, gitea-repo, gitea-server if they’re free: the pages link to each other by those IDs, so with any other ID, change the matching legato://page/ links.

Add the gitea and gitea-repo pages as they are. Replace http://gitea.local:3000 with my Gitea’s address everywhere it appears on both pages: every source’s url, the health card’s link and the notes’ links. I’ll save an access token as gitea in Settings → Secrets myself. Only if I say I’m the site admin, also add gitea-server with the same address; I’ll save a site admin’s token as gitea-admin myself.

Use the local Legato MCP tools or /Applications/Legato.app/Contents/Helpers/legato.
Use list_pages first and choose an unused page ID. Do not overwrite an existing page. If I explicitly ask to update one, read its full body with get_page, preserve unrelated cards and settings, and use if_match with that version. On version_mismatch, read again before merging.
Ask me only for non-secret setup details that are missing. Never ask me to paste a password, token or API key into chat, page JSON or command arguments. Tell me to save it in Settings → Secrets for the service host, or link it from 1Password there.
Use the downloadable page, not the illustration’s sample data. Never invent readings. Fix any invalid_page paths and verify that the page loads. Do not press buttons that change the service or real devices to test it.

Download the pages

Questions

Which repositories are in the fleet?

The ones you own or belong to, through an organisation or as a collaborator, leaving out archived ones. The 24 most recently updated show, and the card’s title says so when there are more.

What does a grey dot mean?

That the default branch has no checks at all (no Actions workflow and nothing else reporting a status), or that nothing has been pushed yet. A dot that says CI not read is one Legato couldn’t ask about, usually because the default branch’s name has a slash in it, such as release/2026. On that repository’s page, CI says the same and Re-run failed jobs isn’t offered; the runs and everything else still show.

Why don’t notifications say why I got them?

Gitea’s API doesn’t send a reason. It says only whether a notification is about an issue or a pull request, and whether that’s closed or merged.

How is “Approved” worked out?

From each reviewer’s latest review, whether or not they’re an official reviewer. Changes requested by anyone comes first; otherwise one approval of the latest commit is enough to say Approved (an approval of an older commit doesn’t count). It doesn’t say whether branch protection’s required approvals are met. A pull request with 50 or more reviews shows its repository instead, since Legato reads one page of them.

What about older Gitea, or Forgejo?

The pages need Gitea 1.26 or later, for workflow runs and Re-run failed jobs. Forgejo started from Gitea but its API has moved on since; these pages haven’t been checked against it.

The pages were checked against Gitea 28.4.0 on 18 Nov 2026, on a self-hosted server with made-up users, an organisation, seven repositories, Actions runs passing, failing and running, reviews in each state, issues and notifications. Re-run failed jobs and Mark all read were pressed against it, and the server page was checked with a runner offline and a job waiting. Gitea 1.26 and 1.27 weren’t run: the pages follow those versions’ published API descriptions. Illustrations use made-up repositories, users and numbers. See the service index for other examples.

Legato is independent and isn’t affiliated with or endorsed by Gitea.