openshopchannel / danboshopserver Goto Github PK
View Code? Open in Web Editor NEWNext-generation OSC API
Next-generation OSC API
The following are the endpoints accessed by the Homebrew Browser updater:
On every launch, the HBB tries to download these files and compares them against the currently installed version to determine if there's an update available.
We aim to make this feature-par to the existing API.
JSON API (v2) routes:
extra_directories
- need to store somewhere, file_stats
possibly?icon_url
zip_url
/zip_size
extracted
(size of extracted contents)hashes
- calculated on importpackage_type
- likely always dol
The following will depend on zip support once package support is complete.
Some apps from their sources are distributed with unneeded and complimentary files. Update manifests should support instructions for deleting those.
Other apps lack files, should be added in one way or another.
Endpoint | State | Description |
---|---|---|
/hbb/homebrew_browser/listv036.txt | ๐ง Partially implemented | Few more values left to sort out |
/hbb/slug/slug.zip | โ Implemented | Packed app contents within /hbb/slug/slug.zip. This should be aliased to our UUID-named zip file. |
/hbb/slug.png | โ Implemented | Unpacked app contents under /hbb/slug/..., including... |
/hbb/slug/icon.png | โ Implemented | Unpacked app contents under /hbb/slug/..., including... |
/hbb/slug/meta.xml | โ Implemented | Unpacked app contents under /hbb/slug/..., including... |
/hbb/homebrew_browser/temp_files.zip | โ Implemented | zip file containing ALL icons to be loaded by the Homebrew Browser on its root, named by slug.png. |
/hbb/apps_check_new.php?t=128770212 | ๐ Stub | Returns a body specifying the server time, name, version from/to and updated flags. |
/hbb/repo_list.txt | โ Implemented | Returns version "1", alongside a list containg a repo's name, host, content path and subdirectory path. |
/hbb/get_rating.php?esid=esid&name=slug | ๐ Stub | Returns a rating between 1 and 5. Any other value is treated as unrated. |
/hbb/update_rating.php?esid=esid&name=slug&rating=rating | ๐ Stub | Returns (probably the stored rating), between 1 to 5. Any other value is treated as unrated. |
/hbb/hbb_download.php | ๐ซ | Registers that an app was downloaded. As this is not associated with credentials such as the ES device ID, let's not implement it. The success of this request is ignored. |
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.