+1
-1
.github/workflows/checks.yml
+1
-1
.github/workflows/checks.yml
···-run: cargo fmt --package links --package constellation --package ufos --package spacedust --package who-am-i --package slingshot -- --check+run: cargo fmt --package links --package constellation --package ufos --package spacedust --package who-am-i --package slingshot --package pocket -- --check
+1
-1
Makefile
+1
-1
Makefile
···-cargo fmt --package links --package constellation --package ufos --package spacedust --package who-am-i --package slingshot+cargo fmt --package links --package constellation --package ufos --package spacedust --package who-am-i --package slingshot --package pocket
+17
pocket/api-description.md
+17
pocket/api-description.md
···+This API leverages atproto service proxying to offer a bit of per-user per-app non-public data storage.+Perfect for things like application preferences that might be better left out of the public PDS data.+The intent is to use oauth scopes to isolate storage on a per-application basis, and to allow easy data migration from a community hosted instance to your own if you end up needing that.+> Pocket is currently in a **v0, pre-release state**. There is one production instance and you can use it! Expect short downtimes for restarts as development progresses and occaisional data loss until it's stable.+ATProto might end up adding a similar feature to [PDSs](https://atproto.com/guides/glossary#pds-personal-data-server). If/when that happens, you should use it instead of this!
+1
-1
pocket/src/lib.rs
+1
-1
pocket/src/lib.rs
-1
pocket/src/main.rs
-1
pocket/src/main.rs
+72
-78
pocket/src/server.rs
+72
-78
pocket/src/server.rs
·········
+113
-52
pocket/src/token.rs
+113
-52
pocket/src/token.rs
···+// danger! unfortunately we need to decode the DID from the jwt body before we have a public key to verify the jwt with-let claims: Claims<HashMap<String, String>> = untrusted.deserialize_claims_unchecked().unwrap();-let endpoint = "https://slingshot.microcosm.blue/xrpc/com.bad-example.identity.resolveMiniDoc";
+67
pocket/static/index.html
+67
pocket/static/index.html
···+<meta name="description" content="API Documentation for Pocket, a simple user-preference storage system for atproto" />