2021-04-20 21:31:37 +00:00
|
|
|
|
|
|
|
**_This project is currently in early-access deep-alpha testing phase. Do not
|
|
|
|
rely on it for anything._**
|
|
|
|
|
|
|
|
-----
|
|
|
|
|
|
|
|
# cryptic-net
|
|
|
|
|
|
|
|
The cryptic-net project provides the foundation for an **autonomous community
|
|
|
|
cloud infrastructure**.
|
|
|
|
|
2022-10-07 12:38:39 +00:00
|
|
|
This project targets communities of individuals, where certain members of the
|
|
|
|
community would like to host services and applications from servers running in
|
|
|
|
their homes or offices. These servers can range from simple Raspberry Pis to
|
|
|
|
full-sized home PCs.
|
|
|
|
|
2021-04-20 21:31:37 +00:00
|
|
|
The core components of cryptic-net, currently, are:
|
|
|
|
|
2022-10-07 12:38:39 +00:00
|
|
|
* A VPN which enables direct peer-to-peer communication. Even if most hosts in
|
|
|
|
the network are on a private LAN (e.g. their home WiFi network) or have a
|
|
|
|
dynamic IP, they can still communicate directly with each other.
|
2021-04-20 21:31:37 +00:00
|
|
|
|
2022-11-05 11:03:51 +00:00
|
|
|
* An S3-compatible network filesystem. Each users can provide as much storage as
|
|
|
|
they care to, if any. Stored data is sharded and replicated across all hosts
|
|
|
|
that choose to provide storage.
|
2021-04-20 21:31:37 +00:00
|
|
|
|
2022-10-30 00:22:03 +00:00
|
|
|
* A DNS server which provides automatic host and service (coming soon) discovery
|
|
|
|
within the network.
|
|
|
|
|
2022-10-07 12:38:39 +00:00
|
|
|
These components are wrapped into a single binary, with all setup being
|
|
|
|
automated. cryptic-net takes "just works" very seriously.
|
2021-04-20 21:31:37 +00:00
|
|
|
|
|
|
|
Participants are able to build upon these foundations to host services for
|
|
|
|
themselves and others. They can be assured that their communications are private
|
|
|
|
and their storage is reliable, all with zero administrative overhead and zero
|
|
|
|
third parties involved.
|
|
|
|
|
|
|
|
## Documentation
|
|
|
|
|
|
|
|
cryptic-net users fall into different roles, depending on their level of
|
|
|
|
involvement and expertise within their particular network. The documentation for
|
|
|
|
cryptic-net is broken down by these categories, so that the reader can easily
|
2022-10-30 00:22:03 +00:00
|
|
|
decide which documents they need to care about.
|
2021-04-20 21:31:37 +00:00
|
|
|
|
|
|
|
### User Docs
|
|
|
|
|
2022-11-05 11:03:51 +00:00
|
|
|
Users are participants who use network resources, but do not provide any network
|
|
|
|
or storage resources themselves. Users may be accessing the network from a
|
|
|
|
laptop, and so are not expected to be online at any particular moment.
|
2021-04-20 21:31:37 +00:00
|
|
|
|
|
|
|
Documentation for users:
|
|
|
|
|
|
|
|
* [Getting Started](docs/user/getting-started.md)
|
|
|
|
* [Creating a daemon.yml File](docs/user/creating-a-daemonyml-file.md)
|
|
|
|
* [Using DNS](docs/user/using-dns.md) (advanced)
|
|
|
|
* Restic example (TODO)
|
|
|
|
|
|
|
|
### Operator Docs
|
|
|
|
|
2022-11-05 11:03:51 +00:00
|
|
|
Operators are users who own a dedicated host which they can expect to be
|
2021-04-20 21:31:37 +00:00
|
|
|
always-online (to the extent that's possible in a residential environment).
|
|
|
|
Operator hosts will need at least one of the following to be useful:
|
|
|
|
|
|
|
|
* A static public IP, or a dynamic public IP with [dDNS][ddns] set up.
|
|
|
|
|
|
|
|
* At least 100GB of unused storage which can be reserved for the network.
|
|
|
|
|
|
|
|
Operators are expected to be familiar with server administration, and to not be
|
|
|
|
afraid of a terminal.
|
|
|
|
|
|
|
|
Documentation for operators:
|
|
|
|
|
|
|
|
* [Contributing Storage](docs/operator/contributing-storage.md)
|
|
|
|
* [Contributing a Lighthouse](docs/operator/contributing-a-lighthouse.md)
|
|
|
|
* [Managing garage](docs/operator/managing-garage.md)
|
|
|
|
|
|
|
|
[ddns]: https://www.cloudflare.com/learning/dns/glossary/dynamic-dns/
|
|
|
|
|
|
|
|
### Admin Docs
|
|
|
|
|
2022-11-05 11:03:51 +00:00
|
|
|
Admins are users who control membership within the network. They are likely
|
|
|
|
operators as well.
|
2021-04-20 21:31:37 +00:00
|
|
|
|
|
|
|
Documentation for admins:
|
|
|
|
|
2022-11-03 14:38:31 +00:00
|
|
|
* [Creating a New Network](docs/admin/creating-a-new-network.md)
|
2021-04-20 21:31:37 +00:00
|
|
|
* [Adding a Host to the Network](docs/admin/adding-a-host-to-the-network.md)
|
|
|
|
* Removing a Host From the Network (TODO)
|
|
|
|
|
|
|
|
### Dev Docs
|
|
|
|
|
2022-11-05 11:03:51 +00:00
|
|
|
Devs may or may not be users in any particular cryptic network. They instead are
|
|
|
|
those who work on the actual code for cryptic-net.
|
2021-04-20 21:31:37 +00:00
|
|
|
|
|
|
|
Documentation for devs:
|
|
|
|
|
|
|
|
* [Design Principles](docs/dev/design-principles.md)
|
|
|
|
* [`cryptic-net daemon` process tree](docs/dev/daemon-process-tree.svg): Diagram
|
2022-11-05 11:03:51 +00:00
|
|
|
describing the [pmux](https://code.betamike.com/cryptic-io/pmux) process tree
|
|
|
|
created by `cryptic-net daemon` at runtime.
|
2021-04-20 21:31:37 +00:00
|
|
|
* [Rebuilding Documentation](docs/dev/rebuilding-documentation.md)
|
|
|
|
|
|
|
|
## Misc
|
|
|
|
|
|
|
|
Besides documentation, there are a few other pages which might be useful:
|
|
|
|
|
|
|
|
* [Roadmap][roadmap]
|
2022-11-05 11:03:51 +00:00
|
|
|
* [Glossary](docs/glossary.md)
|
2021-04-20 21:31:37 +00:00
|
|
|
|
|
|
|
[roadmap]: docs/roadmap.md
|