Open irongomme opened 5 years ago
That was my eventual goal for the app store, storing them locally a was a temporary fix. I'm just unsure where/how to host them. Do you know way I could store them for free and download them to the packages folder using a python package (preferably from the standard library)?
I have some ideas :
1 - I've opened a ticket in anki forum : https://forums.anki.com/t/community-scripts-hub/25692 : Then VectorCloud could load apps from an official community catalog
2 - Another way could be having another github project (Vector scripts hub) and use it as a catalog : Storing each github vector script project as a submodule. In this way, each project could be added with pull requests. VectorCloud could scan all vector apps in this new github project and sync regularly.
I start the debate, maybe someone else could have better solutions for that ;-)
yeah the only thing that makes me a little nervous about making it publicly editable is god forbid someone wanna be hacker replaces a line of code with something destructive. It could go unnoticed, someone could download it, run it and brick their computer.
You mean that you could be responsible of the contributors packages ?
Nah I'm saying there would need to be some kind of authentication system where only the person that added the package can edit it and newly submitted apps need to be checked to make sure their not malicious.
For exemple, I like the idea of Ansible Galaxy. Ansible is a server automation tool, and everyone can share small piece of logic to add into a personnal project, and this is done with dedicated website : https://galaxy.ansible.com Everery share is done by linking a personnal github repo in. Then other users can star, see the code, download code, etc... I think this would be a great system for vector packages
I will look into this, thanks!
Hi, I'm learning flask, and i've began a project to accomplish this feature : https://github.com/irongomme/heyvector
For the beginning I've planned to :
This not yet ready, but soon ! ;-)
Awesome! This is exciting! So if your application could send back a list of dictionary-like objects for each application with the following fields:
id = unique key e.g. 1
script_name = application name
author = application author
website = author website
description = application description
icon = icon file in package
download_link = where I could have VectorCloud look for the .zip
and I could use
for app in apps_from_heyvector:
script_name = app.script_name
it would be super easy to implement this.
Yep, that could be something like that ! I'm thinking about some requirements to restrict package imports, like include a meta file in the each github project (like your ini file in each script exemple). Like that, I could easily distribute it in a json object.
What do you think about storing applications in another repository(ies), to let contributors manage new vector applications or applications updates in an external space for it ? In this way, application import could be loaded from a dedicated catalog, without storing them in this web interface repo.