{"_id":"@depress-org/depress","name":"@depress-org/depress","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@depress-org/depress","version":"0.1.0","description":"De-press yourself. Migrate any WordPress blog to Astro + Keystatic in minutes. Free hosting forever.","type":"module","bin":{"depress":"dist/index.js"},"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"publishConfig":{"access":"public"},"scripts":{"build":"tsc","dev":"tsc --watch","lint":"tsc --noEmit","typecheck":"tsc --noEmit"},"keywords":["wordpress","migration","astro","keystatic","static-site","cms","cli","blog","wp2md","cloudflare"],"author":{"name":"depress-org"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/depress-org/depress.git","directory":"packages/cli"},"homepage":"https://github.com/depress-org/depress#readme","bugs":{"url":"https://github.com/depress-org/depress/issues"},"dependencies":{"@depress-org/core":"*","@depress-org/wp-migrate":"*","chalk":"^5.0.0","commander":"^12.0.0","inquirer":"^9.0.0","ora":"^8.0.0","wordpress-export-to-markdown":"^3.0.4"},"devDependencies":{"@types/inquirer":"^9.0.0","@types/node":"^20.0.0","typescript":"^5.4.0"},"engines":{"node":">=18.0.0","npm":">=9.0.0"},"_id":"@depress-org/depress@0.1.0","_nodeVersion":"24.7.0","_npmVersion":"11.12.1","dist":{"integrity":"sha512-VGnE1arfLnDXaNEnX5Pa/dFkOrwiW0v/pLq5xJwtKLqg1nL2PE1IGzmf53Y8h+/gKXpxj9kfH4FFB9NggxVL5w==","shasum":"eb3d7fcd6a35154913b04d0cde829d663348f43f","tarball":"https://registry.npmjs.org/@depress-org/depress/-/depress-0.1.0.tgz","fileCount":26,"unpackedSize":65006,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQChB+OAsnCQN6Ua21DYP1b+EPbBVi+cNK41x1wURKuAnQIgD7KZ3eAGzeqaw2RoTAt5pRO4Kb386dGPZjhiJ9gbE6c="}]},"_npmUser":{"name":"bullwinkle","email":"developer085@gmail.com"},"directories":{},"maintainers":[{"name":"bullwinkle","email":"developer085@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/depress_0.1.0_1777755230857_0.2171841567490771"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-02T20:53:50.787Z","0.1.0":"2026-05-02T20:53:51.006Z","modified":"2026-05-02T20:53:51.231Z"},"maintainers":[{"name":"bullwinkle","email":"developer085@gmail.com"}],"description":"De-press yourself. Migrate any WordPress blog to Astro + Keystatic in minutes. Free hosting forever.","homepage":"https://github.com/depress-org/depress#readme","keywords":["wordpress","migration","astro","keystatic","static-site","cms","cli","blog","wp2md","cloudflare"],"repository":{"type":"git","url":"git+https://github.com/depress-org/depress.git","directory":"packages/cli"},"author":{"name":"depress-org"},"bugs":{"url":"https://github.com/depress-org/depress/issues"},"license":"MIT","readme":"# depress 🔓\n\n> *De-press yourself.* Migrate any WordPress blog to **Astro + Keystatic** in minutes. Free hosting forever.\n\n[![npm](https://img.shields.io/npm/v/%40depress-org%2Fdepress)](https://npmjs.com/package/@depress-org/depress)\n[![license](https://img.shields.io/github/license/depress-org/depress)](LICENSE)\n[![node](https://img.shields.io/node/v/%40depress-org%2Fdepress)](https://npmjs.com/package/@depress-org/depress)\n\n## Why?\n\nYour WordPress bill is depressing. Hosting a simple blog shouldn't cost $20–50/month.\n\n`depress` converts your WordPress site to a **fully static site with a visual CMS** — deployed for free on Cloudflare Pages, with content stored in GitHub, and edited through a beautiful Keystatic admin panel.\n\n```\nWordPress (expensive)           Your new stack (free)\n─────────────────────           ─────────────────────\nMySQL database         →        Markdown files in Git\nwp-content/uploads/    →        Cloudflare CDN\nPHP + Apache           →        Static HTML (Astro build)\nWP Admin               →        Keystatic visual editor\n$20-50/month           →        $0/month. Forever.\n```\n\n## What gets migrated\n\n- **All posts** — with frontmatter (title, date, category, tags, excerpt, cover image)\n- **All pages** — including parent/child hierarchy\n- **Navigation** — parsed from your WP menus, converted to working links\n- **Media** — images copied to `/public/media/`, links rewritten automatically\n- **Categories & tags** — with their own archive pages\n- **Keystatic config** — generated with all your collections pre-wired\n- **Complete Astro project** — ready to `npm start` and see your blog in the browser\n\n## Quick start\n\n### Migrate from WordPress\n\n```bash\n# Put your export.xml in the current folder, then:\nnpx @depress-org/depress migrate\n\n# Or specify paths explicitly:\nnpx @depress-org/depress migrate --input export.xml --wp-dir ./public_html --output ./my-blog\n```\n\nThen:\n\n```bash\ncd my-blog\nnpm start         # installs deps + starts dev server\n# → http://localhost:4321          (your blog)\n# → http://localhost:4321/keystatic  (CMS admin)\n```\n\n### Start a new blog from scratch\n\n```bash\nnpx @depress-org/depress init\n```\n\n## Migration workflow\n\n**Step 1** — Export your WordPress site:\n- Go to `wp-admin → Tools → Export → All content → Download`\n- (Optional) Download your WordPress `public_html` folder from hosting\n\n**Step 2** — Run depress:\n```bash\n# With only the XML (images downloaded from your live site):\nnpx @depress-org/depress migrate --input export.xml\n\n# With local WP folder (images served locally, faster + works offline):\nnpx @depress-org/depress migrate --input export.xml --wp-dir ./public_html\n```\n\n**Step 3** — Start your new blog:\n```bash\ncd output\nnpm start\n```\n\n**Step 4** — Deploy for free:\n- Push to GitHub\n- Connect repo to [Cloudflare Pages](https://pages.cloudflare.com) (build command: `npm run build`, output: `dist/`)\n- Update `keystatic.config.ts` to use `kind: 'github'` for production CMS\n\n## Options\n\n```\ndepress migrate [options]\n\n  -i, --input <path>    WordPress XML export file\n  -d, --wp-dir <path>   WordPress public_html directory (for local media)\n  -o, --output <path>   Output directory (default: ./output)\n\ndepress init            Create a new blank Astro + Keystatic blog (interactive)\n```\n\n## Output structure\n\n```\noutput/\n  src/\n    content/\n      articles/         ← migrated posts (Markdoc)\n      pages/            ← migrated pages (Markdoc)\n      categories/       ← category entries (YAML)\n      tags/             ← tag entries (YAML)\n    pages/\n      index.astro       ← home page with latest articles\n      blog/[slug].astro ← article pages\n      category/[slug].astro ← category archive pages\n      [...slug].astro   ← WP pages\n    components/\n    layouts/\n    data/\n      navigation.json   ← your WP menu, ready to use\n  public/\n    media/              ← all migrated images\n  keystatic.config.ts   ← CMS config, pre-wired\n  astro.config.mjs\n  package.json          ← npm start just works\n```\n\n## Packages\n\n| Package | Description |\n|---------|-------------|\n| [`@depress-org/depress`](https://npmjs.com/package/@depress-org/depress) | Main CLI |\n| [`@depress-org/core`](https://npmjs.com/package/@depress-org/core) | Shared types |\n| [`@depress-org/wp-migrate`](https://npmjs.com/package/@depress-org/wp-migrate) | Migration engine |\n\n## License\n\nMIT © [depress-org](https://github.com/depress-org)\n","readmeFilename":"README.md","_rev":"1-1b74792d9833f6203ec30dee29d8c4ca"}