Coder Social home page Coder Social logo

git-web-platform's Introduction

git-web-platform

A repository of pre-built js-git libraries for webpages.

git-web-platform's People

Contributors

creationix avatar

Stargazers

 avatar Brett Zamir avatar Matt McCormick avatar Andrew Collins avatar 迁移到 leogiese avatar

Watchers

James Cloos avatar  avatar

git-web-platform's Issues

Swapping git-http for regular client-side XMLHttpRequest

Hi,

Exciting work. My apologies in asking a few questions here, as I did not get a reply in the chat area, and I am really excited to dive in more if you could just kindly help me with a few questions.

While the TCP/IP ability sounds attractive for add-ons, I was wondering whether it should be doable to swap git-http with an adapter using regular client-side XMLHttpRequest so as to work same-domain (or cross-site where CORS is available).

Ideally, I'd like the user to be able to make commits locally in IndexedDB or localStorage (as appears to be supported here) and commit/PR back to the server (or to other CORS-enabled servers) or even directly to logged-in peers (using PeerJS perhaps), and allow the server to display any version of a file, commit history, diffs, etc. Similar to Github, but with more file creation and commit management taking place via the browser.

Does git-web-platform seem like a viable option for this, if I were to swap out git-http? Would you expect any need for additional packages of yours?

And did I read correctly that you were working on a Node.js server implementation (I assumed not a pure WebSocket proxy but one which responded to remote commands and stored repos in a server-side database), and if so, what is its status?

Btw, as a FF analogue to your Chrome corson, thought you might want to know about https://github.com/jo5ef/Force-CORS (which should be readily updatable as a restartless extension I think).

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.