- API, Mac client
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
# TCMS Mac Client
|
||||
|
||||
Native SwiftUI macOS 12+ client for Ty Clifford's Content Management System.
|
||||
|
||||
## Run
|
||||
|
||||
```bash
|
||||
cd macclient
|
||||
swift run TCMSMacClient
|
||||
```
|
||||
|
||||
You can also open this folder in Xcode and run the `TCMSMacClient` package target.
|
||||
|
||||
## Connect
|
||||
|
||||
Point the client at any TCMS install URL, such as:
|
||||
|
||||
```text
|
||||
https://example.com/blog
|
||||
http://127.0.0.1:8097
|
||||
```
|
||||
|
||||
The client automatically calls `api.php` under that URL. If the server has an API token configured, paste it in Settings. Local development can use TCMS' localhost fallback when `api.token` is blank and `api.allow_local_without_token` is enabled.
|
||||
|
||||
## Features
|
||||
|
||||
- Create, edit, draft, publish, and delete posts and pages.
|
||||
- Upload media to `bl-content/uploads`.
|
||||
- List and moderate comments.
|
||||
- Local autosave to Application Support.
|
||||
- Optional remote autosave as draft.
|
||||
- Configurable autosave interval.
|
||||
Reference in New Issue
Block a user