Derek Stevens
b78354aee2
tree: directories first, add size column, fix ..
...
Signed-off-by: Derek Stevens <nilix@nilfm.cc>
2023-02-08 00:30:57 +05:30
Derek Stevens
ee800624f5
fix line count for files that don't end in a newline
...
Signed-off-by: Derek Stevens <nilix@nilfm.cc>
2023-02-08 00:30:51 +05:30
Daniele Sluijters
ee5ab32a40
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.
2023-02-05 12:45:46 +02:00
Derek Stevens
de046690c0
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>
2023-02-05 15:12:02 +05:30
Anirudh Oppiliappan
7a512b1da6
markdown: more file exts, fix img
2022-12-26 12:04:09 +05:30
James Mills
95dec0f056
routes: render markdown readmes in repo index ( #11 )
2022-12-26 11:50:08 +05:30
Anirudh Oppiliappan
fa66c4faa8
git: pure go git clone
2022-12-24 14:57:44 +05:30
Anirudh Oppiliappan
f661e6e4ce
config: add repo.ignore
2022-12-22 21:13:49 +05:30
Anirudh Oppiliappan
d1a2847a26
index: turn off logging, it's too noisy
2022-12-19 17:38:21 +05:30
Anirudh Oppiliappan
df0962a39e
all: no more pretty urls
2022-12-19 09:02:23 +05:30
Anirudh Oppiliappan
089ada4cac
config: fix go-import pretty url
2022-12-18 21:00:36 +05:30
Anirudh Oppiliappan
d0d636aa89
all: go-import, clone url
2022-12-18 20:00:19 +05:30
Anirudh Oppiliappan
8f8f205ce5
routes: skip unopenable dirs
2022-12-18 11:43:50 +05:30
Anirudh Oppiliappan
85d1bf7355
routes: sort repo index by last idle
2022-12-18 11:19:14 +05:30
Anirudh Oppiliappan
7fe98772b0
templates: add title tags
2022-12-18 11:14:38 +05:30
Anirudh Oppiliappan
60298a6953
git: rework diff to fetch initial commit
2022-12-18 10:42:53 +05:30
Anirudh Oppiliappan
3e6a720154
git, templates: diff view
2022-12-17 22:35:48 +05:30
Anirudh Oppiliappan
5091695e75
templates: repo and log
2022-12-17 21:33:04 +05:30
Anirudh Oppiliappan
d083d5d72e
routes: serve static content from /static
2022-12-17 12:45:21 +05:30
Anirudh Oppiliappan
f8829d9e14
routes: disable git push
2022-12-14 21:40:01 +05:30
Anirudh Oppiliappan
abe300762f
routes: wildcard multiplex route at the end
2022-12-14 21:19:34 +05:30
Anirudh Oppiliappan
1b27f32cc2
routes: multiplex git and web ui
2022-12-14 21:14:34 +05:30
Anirudh Oppiliappan
1872ca726a
routes: description and humanized time to index
2022-12-14 17:39:27 +05:30
Anirudh Oppiliappan
d879c2dfb0
template: line numbers for file view
2022-12-13 11:50:39 +05:30
Anirudh Oppiliappan
eda8b58d9f
git: find main branch from config
2022-12-13 09:58:40 +05:30
Anirudh Oppiliappan
7a6ff3565e
routes: refs view
2022-12-12 21:58:47 +05:30
Anirudh Oppiliappan
01f27147ba
routes: index view
2022-12-12 21:33:09 +05:30
Anirudh Oppiliappan
82b8afe19b
routes: render readme
2022-12-12 20:53:58 +05:30
Anirudh Oppiliappan
c165c44768
git, routes: commit diff view
2022-12-12 17:17:49 +05:30
Anirudh Oppiliappan
ce71721c6d
routes, templates: tree and log views
2022-12-11 21:17:04 +05:30
Anirudh Oppiliappan
ac6ca71f01
routes: file content view
2022-12-11 14:18:39 +05:30
Anirudh Oppiliappan
6857a2f002
routes: split repo index and files views
2022-12-11 12:29:50 +05:30
Anirudh Oppiliappan
856f66808b
all: init
2022-12-11 11:22:47 +05:30