Getting Started¶
At the end you will have CardPress running on your machine and a first card designed.
Prerequisites¶
- To run a release binary or the Docker image: nothing else.
- To build from source: Go 1.26+ and Node 22+.
Run it¶
From source (one binary, no Docker):
git clone https://github.com/senthilsweb/cardpress.git
cd cardpress
make build # builds web/dist and bin/cardpress
./bin/cardpress # http://localhost:8080
With Docker Compose:
cp .env.example .env # edit it; see Configuration
docker compose up -d # http://localhost:8080
The server listens on 127.0.0.1 only. Open http://localhost:8080 for the landing page and click Open editor (or go straight to /studio/). The first time, you are asked to create the admin account (your name, email and a password); it becomes the admin and keeps anything already saved. After that, the app opens at a sign-in page, and others can use Create an account (an editor by default). See Accounts and roles. Your data is saved in data/cardpress.db.
Design a card¶
- In Design, pick a Layout, a Background and a Colours set.
- In Details, Card words, type the eyebrow, headline, subtitle and footers. The card updates as you type.
- Choose a size in the bar above the canvas (LinkedIn, X, Instagram, Facebook), or All sizes to see them together.
- Download PNG, Copy the image, or All sizes .zip.
Design and Details are in the left column. Set your name, handle, logo and fonts once under Settings, Brands, Edit.
Write a post¶
- In Chat, say what to write, attach a file or add a link with the paperclip if you have one, and press send.
- The assistant writes into the draft. Pick any options it offers, then Save as version, or Undo.
- In Details, refine the text, hashtags and alt text. Full preview shows the LinkedIn feed as it will look.
No assistant is set up by default. To add one, see Claude Managed Agent.
Publish¶
Publishing to LinkedIn needs a token. Add it under Settings, Social accounts (in the side bar); see Social accounts and Publishing. Until then you can copy the post text and image into LinkedIn yourself.
Next¶
- Run it on a server: Deployment and Configuration.
- Develop on it:
make devruns the Go API on :8080 and the Astro dev server with hot reload; see Code Tour.