all repos — legit @ master

git web frontend written in Go

75bbbc13
bump to go v1.25.6
Raphael Sprenger
Fri, 30 Jan 2026 21:07:37 +0100
4a1ba59a
bump to go v1.25.5
Raphael Sprenger
Tue, 09 Dec 2025 20:13:55 +0100
51ff518e
add a commit heatmap graph to the frontpage
Raphael Sprenger
Fri, 15 Aug 2025 21:31:38 +0200
09f95056
fix minor issues
Raphael Sprenger
Sun, 10 Aug 2025 23:46:15 +0200
7dd44a33
remove tools I can't support
Raphael Sprenger
Sun, 10 Aug 2025 23:23:14 +0200
d0ed4449
remove tools I can't support
Raphael Sprenger
Sun, 10 Aug 2025 23:17:44 +0200
f627196d
update readme for new env variable structure
Raphael Sprenger
Sun, 10 Aug 2025 22:45:47 +0200
5dfdab89
update all external dependencies
Raphael Sprenger
Sun, 10 Aug 2025 22:41:03 +0200
d3723898
fix systemd service file
Raphael Sprenger
Sun, 10 Aug 2025 22:36:24 +0200
b151cf8d
switch to env variables instead of config.yaml
Raphael Sprenger
Sun, 10 Aug 2025 22:34:38 +0200
ed035d2e
Add Raphael Sprenger to LICENSE
Raphael Sprenger
Sun, 10 Aug 2025 22:25:21 +0200
2caec145
Embed templates and static files into the binary; replace filesystem-based template parsing with embedded templates.
Raphael Sprenger
Sun, 10 Aug 2025 22:24:09 +0200
5acac24d
deps: bump go-git to v5.13.2
Anirudh Oppiliappan
Sat, 15 Feb 2025 11:13:50 +0200
658e1edc
all: use securejoin for path joining
Anirudh Oppiliappan
Sat, 15 Feb 2025 11:07:29 +0200
f8f00566
deps: bump golang.org/x/crypto from 0.28.0 to 0.31.0 (#48)

Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.28.0 to 0.31.0.
- [Commits](https://github.com/golang/crypto/compare/v0.28.0...v0.31.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot]
Sat, 15 Feb 2025 11:11:07 +0200
9b685c8d
css: tiny fix for darkmode
Anirudh Oppiliappan
Sun, 26 Jan 2025 20:35:51 +0200
ec84ea1c
routes: sanitize readme content for non markdown files
Anirudh Oppiliappan
Thu, 16 Jan 2025 11:39:54 +0200
98546565
css: remove custom font features
Anirudh Oppiliappan
Thu, 16 Jan 2025 11:25:05 +0200
64f6ad72
css: revert to default system font

Also removes my CDN from head.html along with the relevant note in the
readme.
Anirudh Oppiliappan
Thu, 16 Jan 2025 11:17:05 +0200
9691bbfa
css: fix typo
Anirudh Oppiliappan
Fri, 15 Nov 2024 21:36:24 +0200
6d39fbcc
css: update default font and colors
Anirudh Oppiliappan
Sun, 10 Nov 2024 15:16:27 +0200
e108c4e9
deps: bump all
Anirudh Oppiliappan
Sun, 06 Oct 2024 17:53:23 +0300
3994d554
readme: reword, mention docker images
Anirudh Oppiliappan
Sun, 06 Oct 2024 17:49:51 +0300
ad3e8f6b
actions: build and push docker
Anirudh Oppiliappan
Sun, 06 Oct 2024 17:29:41 +0300
7b90e8ea
docs: add info about syntaxHighlight usage
Gabriel A. Giovanini
Sun, 14 Jul 2024 16:24:26 +0200
34521a5b
routes: add syntax highlight
Gabriel A. Giovanini
Sun, 14 Jul 2024 16:21:33 +0200
de182443
deps: add chroma as dependency
Gabriel A. Giovanini
Sun, 14 Jul 2024 16:18:38 +0200
d0c52202
git: show lightweight annotated tags (#42)

The "TagObjects" function only returns annotated tags (the ones created
with "-a"). Git interpretes lightweight and annotated tags[^1]
differently, so we need to query all reference and check which one have
a tag object attached.

[^1]: https://git-scm.com/book/en/v2/Git-Basics-Tagging
Gabriel
Fri, 04 Oct 2024 17:52:56 +0200
4447fcda
git: add unlisted repositories

Marco Andronaco
Fri, 04 Oct 2024 15:52:08 +0000
c75aa9f5
contrib: update docker-compose.yml as well
Marco Andronaco
Thu, 03 Oct 2024 12:43:09 +0200
49d83231
contrib: update Dockerfile
Marco Andronaco
Wed, 02 Oct 2024 12:08:03 +0200
fba146ac
git: use system's git upload-pack

This is an intermediate workaround for
https://github.com/go-git/go-git/issues/1062. This should also fix #33.
Anirudh Oppiliappan
Sat, 13 Jul 2024 20:06:37 +0300
67e355d5
deps: bump golang.org/x/net from 0.22.0 to 0.23.0 (#40)

dependabot[bot]
Sat, 13 Jul 2024 15:50:25 +0530
8a548643
readme: fix a thing
Anirudh Oppiliappan
Sat, 13 Jul 2024 13:18:05 +0300
68f08e38
git: fix getDisplayName
Anirudh Oppiliappan
Fri, 05 Jul 2024 19:56:24 +0300
72a658a3
routes: ignore files
Anirudh Oppiliappan
Fri, 05 Jul 2024 19:49:50 +0300
68184129
nix: fix docker build
Anirudh Oppiliappan
Fri, 05 Jul 2024 19:49:35 +0300
03124550
css: dark theme

Marco Andronaco
Fri, 05 Jul 2024 16:36:36 +0000
8a0ebe22
git: hide .git extension

Marco Andronaco
Fri, 05 Jul 2024 16:32:34 +0000
9d1d6aae
templates: Add link to tar gz handler endpoint
Gabriel A. Giovanini
Sun, 23 Jun 2024 15:21:41 +0200
acac8d47
routes: Add handler to generate tar gz file
Gabriel A. Giovanini
Sun, 23 Jun 2024 15:20:47 +0200
86b2bf47
git: Add function to generate tar file from repo
Gabriel A. Giovanini
Sun, 23 Jun 2024 15:19:15 +0200
7e3307ef
nix: init flake
Anirudh Oppiliappan
Sun, 16 Jun 2024 23:32:49 +0300
21627fed
readme: misc updates
Anirudh Oppiliappan
Mon, 08 Apr 2024 14:30:43 +0300
a13ced49
re-add accidentally removed code for raw file view
lillian
Fri, 29 Mar 2024 21:04:05 -0400
892ba7e5
readme: remove frivolous line from notes
Anirudh Oppiliappan
Wed, 27 Mar 2024 00:46:00 +0200
cd22584c
routes: switch to net/http router

BREAKING: This commit reworks routes.Handlers (and everywhere else) to
use http.ServeMux -- and subsequently, Go 1.22's new net/http router.
This might break something.
Anirudh Oppiliappan
Wed, 27 Mar 2024 00:39:33 +0200
a87f88a5
routes: add raw file view
Anirudh Oppiliappan
Sun, 25 Feb 2024 23:15:21 +0200
bdfc9732
deps: bump go-git 

Bumps [github.com/go-git/go-git/v5](https://github.com/go-git/go-git) from 5.6.1 to 5.11.0.
- [Release notes](https://github.com/go-git/go-git/releases)
- [Commits](https://github.com/go-git/go-git/compare/v5.6.1...v5.11.0)

---
updated-dependencies:
- dependency-name: github.com/go-git/go-git/v5
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot]
Wed, 27 Dec 2023 17:20:48 +0200
b2b18250
templates: add missing title to repo page
Anirudh Oppiliappan
Sun, 05 Nov 2023 10:27:04 +0200
30c0f3ee
log errors from git.Open
Anirudh Oppiliappan
Sun, 05 Nov 2023 10:03:43 +0200
8f9e7f14
fix broken mailto: link in commit template

Gil Poiares-Oliveira
Mon, 15 May 2023 09:33:11 +0100
0191fc88
contrib: add systemd service file

Akilesh Kannan
Sun, 16 Apr 2023 10:34:46 +0530
dc07fff4
deps: revert go-gitdiff bump
Anirudh Oppiliappan
Fri, 07 Apr 2023 21:26:12 +0300
847910c2
deps: bump
Anirudh Oppiliappan
Fri, 07 Apr 2023 21:22:17 +0300
d1774f5a
css: fix table overflow
Anirudh Oppiliappan
Sun, 19 Mar 2023 22:46:04 +0200
4f5d35ff
how did that happen
Anirudh Oppiliappan
Sun, 12 Mar 2023 00:22:12 +0530
5dc6516d
bump x/net
Anirudh Oppiliappan
Sat, 18 Feb 2023 14:18:33 +0530
1574bbec
cleaner titles

by nilix
Anirudh Oppiliappan
Sat, 18 Feb 2023 14:16:43 +0530
d5a33e91
fix buffer overflow in countlines for files greater than 32k

Signed-off-by: Derek Stevens <nilix@nilfm.cc>
Derek Stevens
Sun, 05 Feb 2023 09:50:53 -0700
c90b2b51
contrib: docker support (#20)

Gil Poiares-Oliveira
Tue, 14 Feb 2023 18:32:49 +0000
22cf7a4a
templates: fix tags
Anirudh Oppiliappan
Sun, 05 Feb 2023 16:04:33 +0530
b78354ae
tree: directories first, add size column, fix ..

Signed-off-by: Derek Stevens <nilix@nilfm.cc>
Derek Stevens
Wed, 01 Feb 2023 23:01:36 -0700
ee800624
fix line count for files that don't end in a newline

Signed-off-by: Derek Stevens <nilix@nilfm.cc>
Derek Stevens
Wed, 01 Feb 2023 22:08:04 -0700
ee5ab32a
utils: Add helper to get all repos

This does a filepath.WalkDir of the config.ScanPath and tries to find
all valid git repos. It returns a list of repoInfo structs holding basic
information of each repository.
Daniele Sluijters
Tue, 03 Jan 2023 14:42:34 +0100
ee459fce
docs: Expand on repo.ignore

Make it clear the expectation is the paths are relative to scanPath.
Daniele Sluijters
Tue, 03 Jan 2023 14:36:58 +0100
8586d930
config: Ensure we always have an absolute path

Having this consistent across the code is handy when we're building
paths, counting separators and other path manipulation.
Daniele Sluijters
Tue, 03 Jan 2023 14:35:36 +0100
1e7b6381
readme: tiny thing
Anirudh Oppiliappan
Sun, 05 Feb 2023 15:17:27 +0530
de046690
only add go meta import tag if go.mod exists in repo root

This is a multipart message in MIME format.

Pretty self-explanitory :3

Signed-off-by: Derek Stevens <nilix@nilfm.cc>
Derek Stevens
Tue, 31 Jan 2023 21:30:40 -0700
3060c752
sort tags and deduplicate

This sorts the tags reverse-chronologically.

If any tags have the same name (shouldn't happen but it does in some of my
repos), we use whichever one is "newer".

Signed-off-by: Derek Stevens <nilix@nilfm.cc>
Derek Stevens
Tue, 31 Jan 2023 21:29:38 -0700
e782f36f
add style tweaks

Signed-off-by: Derek Stevens <nilix@nilfm.cc>
Derek Stevens
Tue, 31 Jan 2023 21:28:42 -0700
7a512b1d
markdown: more file exts, fix img
Anirudh Oppiliappan
Mon, 26 Dec 2022 12:04:09 +0530
49b8b292
css: fix ul padding in readme
Anirudh Oppiliappan
Mon, 26 Dec 2022 11:57:00 +0530
95dec0f0
routes: render markdown readmes in repo index (#11)

James Mills
Mon, 26 Dec 2022 16:20:08 +1000
0547b042
css: set repo desc font weight to normal
Anirudh Oppiliappan
Sat, 24 Dec 2022 16:50:44 +0530
5912a0bc
css: bottom padding in refs pre
Anirudh Oppiliappan
Sat, 24 Dec 2022 15:13:40 +0530
845cce8e
css: lose grid layout in refs
Anirudh Oppiliappan
Sat, 24 Dec 2022 15:11:48 +0530
08c49d4d
unveil: remove git executable and /dev/null
Anirudh Oppiliappan
Sat, 24 Dec 2022 15:05:04 +0530
fa66c4fa
git: pure go git clone
Anirudh Oppiliappan
Sat, 24 Dec 2022 14:57:44 +0530
983dabb3
css: wrap refs pre
Anirudh Oppiliappan
Thu, 22 Dec 2022 21:19:00 +0530
30559cd9
readme: unveil and ideas
Anirudh Oppiliappan
Thu, 22 Dec 2022 21:15:57 +0530
f661e6e4
config: add repo.ignore
Anirudh Oppiliappan
Thu, 22 Dec 2022 21:13:49 +0530
2b57b6e0
unveil: /dev/null
Anirudh Oppiliappan
Thu, 22 Dec 2022 16:24:31 +0530
2fe14eca
unveil: reorder
Anirudh Oppiliappan
Thu, 22 Dec 2022 16:18:15 +0530
d58151db
css: reduce pre font size
Anirudh Oppiliappan
Thu, 22 Dec 2022 14:45:22 +0530
a64f9d8f
css: set pre font

lol
Anirudh Oppiliappan
Thu, 22 Dec 2022 14:27:54 +0530
d6b8143f
css: ui-monospace

ref: https://stackoverflow.com/a/64133415
Anirudh Oppiliappan
Thu, 22 Dec 2022 13:33:27 +0530
6e6648e3
unveil: add git executable
Anirudh Oppiliappan
Thu, 22 Dec 2022 11:22:47 +0530
0ed4b29f
clean up long line
Anirudh Oppiliappan
Thu, 22 Dec 2022 11:20:02 +0530
45d1c6c2
unveil: cleanup code in main.go
zak
Thu, 22 Dec 2022 00:37:04 +1000
8c129f88
unveil: log each call
zak
Thu, 22 Dec 2022 00:22:08 +1000
4aa8cbff
unveil: initial commit
zak
Thu, 22 Dec 2022 00:17:33 +1000
d0f5d874
css: change iOS mono font
Anirudh Oppiliappan
Thu, 22 Dec 2022 11:02:48 +0530
86eb6431
templates: improve this & parent commit
Anirudh Oppiliappan
Thu, 22 Dec 2022 10:58:41 +0530
13757407
Link to parent commit file version in commit view

It makes sense for [oldfile] in [oldfile]->[newfile] to link to the
previous version. This is also how cgit behaves.
phire
Tue, 20 Dec 2022 09:41:55 +0100
e5d35c4d
css: scroll file content x-axis only

- we don't need any overflow scrolling for the y-axis.
- set overflow-x to 'auto' so that the scroll bar only shows
  when the content does overflow.
zak
Tue, 20 Dec 2022 11:45:29 +1000
42bce066
readme: add note clarifying cloning
Anirudh Oppiliappan
Mon, 19 Dec 2022 22:33:33 +0530
150d81df
diff: scroll diff on overflow
Anirudh Oppiliappan
Mon, 19 Dec 2022 22:15:03 +0530
2f508f86
add license

closes #2
Anirudh Oppiliappan
Mon, 19 Dec 2022 18:09:45 +0530
263a1509
diff: show diff type
Anirudh Oppiliappan
Mon, 19 Dec 2022 18:07:13 +0530
194ec63d
file: separate content and line numbers
Anirudh Oppiliappan
Mon, 19 Dec 2022 17:52:42 +0530
2b9b2bdb
css: add bg to readme/file content
Anirudh Oppiliappan
Mon, 19 Dec 2022 17:49:32 +0530
d1a2847a
index: turn off logging, it's too noisy
Anirudh Oppiliappan
Mon, 19 Dec 2022 17:38:21 +0530
203fb6c5
readme: clarify license
Anirudh Oppiliappan
Mon, 19 Dec 2022 17:37:30 +0530
e0e4c1eb
css: scroll file content
Anirudh Oppiliappan
Mon, 19 Dec 2022 17:12:42 +0530
f3c20bcb
decrease prominence of author info in ui
Alexander Cobleigh
Mon, 19 Dec 2022 12:25:56 +0100
27ed90c5
unveil: clarify its uselessness
Anirudh Oppiliappan
Mon, 19 Dec 2022 12:08:31 +0530
a0524401
git: check for binary files
Anirudh Oppiliappan
Mon, 19 Dec 2022 11:36:50 +0530
8ba1a960
add favicon
Anirudh Oppiliappan
Mon, 19 Dec 2022 11:25:49 +0530
9a8041a2
readme: more info
Anirudh Oppiliappan
Mon, 19 Dec 2022 10:52:16 +0530
fc65017b
config: fix yaml
Anirudh Oppiliappan
Mon, 19 Dec 2022 09:57:25 +0530
df0962a3
all: no more pretty urls
Anirudh Oppiliappan
Mon, 19 Dec 2022 09:02:23 +0530
232a3603
templates: message under tag name
Anirudh Oppiliappan
Sun, 18 Dec 2022 22:15:58 +0530
99a092b8
css: default monospace font
Anirudh Oppiliappan
Sun, 18 Dec 2022 22:08:03 +0530
089ada4c
config: fix go-import pretty url
Anirudh Oppiliappan
Sun, 18 Dec 2022 21:00:36 +0530
0e6eaa21
css: single column index on small screens
Anirudh Oppiliappan
Sun, 18 Dec 2022 20:07:27 +0530
d0d636aa
all: go-import, clone url
Anirudh Oppiliappan
Sun, 18 Dec 2022 20:00:19 +0530
2e3c3103
log: cleaner view
Anirudh Oppiliappan
Sun, 18 Dec 2022 12:18:43 +0530
8f8f205c
routes: skip unopenable dirs
Anirudh Oppiliappan
Sun, 18 Dec 2022 11:43:50 +0530
08255439
config: scan path
Anirudh Oppiliappan
Sun, 18 Dec 2022 11:22:26 +0530
85d1bf73
routes: sort repo index by last idle
Anirudh Oppiliappan
Sun, 18 Dec 2022 11:19:14 +0530
7fe98772
templates: add title tags
Anirudh Oppiliappan
Sun, 18 Dec 2022 11:14:38 +0530
5ea7cae9
unveil: init
Anirudh Oppiliappan
Sun, 18 Dec 2022 11:04:11 +0530
60298a69
git: rework diff to fetch initial commit
Anirudh Oppiliappan
Sun, 18 Dec 2022 10:42:29 +0530
e4d12fc6
templates: unified repo-header
Anirudh Oppiliappan
Sun, 18 Dec 2022 10:42:18 +0530
3e6a7201
git, templates: diff view
Anirudh Oppiliappan
Sat, 17 Dec 2022 22:35:48 +0530
5091695e
templates: repo and log
Anirudh Oppiliappan
Sat, 17 Dec 2022 21:33:04 +0530
4eaaf451
css: wrong name
Anirudh Oppiliappan
Sat, 17 Dec 2022 12:47:54 +0530
9649b3ed
templates: index rework
Anirudh Oppiliappan
Sat, 17 Dec 2022 12:46:09 +0530
d083d5d7
routes: serve static content from /static
Anirudh Oppiliappan
Sat, 17 Dec 2022 12:45:21 +0530
b833d2f7
readme: some bs
Anirudh Oppiliappan
Thu, 15 Dec 2022 11:31:03 +0530
f8829d9e
routes: disable git push
Anirudh Oppiliappan
Wed, 14 Dec 2022 21:40:01 +0530
abe30076
routes: wildcard multiplex route at the end
Anirudh Oppiliappan
Wed, 14 Dec 2022 21:19:34 +0530
1b27f32c
routes: multiplex git and web ui
Anirudh Oppiliappan
Wed, 14 Dec 2022 21:14:34 +0530
1872ca72
routes: description and humanized time to index
Anirudh Oppiliappan
Wed, 14 Dec 2022 17:38:48 +0530
d879c2df
template: line numbers for file view
Anirudh Oppiliappan
Tue, 13 Dec 2022 11:50:39 +0530
eda8b58d
git: find main branch from config
Anirudh Oppiliappan
Tue, 13 Dec 2022 09:58:40 +0530
551c6637
deps: bump go-git

Now builds without cgo.
Anirudh Oppiliappan
Tue, 13 Dec 2022 09:11:52 +0530
462c7ddc
config: server host and port
Anirudh Oppiliappan
Mon, 12 Dec 2022 22:58:23 +0530
60e1092d
templates: tree and log links for tags
Anirudh Oppiliappan
Mon, 12 Dec 2022 22:13:19 +0530
7a6ff356
routes: refs view
Anirudh Oppiliappan
Mon, 12 Dec 2022 21:58:47 +0530
01f27147
routes: index view
Anirudh Oppiliappan
Mon, 12 Dec 2022 21:33:09 +0530
82b8afe1
routes: render readme
Anirudh Oppiliappan
Mon, 12 Dec 2022 20:53:58 +0530
7d99afc5
templates: fix 404 and 500
Anirudh Oppiliappan
Mon, 12 Dec 2022 20:53:44 +0530
f04137f8
template: render diff header lines
Anirudh Oppiliappan
Mon, 12 Dec 2022 18:02:07 +0530
c165c447
git, routes: commit diff view
Anirudh Oppiliappan
Mon, 12 Dec 2022 17:17:49 +0530
ce71721c
routes, templates: tree and log views
Anirudh Oppiliappan
Sun, 11 Dec 2022 21:17:04 +0530
e0f34796
git: fix trees
Anirudh Oppiliappan
Sun, 11 Dec 2022 21:16:42 +0530
ac6ca71f
routes: file content view
Anirudh Oppiliappan
Sun, 11 Dec 2022 14:18:39 +0530
ab30497e
git: file content at ref
Anirudh Oppiliappan
Sun, 11 Dec 2022 14:18:25 +0530
6857a2f0
routes: split repo index and files views
Anirudh Oppiliappan
Sun, 11 Dec 2022 12:29:50 +0530
d62fb144
git: fetch files only using ref
Anirudh Oppiliappan
Sun, 11 Dec 2022 12:29:33 +0530
856f6680
all: init
Anirudh Oppiliappan
Sun, 11 Dec 2022 11:22:47 +0530