Getting Started¶
This guide walks you through installing Crier and publishing your first post.
Installation¶
Configure Your First Platform¶
Let's start with dev.to, which has a simple API key setup:
- Go to dev.to/settings/extensions
- Generate an API key
- Configure Crier:
Verify it works:
You should see dev.to listed as "Healthy".
Create a Markdown Post¶
Create a file called my-first-post.md:
---
title: "My First Cross-Posted Article"
description: "Testing out Crier for cross-posting"
tags: [testing, crier, automation]
canonical_url: https://myblog.com/my-first-post
published: true
---
This is my first post published with Crier!
## Why Crier?
Because manually posting to multiple platforms is tedious.
Preview Before Publishing¶
Use --dry-run to see what would be published:
Publish¶
When you're ready:
Check Publication Status¶
Add More Platforms¶
Configure additional platforms:
# Bluesky
crier config set bluesky.api_key "handle.bsky.social:app-password"
# Mastodon
crier config set mastodon.api_key "mastodon.social:access-token"
# Hashnode
crier config set hashnode.api_key "your-token"
See Platforms for setup instructions for each platform.
Create Publishing Profiles¶
Group platforms for convenience:
# Create profiles
crier config profile set blogs devto hashnode
crier config profile set social bluesky mastodon
# Publish to a profile
crier publish my-post.md --profile blogs
Next Steps¶
- Configuration Guide — Detailed configuration options
- Publication Tracking — Track what's published where
- Backfill Guide — Publish old content to new platforms