Comments (6)
For git, we already have lg2
, which is based on libgit2
, and that works. But "git with gpg" only works with the original git, not with any of the clones (neither gix nor libgit2).
Projects written in Rust fail at cross-compiling more often than not (because they depend on crates that depend on crates and somewhere at the bottom there is a crate that assumes the word is either Unix or Windows). So far, there has been only one project written in Rust that I could cross-compile to WebAssembly, ripgrep, and even that one required editing the code in several places (out of dozens of attempts).
from a-shell.
But "git with gpg" only works with the original git, not with any of the clones (neither gix nor libgit2)
Thanks, it's unfortunate that neither gix nor libgit2 support gpg.
from a-shell.
I'll have a look, but that sounds difficult: both git and gpg are GNU-licensed products, so they cannot be embedded in an AppStore release, they would have to be compiled to WebAssembly, and WebAssembly is not that good with network-based interactions.
from a-shell.
For git, you can consider gix, it is a library written in Rust, with low level API.
I think you'd able to compile to to wasm without filesystem, network access or process spawning using low-level API.
from a-shell.
Projects written in Rust fail at cross-compiling more often than not (because they depend on crates that depend on crates and somewhere at the bottom there is a crate that assumes the word is either Unix or Windows).
Yeah many do have that problem, but IIRC gix just fixed a cross compilation error related to wasm, so gix does care about that.
They also have a few configurable features, which could disable features relying on supporting network/threading.
from a-shell.
I'll have a look, but that sounds difficult: both git and gpg are GNU-licensed products, so they cannot be embedded in an AppStore release, they would have to be compiled to WebAssembly, and WebAssembly is not that good with network-based interactions.
Ok, thank you so much for the effort
from a-shell.
Related Issues (20)
- Include `aria2c` on a-shell mini HOT 1
- Support SSH onnections into a-shell (`sshd`) HOT 3
- Word characters differ from bash HOT 1
- Bookmarks not working in Python script HOT 1
- Golang HOT 1
- Incorrect path, I do not know how to access the files path HOT 2
- python cryptography upgrade HOT 1
- Internalbrowser (webview) doesn't display text picker UI HOT 3
- `pkg install` fails with "WASI Exit error: 1" HOT 12
- Building wasi-sdk on Linux HOT 3
- is it possible to make mlx work under a-shell? HOT 2
- install scipy or carnets shortcuts
- WASI-SDK readlink() has invalid error handling HOT 2
- ReferenceError: WebAssembly Packages have Stopped Functioning HOT 3
- ffmpeg drawtext filter is unavailable on 1.15.0
- wasm3 cannot output colorized text HOT 16
- Pkg not working HOT 1
- Clang and clang++ not working HOT 3
- Feature Request: True Full Screen
- mediainfo command for a-Shell
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from a-shell.