Sync your WordPress posts to standard.site records on your PDS
7
fork

Configure Feed

Select the types of activity you want to include in your feed.

AIP notes

+52 -1
+52 -1
README.md
··· 69 69 - **Publication**: Yoast organization name, website name, homepage meta description 70 70 - **Documents**: Yoast SEO title, social title, X title, meta description, social description, X description, social image, X image 71 71 72 + ## Self-Hosting the OAuth Service 73 + 74 + Wireservice authenticates with AT Protocol through an external OAuth service. By default it uses `https://aip.wireservice.net`, but you can run your own instance using [AIP](https://github.com/graze-social/aip), a high-performance OAuth 2.1 authorization server with native AT Protocol integration. 75 + 76 + ### Running AIP 77 + 78 + AIP requires Rust 1.87+. To run locally: 79 + 80 + 1. Generate an OAuth signing key with `goat`: `goat key generate -t p256`. Save the public and private keys somewhere safe. 81 + 82 + 2. Clone AIP: `git clone https://github.com/graze-social/aip.git` 83 + 84 + 3. Setup environment variables: 85 + 86 + ``` 87 + EXTERNAL_BASE=https://your-domain.com 88 + DPOP_NONCE_SEED=$(openssl rand -hex 32) 89 + STORAGE_BACKEND=sqlite 90 + ATPROTO_OAUTH_SIGNING_KEYS=`did:key:${YOUR_PRIVATE_KEY}` 91 + OAUTH_SIGNING_KEYS=`did:key:${YOUR_PRIVATE_KEY}` 92 + ENABLE_CLIENT_API=true 93 + OAUTH_SUPPORTED_SCOPES="atproto:atproto atproto:repo:site.standard.publication atproto:repo:site.standard.document 94 + atproto:blob:*/*" 95 + ``` 96 + 97 + 4. Run AIP: `cargo run --bin aip` 98 + 99 + Or with Docker: 100 + 101 + ```bash 102 + docker build -t aip . 103 + docker run -p 8080:8080 \ 104 + // all of the above env vars here 105 + aip 106 + ``` 107 + 108 + For production, use the `postgres` storage backend instead of `sqlite`. Depending on your hosting environment, you may need to manually set the `DNS_NAMESERVERS` env var so that your AIP service can resolve handles properly. (Wireservice uses `8.8.8.8,1.1.1.1`). 109 + 110 + ### Configuring Wireservice 111 + 112 + Once your AIP instance is running, update the OAuth Service URL in WordPress: 113 + 114 + 1. Go to **Settings > Wireservice**. 115 + 2. Set the **OAuth Service URL** to your AIP instance (e.g., `https://your-domain.com`). 116 + 117 + This is stored as the `wireservice_oauth_url` option and can also be set programmatically: 118 + 119 + ```php 120 + update_option('wireservice_oauth_url', 'https://your-domain.com'); 121 + ``` 122 + 72 123 ## Filters 73 124 74 125 ```php ··· 86 137 87 138 ## License 88 139 89 - [AGPL-3.0-or-later](LICENSE.md) 140 + [AGPL 3.0](LICENSE.md)