https://github.com/defder-su/LinkIPFS
Resolves /ipfs/<address> and /ipns/<address> links in ZeroNet sites
https://github.com/defder-su/LinkIPFS
ipfs zeronet
Last synced: over 1 year ago
JSON representation
Resolves /ipfs/<address> and /ipns/<address> links in ZeroNet sites
- Host: GitHub
- URL: https://github.com/defder-su/LinkIPFS
- Owner: defder-su
- License: mit
- Created: 2022-01-12T17:47:48.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-10-30T21:16:09.000Z (over 3 years ago)
- Last Synced: 2024-10-24T16:50:04.729Z (over 1 year ago)
- Topics: ipfs, zeronet
- Language: Python
- Homepage:
- Size: 24.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Intro
Site developers can use `/ipfs/
` and `/ipns/` links by hosting in own domain, setting an IPFS gateway. But how can it be implemeted in ZeroNet?
# LinkIPFS
Resolves `/ipfs/
` and `/ipns/` links in ZeroNet sites.
For now, [beta release](https://github.com/defder-su/LinkIPFS/releases/tag/v0.1-redirector) just redirects such links.
# Development
Used [FilePack](https://github.com/HelloZeroNet/ZeroNet/tree/py3/plugins/FilePack) and [Cors](https://github.com/ZeroNetX/ZeroNet-Plugins/tree/master/Cors) as examples.
# TODO
- [ ] Proxy requests (not redirect), represent html pages inside Zero Frame, disabling AJAX
- [ ] Support `/raw/ipfs/
` and `/raw/ipns/` links
- [ ] Read settings like `local_gateway_port`, `external_gateway` from `zeronet.conf` (section `ipfs`)
- [ ] Add visited resources to [MFS](https://docs.ipfs.io/concepts/file-systems/#mutable-file-system-mfs) `/ZeroNet`
- [ ] Support [MiceWeb](https://github.com/Robotizing/MiceWeb/) resolving system
- [ ] It should be built in all mainstream ZeroNet forks
# Discussions
- [Resolve /ipfs/
and /ipns/ links](https://github.com/ZeroNetX/ZeroNet/issues/134)
- [Lokinet for private transport](https://github.com/ipfs/notes/issues/431)
- [node-Tor is now open source in clear and modular](https://github.com/ipfs/ipfs/issues/439)
- [About images in blogs](http://127.0.0.1:43110/1MaQ4W5D6G52TpBfPACU9k9QcB1DxvHZ5v/?Post:35#Comments)