https://github.com/fission-codes/sharing-public-files-example
A demonstration of webnative public links
https://github.com/fission-codes/sharing-public-files-example
Last synced: about 1 year ago
JSON representation
A demonstration of webnative public links
- Host: GitHub
- URL: https://github.com/fission-codes/sharing-public-files-example
- Owner: fission-codes
- License: apache-2.0
- Created: 2021-03-22T17:51:59.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2022-01-28T22:20:03.000Z (over 4 years ago)
- Last Synced: 2025-04-03T04:56:18.410Z (about 1 year ago)
- Language: JavaScript
- Size: 181 KB
- Stars: 0
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Sharing public files
[](https://fission.codes)
[](https://github.com/fission-suite/webnative)
[](https://discord.gg/zAQBDEq)
[](https://talk.fission.codes)
The repository demonstrates three techniques for generating links to public files stored in the webnative filesystem:
- Public links always link to the latest version of a file
- Archival links permanently link to one version of a file
- Versioned links are links retrieved from the webnative [Versions](https://guide.fission.codes/developers/webnative#versioning).
Please see the [Linking to Public Files](https://talk.fission.codes/t/linking-to-public-files/1716) post and the [Webnative SDK guide](https://guide.fission.codes/developers/webnative) for more details.
## Try it
This demo is live at: https://benevolent-senior-pink-yeti.fission.app/
## Run
Run [http-server](https://www.npmjs.com/package/http-server) or another simple web server in the root of this project. No build or package installation needed.