Skip to content

Te4nick/gitly

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

375 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gitly

CI

GitHub/GitLab alternative written in V.

https://gitly.org

  • Light and fast
  • Minimal amount of RAM usage (works great on the cheapest $3.5 AWS Lightsail instance)
  • Easy to deploy (a single <1 MB binary that includes compiled templates)
  • Works without JavaScript
  • Detailed language stats for each directory
  • "Top files" feature to give an overview of the project

This is alpha software

The V web framework and Gitly are at an early stage of development. Lots of features are missing. The biggest missing features that will be implemented soon:

  • Multiple users and multiple repos
  • git push
  • Access via ssh
  • Pull requests
v build.vsh
./gitly

Gitly builds against PostgreSQL by default. Create the default PostgreSQL role/database with:

v run setup_db.vsh

To build a SQLite-backed binary instead, use:

v -d sqlite .
./gitly

The SQLite database path defaults to gitly.sqlite and can be changed with sqlite.path in config.json or GITLY_SQLITE_PATH. PostgreSQL settings can be changed with pg in config.json, GITLY_DB_* environment variables, or the usual PG* environment variables.

If you don't want to install sassc, you can simply run

curl https://gitly.org/css/gitly.css --output static/css/gitly.css

Required dependencies:

  • V 0.4.2 93ff40a (https://vlang.io)
  • SQLite (Ubuntu/Debian: libsqlite3-dev)
  • PostgreSQL client library (Ubuntu/Debian: libpq-dev, macOS: brew install libpq)
  • Markdown (v install markdown)
  • sassc

Features

  • Track performance in CI
  • "Top files" mode

About

Light and fast GitHub/GitLab alternative written in V

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • V 68.5%
  • HTML 19.1%
  • SCSS 9.4%
  • JavaScript 2.7%
  • Other 0.3%