Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

bezzer/git-server

Open more actions menu

Repository files navigation

Git Server

This project features a simple git server and API built around it that allows users to create, push, pull and read information about the repo.

Gettings started

  1. Install dependecies yarn
  2. Start server yarn start (or alternatively start in devmode with yarn dev)

Routes

Git

Git repos are accessed via http on /:user/:repo.git

Browse API

  • POST /api/:user/:repo - create a new repo for the user
  • GET /api/:user - list the user's repos
  • GET /api/:user/:repo - list commits on the repo
  • GET /api/:user/:repo/:path - list files at path

View file contents

  • GET /raw/:user/:repo/:commit/:path - View/download the file contents

License

MIT

About

A simple git server with API built using node

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.