buildinspace / peru

a generic package manager, for including other people's code in your projects
MIT License
1.11k stars 69 forks source link

JavaScript version to embed in Electron? #212

Closed linonetwo closed 3 years ago

linonetwo commented 3 years ago

I'd like to include this freature to my electron app, but python is not easy to port with electron app, so do you know there are any JS version of this kind? Thanks.

oconnor663 commented 3 years ago

Yes take a look at https://github.com/connor4312/blake3.

oconnor663 commented 3 years ago

Woops so sorry. I spend a lot of time yesterday working on that other project, and I just clicked the github email without looking at what project it was from.

oconnor663 commented 3 years ago

To be clear, do you want to use peru to develop your electron app, or do you want the electron app to run peru for the end user?

linonetwo commented 3 years ago

I hope electron app to run peru for the end user,

A tiddlywiki plugin mentions peru https://github.com/sobjornstad/TiddlyRemember#building-from-source , so I'm here. I can see peru make it easy to upgrade plugins hosted on github.

I'm developing an electron wrapper for tiddlywiki, hoping that I can make tiddlywiki plugin upgrade more easily, with a GUI wrapper.

oconnor663 commented 3 years ago

Gotcha. My thinking is, it would probably be easier to run peru during development, and then package the files that peru fetches for you? But I'm not sure how these projects work.

In any case, to answer your original question, no there's no way to run peru without Python today.

linonetwo commented 3 years ago

Ok, I'll consider bringing a python with my electron if I am going to use peru.

Actually I want it to run in app's user's computer rather than my computer. Thank you for your explaination.