homebrewhub icon indicating copy to clipboard operation
homebrewhub copied to clipboard

API suggestions

Open avivace opened this issue 4 years ago • 0 comments

Some suggestions on building an API for emulators:

@pinobatch Three things to consider with respect to making Homebrew Hub:

  1. Categorizing games by genre tag
  2. Do we host the download ourselves, or do we only link to the developer's site? The developer's hosting might forbid inbound Referer origins for non-HTML files, or the archive might be in a compressed/archive format not widely implemented in free emulators, such as RAR, 7z, or the like, or the developer's site might disappear.
  3. Some sort of submission process If we do build it on top of the Homebrew Hub concept, I'd try to spread the call for submissions and for emulator support around the NES, SNES, GB, SMS, and MD communities, and I'd seed it with my own NES projects at least.

@aaaaaa123456789

  • always offer links to downloads; you can host the download on your own server if needed, so this alternative is simply more flexible
  • set an acceptable set of formats and only use those, and return the format in the same API endpoint that returns the link itself
  • you'll want to define a process to deal with archives that (intentionally or accidentally) have more than one file in them

avivace avatar Jan 27 '20 00:01 avivace