Git Product home page Git Product logo

danboshopserver's Introduction

DanboShopServer

image

danboshopserver's People

Contributors

dhtdht020 avatar spotlightishere avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

danboshopserver's Issues

HBB API

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.

Add post processing to update manifests

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.

HBB Update Endpoints

The following are the endpoints accessed by the Homebrew Browser updater:

  • /hbb/homebrew_browser/boot.dol
  • /hbb/homebrew_browser/meta.xml
  • /hbb/homebrew_browser/icon.png
  • /hbb/homebrew_browser/loop.mod

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.

JSON API

We aim to make this feature-par to the existing API.

JSON API (v2) routes:

  • Get Hosts List
  • Get All Packages
    • extra_directories - need to store somewhere, file_stats possibly?
    • icon_url
    • zip_url/zip_size
    • extracted (size of extracted contents)
    • hashes - calculated on import
    • package_type - likely always dol
  • Get Specific Package
  • Get Packages in Category

The following will depend on zip support once package support is complete.

  • Download Zipped Package
  • Download Package Icon
  • Download Package XML

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.