Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/healeycodes/self-forge

Self-host your GitHub repositories via a lightweight user interface.
https://github.com/healeycodes/self-forge

git go-git self-host

Last synced: 15 days ago
JSON representation

Self-host your GitHub repositories via a lightweight user interface.

Awesome Lists containing this project

README

        

# self-forge

_(Under construction)_

Self-host your GitHub repositories and serve them with a lightweight user interface (no JS or CSS).

![Repository page – branches, commits, and files](preview.png)

## TODO

- Server-rendered method to highlight lines of code.
- Add pagination to the GitHub API to get all public repositories.
- Run (and proxy) a git server to allow `git clone` from this mirror.
- e2e tests (currently there's some integration tests).

## Run

- `PORT` serve from `:{PORT}`
- `GITHUB_USERNAME` clone/fetch/pull/host this account's public repositories

```bash
PORT="80" GITHUB_USERNAME="healeycodes" go run ./cmd
```

## Test

```bash
go test -v ./test
```