GIT Web Terminal
First version of the app was created on codepen.
Steps to make changes to remote git repo (tested with github):
- clone repo using
git clone(using https url),
- cd to directory,
- edit file using
git loginand put your credentials (user/pass is for push and the rest is for commit),
git commit -am "message"or
git add -Athen
git commit -m "<MESSAGE>",
git pushto push your changes to remote.
Web app viewer
If you're working on web app you can open it from browser just prefix the path with
__browserfs__ the app
is using service worker to serve files from browser fs. So if you clone this repo you will be able to view the local file
using https://jcubic.github.io/git/__browserfs__/git/. If you open directory that don't have index.html it will
display page with directory listing like normal web server.
To see list of contributors you can check credits command.
Proxy used to fetch files from remote repositories is located on my hosting https://jcubic.pl/proxy.php. You can read the source code of that file here (it's in commit because I've needed to delete it because of GPL license).
Licensed under MIT license
Copyright (c) 2018 Jakub Jankiewicz