Go to file T
Code
.github Add build infra: Makefile, golangci-lint, air, GitHub Actions CI
cmd S28: code-index + reconciler jobs; push:process kicks index_code
docs S28: docs/internal/search.md
internal S28: /search + /search/quick handlers, templates, top-bar nav
scripts H5: lint-policy-boundary catches != and visibility-literal patterns
seeds Add sqlc config + meta queries + generated metadb package + integration test
.air.toml Add build infra: Makefile, golangci-lint, air, GitHub Actions CI
.env.example Add docs/internal/2fa.md, extend config reference, add SHITHUB_TOTP_KEY env example
.gitignore Extend .gitignore for build artifacts and editor junk
.golangci.yml Add build infra: Makefile, golangci-lint, air, GitHub Actions CI
CONTRIBUTING.md Add README, CONTRIBUTING, SECURITY (pre-launch posture)
LICENSE Add AGPLv3 LICENSE
Makefile S25: lint-markdown-boundary forbids goldmark/bluemonday outside internal/markdown
README.md Add README, CONTRIBUTING, SECURITY (pre-launch posture)
SECURITY.md Add README, CONTRIBUTING, SECURITY (pre-launch posture)
docker-compose.yml swap MailHog for Mailpit (native arm64, drop-in)
go.mod S19: add go-gitdiff dep
go.sum S19: add go-gitdiff dep
sqlc.yaml S26: socialdb sqlc bucket; extend repos SELECTs with star/watcher counts

shithub

GitHub. Open source. Without Copilot.

shithub is a feature-complete, self-hostable, AGPL-licensed clone of GitHub. The full experience — repos, issues, pull requests, organizations, actions, social feed, search, settings, ssh & https git protocols — minus the AI integrations.

Status: pre-launch. Not yet hosted. The codebase is currently developed against an embedded plan; expect rapid change.

Why

GitHub is a well-built platform with broad feature coverage. The aggressive Copilot push has changed the product's character. shithub aims to recreate the parts that worked while staying honest about what an open-source forge can be.

Quickstart (development)

make dev          # hot-reload server on http://localhost:8080
make test         # run tests
make build        # build bin/shithubd
make ci           # full CI pipeline locally (mirrors GitHub Actions)

Requires:

  • Go 1.22+
  • golangci-lint, gofumpt, goimports, air (installed via go install per the Makefile or Homebrew)

Layout

cmd/shithubd/   # main entry point + subcommands (web, ssh, worker, migrate, version, ...)
internal/       # domain packages (web, auth, repo, git, issues, pulls, ...)
templates/      # html/template files
static/         # css, js, images, logo
migrations/     # SQL migrations
docs/           # public-facing docs
deploy/         # Ansible playbooks + systemd units

License

AGPLv3. See LICENSE.

Status

Pre-launch. See CONTRIBUTING.md for the current contribution posture.

Security

To report a security issue, see SECURITY.md. Please do not open a public issue for security reports.