self-forge

module
v0.0.0-...-9cb7562 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 4, 2022 License: MIT

README

self-forge

(Under construction)

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

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
PORT="80" GITHUB_USERNAME="healeycodes" go run ./cmd

Test

go test -v ./test

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL