-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Library Management #4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Just added this to master. I'm going to leave this issue open though, as this project still needs a system for managing libraries, stored different from the files that a user can edit. Any suggestions on this, from a ui/ux design perspective or technical perspective are welcome. |
Would it be possible to use Bower (or npm) behind the scenes? (E.g., the "Install Library" button in the interface would actually just call |
For managing libraries, I'm thinking that mostly it would be done using CDNs, since I think a good portion of libraries that people would want to use are already up, with all of their versions. There would probably be some special cases for the p5.js libraries. I guess this issue is incorrectly framed--in my mind, this is more of a design issue. But for anything that's not on CDN, using bower could be useful! |
This is now covered in the new design. See more on Zeplin. |
I'm interested in this! I'm one of the developers of WebJack, for connecting to Arduinos over an audio interface (like a modem), and I think this could make for really nice driverless I couldn't find a way to just link to a CDN from the web interface, am I missing something or is this not yet created? What is Zeplin -- the link seems to not work? I had a couple ideas for how this could work --
Any thoughts on this or was it perhaps already implemented? Thank you, this project is so exciting! |
OMG i just hit Publish and then i found the little |
https://alpha.editor.p5js.org/jywarren/sketches/rkztwSt8M -- ok, thanks, this works fine for my purposes. Sorry to bother! |
hi! glad you figured out how to edit the |
just learned about Unpkg—could be useful to implement this feature! |
CDNJS have a pretty extensive search API that could be useful. Plus it's already being used for the default p5 distributions in the Searches on NPM can be quite difficult for users since it mostly consists of Node packages. Furthermore, they don't really have a search feature, based on this thread we'll either have to download a cached version of the registry and implement our own search, or we'll have to use something like npms or npm-registry-client. This would be fine, but the abundance of node packages in there could be misleading to some people especially beginners. |
We'd also need to have some list of libraries related to p5 itself (like collision, sound etc).. so is there an API or any other url from where we could get this list as well in addition to npm libraries |
While we ultimately will likely want "library manager" like features we should probably start with p5.dom and p5.sound included by default.
The text was updated successfully, but these errors were encountered: