TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

A JavaScript implementation of Git

92 点作者 okokok___超过 4 年前

8 条评论

freeqaz超过 4 年前
We actually use this library to provide the ability to &quot;one-click&quot; share projects in Refinery. It works really well (except in Incognito)!<p>If you go to this[0] link, you&#x27;ll see a bunch of nodes in a graph. Each one represents an AWS Lambda that will be deployed (and an API endpoint). The edges between are &quot;microservice&quot; calls between Lambdas that get configured with the deploy too.<p>That&#x27;s all coming from a Git repo here[1].<p>And if you edit the project by adding more blocks, it will actually push a commit to Git (if you&#x27;re signed up and auth&#x27;d GitHub). Each block is just a folder, and the &quot;project&quot; is a YAML file. We have a bi-directional &quot;compiler&quot; that lifts&#x2F;drops the project in either direction.<p>This library made it super easy to ship this. We tried using the server first and it was a huge pain. We just had to setup a GitHub proxy to make this work. It&#x27;s stateless now (your browser does the work) :)<p>0: <a href="https:&#x2F;&#x2F;app.refinery.io&#x2F;import?q=pq4rsai019bm" rel="nofollow">https:&#x2F;&#x2F;app.refinery.io&#x2F;import?q=pq4rsai019bm</a><p>1: <a href="https:&#x2F;&#x2F;github.com&#x2F;freeqaz&#x2F;gensim-refinery" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;freeqaz&#x2F;gensim-refinery</a>
评论 #25152342 未加载
yaseer超过 4 年前
This is pretty awesome.<p>Browser-based coding environments are becoming huge (an observation, not a suggestion of what should be).<p>This is a natural fit for those environments.
评论 #25152184 未加载
O_H_E超过 4 年前
I know isomorphic-git has been useful to a variety of projects. But may I ask what advantage does being pure JS have over writing a wrapper around the git executable?
评论 #25151877 未加载
评论 #25151958 未加载
评论 #25152233 未加载
评论 #25153274 未加载
评论 #25152857 未加载
评论 #25152826 未加载
评论 #25152243 未加载
评论 #25152855 未加载
dang超过 4 年前
Discussed earlier this year: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=22420231" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=22420231</a><p>Also 2018: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=17083807" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=17083807</a>
amir734jj超过 4 年前
But why?
评论 #25151660 未加载
评论 #25151533 未加载
评论 #25152250 未加载
jonnytran超过 4 年前
Feature request: Can you please add support for `git log -- path&#x2F;to&#x2F;file` that isn&#x27;t slow as hell? Thank you.
austincheney超过 4 年前
It says Android and iOS are supported environments. How would you execute a Node app on a phone?
评论 #25151722 未加载
评论 #25151717 未加载
评论 #25152944 未加载
评论 #25152214 未加载
评论 #25151874 未加载
WanderPanda超过 4 年前
Could be interesting in combination with jupyter noteboos