SilentPress is yet another Wiki, Blog & CMS framework, based on silent.
Silent | SilentPress | VitePress | WordPress | |
---|---|---|---|---|
Markdown first | √ | √ | √ | |
Static first | √ | √ | √ | |
Build-stage free | √ | √ | √ | |
CMS admin | √ | 🔧 | √ | |
Access control | √ | √ | ||
Database free | √ | √ | √ | |
Soooo simple | √ | √ |
- Wiki Home: https://fritx.me/silentpress/
- Wiki Admin: https://fritx.me/silentpress/admin
- (Username:
admin
, Password:SilentPress
)
- (Username:
# docker-compose.yml
services:
silentpress:
image: fritx/silentpress
volumes:
# - ~/silentpress/.env.example:/app/.env
# - ~/silentpress/p_example:/app/p
# set your own config & secrets, see below..
- ./path/to/.env:/app/.env
- ./path/to/p:/app/p
environment:
HOST: '0.0.0.0' # for docker
ports:
- '127.0.0.1:8080:8080'
# Prepare
cp -r p_example p
cp .env.example .env
# set your own config & secrets
# vim .env
# for example
sed -i.bak "s|^COOKIE_SECRET=.*|COOKIE_SECRET=\"$(openssl rand -base64 32)\"|" .env
sed -i.bak "s|^ADMIN_PASSWORD=.*|ADMIN_PASSWORD=\"$(openssl rand -base64 32)\"|" .env
# Install dependencies
(cd silent && git stash -u)
git submodule update --init --recursive
(cd silent && git apply ../silent.patch)
go mod download
# Develop
go run .
# Develop with live reload
go install github.com/cosmtrek/air@latest
pkill -f silentpress/tmp/main; \
air --build.exclude_dir "p,p_example,silent,silent_ext,static"
# Build & Deploy
go build && ./silentpress
# Deploy via PM2
./pm2.sh
# Develop via Docker-Compose
docker compose up
# Push to Docker-Hub
docker login
docker push fritx/silentpress
# Save silent patch if changed
(cd silent && git add -A && git diff --cached > ../silent.patch && git reset .)