Artc
One Markdown file in, three platform ready drafts out. Artc converts an article for Astro, Medium and LinkedIn in the browser or from the CLI, with a line diff before you copy.
Overview
Publishing the same article in three places means three sets of formatting rules. Artc keeps one shared TypeScript core and two front ends, a React UI and a Commander CLI, so the web app and the terminal produce the same output. Everything runs locally: no backend, no account, no AI rewrite.
article.md
-> shared TS core (remark parse / transform / stringify)
-> Astro frontmatter + body
-> Medium cleaned markdown
-> LinkedIn plain text
Key features
- Astro outputFrontmatter in a fixed order:
title,description,pubDate,tags,draft. - Medium + LinkedIn cleanupSeparate switches; LinkedIn can flatten headings into paragraphs.
- Presets
none,clean-markdownandplain-text, in the UI and the CLI. - Diff before copyA line diff shows exactly what changed between input and output.
- CLIConvert a file with metadata flags, presets and cleanup switches.
- Runs locallyProcessing happens in the browser or the CLI process; nothing is uploaded.
How it works
- Install dependencies with
npm install. - Run
npm run devfor the React interface, or use the CLI directly. - Open a Markdown file, pick a platform and a preset, then copy or download the output.
npm install
npm run dev
npm run cli -- convert article.md --platform astro \
--title "My article" --tags "typescript,markdown" --draft
npm run cli -- convert article.md --platform linkedin --preset plain-text
Stack
TypeScript
React 19
Vite
Tailwind 4
daisyUI
Remark
Commander
Vitest