0 branches
Tree Top files
Code
Clone with HTTPS:
56 years ago
ci all: vfmt last May 12
tests all: vfmt last May 12
issue.v 6.13 KB
issue_routes.v 6.36 KB
main.v 2.53 KB
milestone.v 1.9 KB
pr.v 6.9 KB
pr_routes.v 20.14 KB
project.v 3.82 KB
run.sh 63 bytes
search_routes.v 567 bytes
settings.v 1.71 KB
setup_db.vsh 6.47 KB
token.v 834 bytes
two_factor.v 2.97 KB
utils.v 1.54 KB
v.mod 207 bytes
webhook.v 4.7 KB
.gitignore static path fix last May 10 197 bytes
LICENSE Initial commit 5 years ago 34.33 KB
build.vsh static path fix last May 10 404 bytes
cli.v all: vfmt last May 12 908 bytes
database.v pg/sqlite orm last May 2 276 bytes
database_test.v pg/sqlite orm last May 2 357 bytes
deploy.vsh fix is public last Jan 24 923 bytes
feed.v pg/sqlite orm last May 2 1.85 KB
feed_routes.v full path not needed last Apr 22 1.1 KB
1 MiB

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 projectThis is alpha softwareThe 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:
  • [x] Multiple users and multiple repos
  • [x] 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
  • Release files can only be generated by CI/CD, with the version of the tree used always available. This prevents malware binaries.