GitHub X (Twitter) LinkedIn
← All projects
TypeScript & React

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.

RoleDesign + Build StatusOpen source TypeTool
Artc converting one article into three platform outputs

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.
  • Presetsnone, clean-markdown and plain-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

  1. Install dependencies with npm install.
  2. Run npm run dev for the React interface, or use the CLI directly.
  3. 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

Have a project in mind?

Email me
Have a project? Let's talk