Skip to content

Commit 26b3c76

Browse files
committed
refactor: replace CLI with simple setup scripts
1 parent 4dd80d2 commit 26b3c76

36 files changed

Lines changed: 431 additions & 2618 deletions

.github/workflows/release.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@ jobs:
107107
108108
Package changelogs:
109109
- [API](../blob/main/apps/api/CHANGELOG.md)
110-
- [CLI](../blob/main/packages/cli/CHANGELOG.md)
111110
- [Docs](../blob/main/apps/docs/CHANGELOG.md)
112111
draft: false
113112
prerelease: false

README.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,23 +13,28 @@
1313

1414
## Quick Start
1515

16-
### Install the CLI
16+
### Simple Setup (Recommended)
1717

18-
The DesterLib CLI makes it easy to set up and manage your media server.
18+
The easiest way to get started - no installation required, just run the setup script:
1919

2020
**macOS/Linux:**
2121

2222
```bash
23-
curl -fsSL https://raw.githubusercontent.com/DesterLib/desterlib/main/packages/cli/install.sh | bash
23+
curl -fsSL https://raw.githubusercontent.com/DesterLib/desterlib/main/scripts/setup/unix.sh | bash
2424
```
2525

2626
**Windows (PowerShell):**
2727

2828
```powershell
29-
iwr -useb https://raw.githubusercontent.com/DesterLib/desterlib/main/packages/cli/install.ps1 | iex
29+
iwr -useb https://raw.githubusercontent.com/DesterLib/desterlib/main/scripts/setup/windows.ps1 | iex
3030
```
3131

32-
The installer will automatically install Node.js if needed, then install the CLI globally. Once installed, run `desterlib` to start the setup wizard.
32+
This script will:
33+
34+
- ✅ Check Docker installation
35+
- ✅ Clone the repository
36+
- ✅ Prompt for configuration (media path, port, database)
37+
- ✅ Set up and start DesterLib
3338

3439
### Download Client Apps
3540

apps/docs/astro.config.mjs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -86,14 +86,6 @@ export default defineConfig({
8686
{ label: "Platform Setup", slug: "clients/flutter" },
8787
],
8888
},
89-
{
90-
label: "CLI Tool",
91-
collapsed: true,
92-
items: [
93-
{ label: "Overview", slug: "cli/overview" },
94-
{ label: "Changelog", slug: "cli/changelog" },
95-
],
96-
},
9789
],
9890
},
9991

apps/docs/src/content/docs/changelog.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,6 @@ DesterLib consists of multiple packages, each with its own changelog:
1818

1919
Changelog for the DesterLib API Server. Contains all API changes, new features, bug fixes, and breaking changes.
2020

21-
### [CLI Tool Changelog](/cli/changelog)
22-
23-
Changelog for the DesterLib CLI Tool. Contains all CLI changes, new commands, and improvements.
24-
2521
### [Documentation Changelog](/docs/changelog)
2622

2723
Changelog for the DesterLib Documentation. Contains all documentation updates and improvements.
@@ -31,7 +27,6 @@ Changelog for the DesterLib Documentation. Contains all documentation updates an
3127
- **On this site**: Use the links above to view each package's changelog
3228
- **On GitHub**: View the source changelog files:
3329
- [API Changelog](https://github.com/DesterLib/desterlib/blob/main/apps/api/CHANGELOG.md)
34-
- [CLI Changelog](https://github.com/DesterLib/desterlib/blob/main/packages/cli/CHANGELOG.md)
3530
- [Documentation Changelog](https://github.com/DesterLib/desterlib/blob/main/apps/docs/CHANGELOG.md)
3631

3732
## Contributing

apps/docs/src/content/docs/cli/changelog.md

Lines changed: 0 additions & 18 deletions
This file was deleted.

apps/docs/src/content/docs/cli/overview.md

Lines changed: 0 additions & 266 deletions
This file was deleted.

apps/docs/src/content/docs/deployment/docker.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,21 @@ Production-ready Docker deployment guide for DesterLib.
77

88
## Production Setup
99

10-
### Using CLI (Easiest)
10+
### Quick Setup (Easiest)
1111

1212
**macOS/Linux:**
1313

1414
```bash
15-
curl -fsSL https://raw.githubusercontent.com/DesterLib/desterlib/main/packages/cli/install.sh | bash
15+
curl -fsSL https://raw.githubusercontent.com/DesterLib/desterlib/main/scripts/setup/unix.sh | bash
1616
```
1717

1818
**Windows (PowerShell):**
1919

2020
```powershell
21-
iwr -useb https://raw.githubusercontent.com/DesterLib/desterlib/main/packages/cli/install.ps1 | iex
21+
iwr -useb https://raw.githubusercontent.com/DesterLib/desterlib/main/scripts/setup/windows.ps1 | iex
2222
```
2323

24-
The CLI configures production-ready settings by default:
24+
The setup script configures production-ready settings by default:
2525

2626
- Sets `NODE_ENV=production`
2727
- Configures restart policies

apps/docs/src/content/docs/development/versioning.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ DesterLib uses [Changesets](https://github.com/changesets/changesets) for automa
7272

7373
- 📝 Package changelogs are auto-generated in:
7474
- `apps/api/CHANGELOG.md` - API changes
75-
- `packages/cli/CHANGELOG.md` - CLI changes
7675
- `apps/docs/CHANGELOG.md` - Documentation changes
7776
- 📝 Aggregated changelog synced to docs site
7877
- 📝 Use `pnpm changeset` to document your changes

0 commit comments

Comments
 (0)