Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/s5-dev/S5
Decentralized content-addressed storage network
https://github.com/s5-dev/S5
blake3 cid content-addressed dart decentralized p2p rust
Last synced: 28 days ago
JSON representation
Decentralized content-addressed storage network
- Host: GitHub
- URL: https://github.com/s5-dev/S5
- Owner: s5-dev
- License: mit
- Created: 2022-10-18T18:49:52.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-05T13:41:33.000Z (7 months ago)
- Last Synced: 2024-08-07T23:55:47.715Z (5 months ago)
- Topics: blake3, cid, content-addressed, dart, decentralized, p2p, rust
- Language: Dart
- Homepage: https://docs.sfive.net
- Size: 346 KB
- Stars: 50
- Watchers: 3
- Forks: 7
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
S5
Content-addressed storage, but fast.
## Ethos
At its core, S5 is a content-addressed storage network similar to IPFS and also uses many of the formats and standards created in the IPFS project. It just builds upon them to be much more lightweight and scalable. Read the [docs](https://docs.sfive.net) for more info on the nitty gritty.
## Usage
`docker run -it --rm -p 5050:5050 -v /local/path/to/config:/config --name s5-node ghcr.io/s5-dev/node:latest`
A basic config file is generated for you, just make sure the path to the directory exists.
Or run it with docker compose
```docker
version: '3'
services:
s5-node:
image: ghcr.io/s5-dev/node:latest
volumes:
- /local/path/to/config:/config
ports:
- "5050:5050"
restart: unless-stopped
```
To add file stores edit the config as described in the [docs](https://docs.sfive.net).## Supported Storage Backends
- S3 (Any cloud provider supporting the S3 protocol, see https://s3.wiki)
- Local filesystem (needs additional configuration to make a http port available on the internet)
- Sia (experimental and cheap, https://sia.tech/)
- Arweave (expensive, permanent storage)
- Pixeldrain (affordable, https://pixeldrain.com/)
- Estuary.tech (experimental)## Development
### Dependencies
- Dart (https://dart.dev/get-dart)
- Rust (https://www.rust-lang.org/tools/install)
- Build dependencies (Debian/Ubuntu: `sudo apt install build-essential pkg-config libssl-dev libclang-dev`)### Build
- `git clone https://github.com/s5-dev/s5.git`
- `cd s5/rust`
- `cargo build --release`
- `cp target/release/librust.so ..`
- `cd ..`
- `dart compile exe bin/s5_server.dart`Run the node with `./bin/s5_server.exe config.toml`
# License
This project is licensed under the MIT license ([LICENSE-MIT](LICENSE) or http://opensource.org/licenses/MIT)