apps/posts/README.md 1.1 K raw
1
# posts
2
3
CMS blog with admin, pages, file uploads, markdown rendering, RSS, zip
4
import/export.
5
6
## Install
7
8
**Homebrew:**
9
10
```bash
11
brew install stevedylandev/tap/posts
12
```
13
14
**Curl install (Linux/macOS):**
15
16
```bash
17
curl -fsSL https://raw.githubusercontent.com/stevedylandev/andromeda/main/install.sh | sh -s -- posts
18
```
19
20
**PowerShell (Windows):**
21
22
```powershell
23
& ([scriptblock]::Create((irm https://raw.githubusercontent.com/stevedylandev/andromeda/main/install.ps1))) posts
24
```
25
26
**Prebuilt binary:** Grab the right archive from the [releases page](https://github.com/stevedylandev/andromeda/releases?q=posts%2F) and drop the binary somewhere on your `$PATH`.
27
28
**From source:**
29
30
```bash
31
git clone https://github.com/stevedylandev/andromeda
32
cd andromeda/apps/posts
33
go build .
34
```
35
36
## Notes
37
38
- Upload storage supports local filesystem (`UPLOADS_DIR`, default `uploads`)
39
  or Cloudflare R2 when `R2_BUCKET` and credentials are set.
40
- Markdown: `github.com/yuin/goldmark` with GFM + Footnotes.
41
- Zip via stdlib `archive/zip`. Upload limit 10 MB; import zip limit 50 MB.
42
- API: `GET /api/posts` and `GET /api/posts/{slug}` (permissive CORS).
43
44
See `.env.example`.