Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kpmy/mipfs
ipfs middleware
https://github.com/kpmy/mipfs
ipfs p2p webdav
Last synced: 4 days ago
JSON representation
ipfs middleware
- Host: GitHub
- URL: https://github.com/kpmy/mipfs
- Owner: kpmy
- License: wtfpl
- Created: 2016-09-01T14:29:04.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-09-02T13:19:36.000Z (over 6 years ago)
- Last Synced: 2024-11-28T20:36:53.201Z (about 1 month ago)
- Topics: ipfs, p2p, webdav
- Language: Go
- Homepage:
- Size: 57.6 KB
- Stars: 13
- Watchers: 4
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DEPRECATED
This package is deprecated since IPFS ver. 0.4.3 (i guess), because developers of IPFS had changed the semantics of /add method, that doesn't accept file body anymore.
# mipfs (middleware for ipfs)
install ipfs
`docker run -d --name ipfs_host --restart always -p 8080:8080 -p 4001:4001 -p 127.0.0.1:5001:5001 ipfs/go-ipfs:latest`
`docker run -it --volumes-from ipfs_host ipfs/go-ipfs:latest`
`docker restart ipfs_host`
## ipfs2webdav
`git clone https://github.com/kpmy/mipfs.git`
`cd mipfs`
`docker build -t kpmy/mipfs:0.1 .`
`docker create --restart always --name ipfs_webdav --link ipfs_host:ipfs -p 0.0.0.0:6001:6001 kpmy/mipfs:0.1`
`docker start ipfs_webdav`
### how to
connect to webdav ipfs `cadaver http://:6001/ipfs/`
upload some files `cadaver put /path/to/file`
then look in browser `http://:6001/hash`
default user/password: root:changeme
add new user: `curl -H "Content-Type: application/json" -d '{"login": "user", "password": "password"}' http://:6001/user`