This project is a prototype of GUI based git functionalities. This was made as a Proof of concept (PoC) for [DMP: 2025] Sugar Labs issue #4534 Git backend for Turtle Blocks and Music Blocks.
This prototype aims to apply git methods programatically in the backend and use them using a simple UI from the frontend without being overwhelmed by the complexity of traditional Git interfaces.
This project features a single repo based git architecture where users can use simple interfaces like buttons to interact with the backend and use git commands like add
, commit
, status
, log
, etc.
- Frontend: HTML, CSS and JavaScript
- Backend: Node.js and simple-git
To install this and launch locally follow these steps:
-
Clone this repository
git clone https://github.com/NexusWasLost/git-backend.git
-
Navigate into the directory
cd git-backend
-
Make a blank folder(works as the repo)
mkdir base-dir
-
Install the dependencies
npm install
-
Run the server
npm start
The Server runs on PORT 3000
- This Project is just a simple prototype for reference and not a finished product.
- Others are invited to fork this repo and update the project as their liking.
- This project only features a single - repo architecture, so no multiple repos can be created. But a idea to a multi-repo architecture is provided in the
multi-repo-idea.md
. - This is a very simple and basic prototype and lacks all major features of git like branching, forking, history, etc.