+1
-1
.env.example
+1
-1
.env.example
+2
-2
.github/workflows/docker-image.yml
+2
-2
.github/workflows/docker-image.yml
+10
Caddyfile
+10
Caddyfile
+132
-1
README.md
+132
-1
README.md
···-You should not use this PDS. You should not rely on this code as a reference for a PDS implementation. You should not trust this code. Using this PDS implementation may result in data loss, corruption, etc.+I migrated and have been running my main account on this PDS for months now without issue, however, I am still not responsible if things go awry, particularly during account migration. Please use caution.Cocoon is a PDS implementation in Go. It is highly experimental, and is not ready for any production use.+- **init-keys**: Automatically generates cryptographic keys (rotation key and JWK) on first run+- **create-invite**: Automatically creates an initial invite code after Cocoon starts (first run only)
+26
-39
cmd/cocoon/main.go
+26
-39
cmd/cocoon/main.go
···
+56
create-initial-invite.sh
+56
create-initial-invite.sh
···
+125
docker-compose.yaml
+125
docker-compose.yaml
···
+34
init-keys.sh
+34
init-keys.sh
···