Git Product home page Git Product logo

deno-git-server's Introduction

A fork of deno-git-server

A configurable git server written in Deno. With this code you can program a git-server running on deno yourself. If you are looking for a complete out-of-the-box software to run a deno git-server based on this code, you may take a look at hybriqor git repo server.

Changes to original deno-git-server

  • IP whitelist now optional
  • Basic auth supported
  • Hand back request to parent class if accessing client is not a git client (eg a web browser)
  • Display console message from server in git push console output

Install

  1. Install Git and Deno
  2. Clone this repo, change into its directory
  3. Type this in your console
deno run -A --unstable GitServer.js

runs on localhost:7005 by default

Usage

make a directory and change into it, init git, create a file, make a commit, set remote origin and push.

mkdir test
cd test
git init
touch test.txt
git add .
git commit -m 'initial commit'
git remote add origin http://localhost:7005/test
git push --set-upstream origin master

or

git push http://localhost:7005/test master

Links

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.