https://github.com/hyphacoop/staticpub.distributed.press
Template repo for ActivityPub enabled static websites that use the Distributed Press SDK
https://github.com/hyphacoop/staticpub.distributed.press
distributed-press-cli dpress staticpub
Last synced: 9 months ago
JSON representation
Template repo for ActivityPub enabled static websites that use the Distributed Press SDK
- Host: GitHub
- URL: https://github.com/hyphacoop/staticpub.distributed.press
- Owner: hyphacoop
- License: mit
- Created: 2024-11-20T16:03:16.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-12T13:29:07.000Z (over 1 year ago)
- Last Synced: 2025-09-29T00:46:35.792Z (9 months ago)
- Topics: distributed-press-cli, dpress, staticpub
- Language: HTML
- Homepage: https://docs.distributed.press/dp-cli/
- Size: 37.1 KB
- Stars: 3
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# staticpub.distributed.press
Template repo for ActivityPub enabled static websites that use the Distributed Press SDK
## Instructions
To replace all instances of `staticpub.distributed.press` with `yourdomain.com`, `dp` with `username`, and `"Distributed Press"` with `"Your Name"`, you can use the following sed commands:
### For Linux Users:
```bash
find . -type f -exec sed -i 's/staticpub\.distributed\.press/yourdomain\.com/g; s/dp/username/g; s/"Distributed Press"/"Your Name"/g' {} +
```
### For macOS Users:
```bash
find . -type f -exec sed -i '' 's/staticpub\.distributed\.press/yourdomain\.com/g; s/dp/username/g; s/"Distributed Press"/"Your Name"/g' {} +
```
Make sure to update the `publicKeyPem` field in the following files with your actual public key from the `.dprc` configuration file:
- `about.jsonld`
- `about-ipns.jsonld`
### How to Find Your Public Key:
1. Open your `.dprc` file (generated during setup).
2. Copy the value of `"publicKeyPem"` (including the `BEGIN` and `END` lines).
3. Paste it into the `publicKeyPem` field in the JSON files mentioned above.
### Example:
```json
"publicKey": {
"@context": "https://w3id.org/security/v1",
"@type": "Key",
"id": "https://staticpub.distributed.press/about.jsonld#main-key",
"owner": "https://staticpub.distributed.press/about.jsonld",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nYOUR_PUBLIC_KEY_HERE\n-----END PUBLIC KEY-----\n"
}
```
Replace `YOUR_PUBLIC_KEY_HERE` with your actual public key from `.dprc`.
### Learn More
For detailed instructions on setting up the Distributed Press CLI, visit the [Distributed Press CLI documentation](https://docs.distributed.press/dp-cli/).