create-lens-journal
v0.2.0
Published
Scaffold a new Lens Journal photo-journal site in seconds.
Maintainers
Readme
create-lens-journal
Scaffold a new Lens Journal photo-journal site in seconds.
Usage
# npm
npm create lens-journal@latest
# pnpm
pnpm create lens-journal
# yarn
yarn create lens-journal
# bun
bun create lens-journalYou can also pass the target directory directly:
npm create lens-journal@latest my-journalThe CLI will:
- Copy the starter template (an Astro site wired to
@lens-journal/theme). - Set your project name.
- Optionally install dependencies with your detected package manager.
After scaffolding
cd my-journal
npm install # if you skipped install
npm run dev # start the dev server
npx lens import ./photos # import EXIF-aware photos into entriesWhat you get
- A production-ready Astro site with a timeline, gallery, world map, and per-camera / per-lens browsing.
- Shared design tokens from
@lens-journal/theme. - Content validated by the same schema the
lensCLI writes, so frontmatter never drifts.
See the main documentation for the full workflow.
