Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

A simple git server written in NodeJS.

License

NotificationsYou must be signed in to change notification settings

jaywcjlove/gitke

Repository files navigation

Install

sudo npm install -g gitke --unsafe-perm# running as root# Run Innstall nodegitnpm install nodegit --verbose# Run the servergitke# Open your browser and visit http://localhost:2018/
git push git@192.168.188.250:owner/repo.git mastergit clone ssh://root@123.123.123.123/opt/my-first-app.gitgit clone http://username:password@127.0.0.1:2018/owner/repo.gitgit clone http://127.0.0.1:2018/admin/test.gittestgit fetch http://127.0.0.1:2018/admin/test.gittest

Git APIs

Serving content of a file in a git repo.

The requested file is specified by:

  • {owner}: GitHub organization or user
  • {repo}: repository name
  • {ref}: Git reference
    • branch name (e.g.master)
    • tag name (e.g.v1.0)

Gitke URLs:

  • https://localhost:2018/{owner}/{repo}/raw/{ref}/path/to/file
  • http://localhost:2018/admin/gitke/raw/master/README.md

Git HTTP Transfer Protocols

Development

git clone https://github.com/jaywcjlove/gitke.gitsudo npm install --unsafe-perm# running as root# Orsudo yarn install# Run the app# Restart the app automatically every time code changes.# Useful during development.npm run dev

Open your browser and visithttp://localhost:2018/

License

The MIT License (MIT)

About

A simple git server written in NodeJS.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors2

  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp