This repository was archived by the owner on Mar 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
Display files as js-ipfs gateway #2
Copy link
Copy link
Closed
Labels
kind/enhancementA net-new feature or improvement to an existing featureA net-new feature or improvement to an existing feature
Description
The main goal of the service-worker-gateway is to be an alternative to the ipfs daemon gateway. This way, there are three different types of content that we need to deal with.
- simple file content preview (text, image, video, ...)
- directory content listing
- directory containing a web page
js-ipfs gateway already identifies these types and has templates for displaying them, as we may observe here.
All things considered, the first step for this issue consists of identifying which parts are similar among both gateways, in order to create a new repo responsible for resolving hashes, identifying the type of the content and generate the response template (if needed). Afterwards, it is necessary to create this repo and integrate it in both gateways (js-ipfs and service-worker-gateway).
File content examples:
References:
Metadata
Metadata
Assignees
Labels
kind/enhancementA net-new feature or improvement to an existing featureA net-new feature or improvement to an existing feature