all repos — legit @ 68f08e38aada8d5e8f89679121beef9104430942

web frontend for git

68f08e38
git: fix getDisplayName
Anirudh Oppiliappan x@icyphox.sh
Fri, 05 Jul 2024 19:56:24 +0300
72a658a3
routes: ignore files
Anirudh Oppiliappan x@icyphox.sh
Fri, 05 Jul 2024 19:49:50 +0300
68184129
nix: fix docker build
Anirudh Oppiliappan x@icyphox.sh
Fri, 05 Jul 2024 19:49:35 +0300
03124550
css: dark theme

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

Marco Andronaco andronacomarco@gmail.com
Fri, 05 Jul 2024 16:32:34 +0000
9d1d6aae
templates: Add link to tar gz handler endpoint
Gabriel A. Giovanini mail@gabrielgio.me
Sun, 23 Jun 2024 15:21:41 +0200
acac8d47
routes: Add handler to generate tar gz file
Gabriel A. Giovanini mail@gabrielgio.me
Sun, 23 Jun 2024 15:20:47 +0200
86b2bf47
git: Add function to generate tar file from repo
Gabriel A. Giovanini mail@gabrielgio.me
Sun, 23 Jun 2024 15:19:15 +0200
7e3307ef
nix: init flake
Anirudh Oppiliappan x@icyphox.sh
Sun, 16 Jun 2024 23:32:49 +0300
21627fed
readme: misc updates
Anirudh Oppiliappan x@icyphox.sh
Mon, 08 Apr 2024 14:30:43 +0300
a13ced49
re-add accidentally removed code for raw file view
lillian lillian@nowhere
Fri, 29 Mar 2024 21:04:05 -0400
892ba7e5
readme: remove frivolous line from notes
Anirudh Oppiliappan x@icyphox.sh
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 x@icyphox.sh
Wed, 27 Mar 2024 00:39:33 +0200
a87f88a5
routes: add raw file view
Anirudh Oppiliappan x@icyphox.sh
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] 49699333+dependabot[bot]@users.noreply.github.com
Wed, 27 Dec 2023 17:20:48 +0200
b2b18250
templates: add missing title to repo page
Anirudh Oppiliappan x@icyphox.sh
Sun, 05 Nov 2023 10:27:04 +0200
30c0f3ee
log errors from git.Open
Anirudh Oppiliappan x@icyphox.sh
Sun, 05 Nov 2023 10:03:43 +0200
8f9e7f14
fix broken mailto: link in commit template

Gil Poiares-Oliveira gil@poiares-oliveira.com
Mon, 15 May 2023 09:33:11 +0100
0191fc88
contrib: add systemd service file

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

by nilix
Anirudh Oppiliappan x@icyphox.sh
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 nilix@nilfm.cc
Sun, 05 Feb 2023 09:50:53 -0700
c90b2b51
contrib: docker support (#20)

Gil Poiares-Oliveira gil@poiares-oliveira.com
Tue, 14 Feb 2023 18:32:49 +0000
22cf7a4a
templates: fix tags
Anirudh Oppiliappan x@icyphox.sh
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 nilix@nilfm.cc
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 nilix@nilfm.cc
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 daenney@users.noreply.github.com
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 daenney@users.noreply.github.com
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 daenney@users.noreply.github.com
Tue, 03 Jan 2023 14:35:36 +0100
1e7b6381
readme: tiny thing
Anirudh Oppiliappan x@icyphox.sh
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 nilix@nilfm.cc
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 nilix@nilfm.cc
Tue, 31 Jan 2023 21:29:38 -0700
e782f36f
add style tweaks

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

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

lol
Anirudh Oppiliappan x@icyphox.sh
Thu, 22 Dec 2022 14:27:54 +0530
d6b8143f
css: ui-monospace

ref: https://stackoverflow.com/a/64133415
Anirudh Oppiliappan x@icyphox.sh
Thu, 22 Dec 2022 13:33:27 +0530
6e6648e3
unveil: add git executable
Anirudh Oppiliappan x@icyphox.sh
Thu, 22 Dec 2022 11:22:47 +0530
0ed4b29f
clean up long line
Anirudh Oppiliappan x@icyphox.sh
Thu, 22 Dec 2022 11:20:02 +0530
45d1c6c2
unveil: cleanup code in main.go
zak e-zk@users.noreply.github.com
Thu, 22 Dec 2022 00:37:04 +1000
8c129f88
unveil: log each call
zak e-zk@users.noreply.github.com
Thu, 22 Dec 2022 00:22:08 +1000
4aa8cbff
unveil: initial commit
zak e-zk@users.noreply.github.com
Thu, 22 Dec 2022 00:17:33 +1000
d0f5d874
css: change iOS mono font
Anirudh Oppiliappan x@icyphox.sh
Thu, 22 Dec 2022 11:02:48 +0530
86eb6431
templates: improve this & parent commit
Anirudh Oppiliappan x@icyphox.sh
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 me@phire.cc
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 e-zk@users.noreply.github.com
Tue, 20 Dec 2022 11:45:29 +1000
42bce066
readme: add note clarifying cloning
Anirudh Oppiliappan x@icyphox.sh
Mon, 19 Dec 2022 22:33:33 +0530
150d81df
diff: scroll diff on overflow
Anirudh Oppiliappan x@icyphox.sh
Mon, 19 Dec 2022 22:15:03 +0530
2f508f86
add license

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

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