-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #26 from hyphacoop/rename-cli
rename CLI command from dp-cli to dpress
- Loading branch information
Showing
4 changed files
with
24 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. | ||
<video width="280" height="500" src="/img/dp-cli_demo.mp4" controls style={{ display: 'block', margin: '2rem auto', maxWidth: '100%' }} /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters