diff --git a/pages/deployment/index.mdx b/pages/deployment/index.mdx
index 68eb24ca..efbe1286 100644
--- a/pages/deployment/index.mdx
+++ b/pages/deployment/index.mdx
@@ -10,7 +10,7 @@ Distributed Press.
1. [Sutty](/deployment/sutty)
2. [GitHub Actions](/deployment/github-actions)
-3. [Distributed Press CLI](../sdk/)
+3. [Distributed Press CLI](../dp-cli/)
## Sutty
Sutty provides a content management system (CMS) that allows
diff --git a/pages/dp-cli/index.mdx b/pages/dp-cli/index.mdx
index 5be3ad92..95e3965d 100644
--- a/pages/dp-cli/index.mdx
+++ b/pages/dp-cli/index.mdx
@@ -1,14 +1,16 @@
import { Callout } from 'nextra-theme-docs'
# Welcome to Distributed Press CLI
-The [Distributed Press CLI (dp-cli)](https://github.com/hyphacoop/distributed-press-cli/) is a powerful command-line tool for interacting with the Distributed Press API and Social Inbox. It enables you to manage websites, register ActivityPub actors, and share updates seamlessly across the Fediverse—all from your terminal.
+The [Distributed Press CLI (dpress)](https://github.com/hyphacoop/distributed-press-cli/) is a powerful command-line tool for interacting with the Distributed Press API and Social Inbox. It enables you to manage websites, register ActivityPub actors, and share updates seamlessly across the Fediverse—all from your terminal.
# Two Ways to Publish with Distributed Press CLI
## 1. Publishing Website with Distributed Press API
-Using the Distributed Press API, you can publish static websites directly to IPFS, Hypercore, and HTTPS. The `dp-cli` allows you to create a site, upload content, and manage DNS records seamlessly. For instance, after creating a site, you can use the `dp-cli publish` command to upload content from your local directory to the Distributed Press infrastructure. Your site becomes available across decentralized protocols, ensuring global accessibility and resilience.
+Using the Distributed Press API, you can publish static websites directly to IPFS, Hypercore, and HTTPS. The `dpress` allows you to create a site, upload content, and manage DNS records seamlessly. For instance, after creating a site, you can use the `dpress publish` command to upload content from your local directory to the Distributed Press infrastructure. Your site becomes available across decentralized protocols, ensuring global accessibility and resilience.
## 2. Sending Posts to the Fediverse via Social Inbox
-With the [Social Inbox](/social-inbox) integration, you can share ActivityPub posts to your followers on the Fediverse. By combining `dp-cli` with the [Staticpub template](https://github.com/hyphacoop/staticpub.distributed.press), you can create a website that doubles as an ActivityPub actor. After setting up your actor and registering it with the Social Inbox, use the `dp-cli send-post` command to share posts directly from your terminal, reaching your followers securely and efficiently.
+With the [Social Inbox](/social-inbox) integration, you can share ActivityPub posts to your followers on the Fediverse. By combining `dpress` with the [Staticpub template](https://github.com/hyphacoop/staticpub.distributed.press), you can create a website that doubles as an ActivityPub actor. After setting up your actor and registering it with the Social Inbox, use the `dpress send-post` command to share posts directly from your terminal, reaching your followers securely and efficiently.
## Demo Video
+> ⚠️ **Disclaimer:** This demo video was recorded using the previous CLI name `dp-cli`. Please use `dpress` for all commands and functionality moving forward.
+
diff --git a/pages/dp-cli/publish-site.mdx b/pages/dp-cli/publish-site.mdx
index 472b3a09..d37a5cd7 100644
--- a/pages/dp-cli/publish-site.mdx
+++ b/pages/dp-cli/publish-site.mdx
@@ -5,7 +5,7 @@
Register a trial publisher account on Distributed Press using your email:
```bash
-dp-cli register
+dpress register
```
You will be prompted for your name and email. Note: currently, only one site per email is allowed.
@@ -15,7 +15,7 @@ You will be prompted for your name and email. Note: currently, only one site per
Obtain your `authToken` from your Distributed Press API administrator and set it using:
```bash
-dp-cli set-auth-token
+dpress set-auth-token
```
You will be prompted to enter your authentication token.
@@ -25,7 +25,7 @@ You will be prompted to enter your authentication token.
Once registered, create a new site by specifying the domain name and whether it should be public:
```bash
-dp-cli create-site
+dpress create-site
```
### Publish Your Site
@@ -33,7 +33,7 @@ dp-cli create-site
To upload and publish static content to the DP site from a specified directory:
```bash
-dp-cli publish ./folder_here
+dpress publish ./folder_here
```
### DNS Setup
@@ -91,7 +91,7 @@ To use your custom domain, ensure that your domain has a valid HTTPS certificate
Clone a website by creating a static copy from its HTTP URL:
```bash
-dp-cli clone
+dpress clone
```
## Configuration
@@ -127,7 +127,7 @@ Register a trial publisher account with Distributed Press:
**Usage:**
```bash
-dp-cli register
+dpress register
```
### `set-auth-token`
@@ -138,7 +138,7 @@ Set your authentication token for API access.
**Usage:**
```bash
-dp-cli set-auth-token
+dpress set-auth-token
```
**Prompt:**
@@ -154,7 +154,7 @@ Create a new site by specifying the domain name and whether it should be public
**Usage:**
```bash
-dp-cli create-site
+dpress create-site
```
**Prompt:**
@@ -171,7 +171,7 @@ Upload and publish static content to the DP site from a specified directory:
**Usage:**
```bash
-dp-cli publish ./folder_here
+dpress publish ./folder_here
```
### `clone`
@@ -183,5 +183,5 @@ Clone a website by creating a static copy from its HTTP URL:
**Usage:**
```bash
-dp-cli clone
+dpress clone
```
\ No newline at end of file
diff --git a/pages/dp-cli/send-posts.mdx b/pages/dp-cli/send-posts.mdx
index 85d1b7a5..c4f61b6f 100644
--- a/pages/dp-cli/send-posts.mdx
+++ b/pages/dp-cli/send-posts.mdx
@@ -62,7 +62,7 @@ For using the Social Inbox, you need to generate a keypair and register your Act
Run the following command to generate a new RSA keypair:
```bash
-dp-cli generate-keypair
+dpress generate-keypair
```
**Purpose:**
@@ -88,7 +88,7 @@ Alternatively, you can use the staticpub's [publish.yml](https://github.com/hyph
Register your ActivityPub actor with the Social Inbox:
```bash
-dp-cli register-actor
+dpress register-actor
```
This will register your actor with the Social Inbox and save the details to your configuration.
@@ -98,19 +98,19 @@ This will register your actor with the Social Inbox and save the details to your
Published the template? Now, let's send a post to your followers:
```bash
-dp-cli send-post ./path_to_activity.json
+dpress send-post ./path_to_activity.json
```
#### Example (as per the staticpub template):
```bash
-dp-cli send-post ./posts/helloworld.jsonld
+dpress send-post ./posts/helloworld.jsonld
```
### Patch a Site
After publishing your site and registering your actor, you might need to update your site with new content or activities. Use the `patch` command to add the note/activity JSON and update the outbox with the new activity.
```bash
-dp-cli patch -i ./path_to_patch_folder
+dpress patch -i ./path_to_patch_folder
```
## Configuration
@@ -155,7 +155,7 @@ Generate a new RSA keypair and save it to your configuration.
**Usage:**
```bash
-dp-cli generate-keypair
+dpress generate-keypair
```
### `register-actor`
@@ -166,7 +166,7 @@ Register your ActivityPub actor with the Social Inbox.
**Usage:**
```bash
-dp-cli register-actor
+dpress register-actor
```
**Prompts:**
@@ -185,7 +185,7 @@ dp-cli register-actor
Send an activity post to your followers and publish it on the DP site:
```bash
-dp-cli send-post --path ./path_to_activity.json
+dpress send-post --path ./path_to_activity.json
```
**Output:**