about summary refs log tree commit diff
path: root/README.md
blob: 7d4bdbf1878465b01df213f5ae8997b71c17ac6f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# shadowbox

git web viewer 

the only real thing i have planned over cgit (with pygments and commonmark filters)
is rendering images instead of hex dumping them like any other binary

run: `flask --app shadowbox run`

**todo**
- repo file list
- filetree
- individual file previews
	- syntax highlight code with pygments
	- render markdown with commonmark
	- display images
	- hex dumps for other binaries
	- link to raw file
	- file changelog (`git log <filename`)
	- single file diff with previous version
- commit page
	- `git show --patch --compact-summary --diff-algorithm=histogram --abbrev-commit --format="commit %h%d%nprevious %p%nauthored by %aN <%aE> at %cd%ncommitted by %cN <%cE> at %cd%n%n%B"`
	- and then drive that through pygments or [delta](https://github.com/dandavison/delta)
- repos with multiple refs (branches, tags, etc.)
	- diff any two commit-ishes
- allow incoming `git clone`