isomorphic-git
incbin
Our great sponsors
isomorphic-git | incbin | |
---|---|---|
18 | 9 | |
7,278 | 917 | |
1.1% | - | |
7.0 | 0.0 | |
7 days ago | 4 months ago | |
JavaScript | C | |
MIT License | The Unlicense |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
isomorphic-git
-
Tree-shaking, the horticulturally misguided algorithm
A microcosm of the wasm issue was captured in this thread about implementing a web based git in JavaScript from scratch vs. compiling libgit
https://github.com/isomorphic-git/isomorphic-git/issues/268
-
The theory versus the practice of “static websites”
I think one big missing part still with static sites is how you host the CMS to edit it.
Correct me if I'm wrong but Decap CMS (previously Netlify CMS) runs in the browser and makes reads/edits via GitHub which can then trigger rebuilds and deploys, but it still needs a small server/proxy I think because CORS stops your browser communicating directly with the GitHub API. Netlify hosts a GitHub backend that proxies requests for you but now you're tied to Netlify.
GitLab and BitBucket will have the same issue I think: https://github.com/isomorphic-git/isomorphic-git#cors-suppor...
Is there a simple solution here with minimal configuration?
-
i tried to push the changes to the remote repository but it gives an error. i can push in termux but in obsidian, it gives this error. does anyone know how to fix this?
ssh isn't supported on mobile for technical reasons
- I'm at my wits end trying to think of a master's thesis. Begging for advice at this point.
- Ask HN: Apps that are built with Git as the back end?
-
Nextjs and git
This article is an attempt to classify knowledge about using git in a nodejs environment. Particularly, this is going to tell about isomorphic-git library and how to implement it in web applications.
-
Trying to clone a repository & send it to the frontend with Node & Express
I recently had to implement git cloning into a full stack project and I found a very useful library OP can use. isomorphic-git which would solve this issue and allow them to clone into a virtual filesystem which can help save speed, storage, and possibly keep it secure. Plus if the memfs package is used the OP can just dumb the JSON of the Volume object into the request.
- Show HN: I Fixed Journaling for Myself
- Open source ‘protestware’ harms Open Source
-
5 Insane Features in my OS in the Browser!!! 🤯
I always wanted to make a command line interface/prompt but didn't actually start it till a few months ago. I decided to go with Xterm.js for the basic terminal interface along with a modified local-echo to add basic required functionality. Then I set about duplicating every command I could find. I was able to link the terminal directly to the file system so all commands show real information. You can run help to view all commands/aliases. I've also included things such as Git, Python & Wapm.io support.
incbin
-
Self-contained Linux applications with lone Lisp
OK, yes, that does work. You can totally put application specific stuff in the elf and reflect on it at runtime. Much easier is to embed it directly and point a symbol value at the start of the data.
See https://github.com/graphitemaster/incbin for a pretty wrapper around that.
Aside from there being a drastically simpler answer to this problem available in sketchily documented fashion (the asm guys know .incbin is a thing, but higher level languages overcomplicate it), it's a good post. Idea is sound and goal was achieved.
-
The theory versus the practice of “static websites”
Thanks for the link. We also make static websites by direct inclusion their HTML code in the C++ binary of ClickHouse.
I've tried to use this library but found a bug: https://github.com/graphitemaster/incbin/issues/61
-
Olive.c: a simple graphics library that does not have any dependencies
won't work, since the preprocessor won't interpret directives inside string literals of course.
In many assemblers, there is a directive called "incbin" which pastes in unstructured binary data at the point of usage. I just found a very clever C and C++ wrapper [1] for that, which gives you an INCBIN() macro. Nice!
[1]: https://github.com/graphitemaster/incbin
-
embed workaround
There's always this: https://github.com/graphitemaster/incbin
-
Finally. Embed
Haven't the people making the standards other things to do, like, integrating useful features instead of duplicating incbin.h [0] years after that feature worked?
https://github.com/graphitemaster/incbin/blob/main/incbin.h
- How do I embed files or access them without an operating system?
-
Include files into the Sketch automatically with incbin
There is a project "https://github.com/graphitemaster/incbin" that can take a file and put that file content into the sketch ROM segment as constant / resource. It is an even nicer alternative to "xxd -i" or using string literals like: const char bla[] PROGMEM = R"CERT( ... )CERT";
What are some alternatives?
js-git - A JavaScript implementation of Git.
aoc-2020 - Advent of Code 2020 in 25 Different Languages
bpmn-js - A BPMN 2.0 rendering toolkit and web modeler.
xplain - Interactive demos
stackgl - A node.js-style module system for GLSL! :sparkles:
ComputerGraphics - Basic computer graphics implementation , with linux framebuffer
webtorrent - ⚡️ Streaming torrent client for the web
pl_mpeg - Single file C library for decoding MPEG1 Video and MP2 Audio
Bitcoin - Bitcoin Core integration/staging tree
execfs - Proof of concept userspace filesystem that executes filenames as shell commands and makes the result accessible though reading the file.
PDFKit - A JavaScript PDF generation library for Node and the browser
SuperSimpleGraphics - An SVG generating single header file C library appropriate for "intro to programming" classes in C/C++.