A TypeScript CLI for exploring Grateful Dead recordings on archive.org. It uses commander for argument parsing, chalk for colorful output, ora for spinners, inquirer for prompts, and execa for environment inspection.
npx gdarchive today- Install dependencies:
npm install - Run the CLI in watch mode:
npm run dev -- shows 1977-05-08 - Build the distributable:
npm run build - Creare a global symlink:
npm link
Open the highest rated recording of a specific show:
gda shows 1977-05-08 --autoSelect from all historical shows played on a month and day:
gda shows 05-08Select from historical shows played on today's date:
gda todayshows <date>— Fetches all recordings from the suppliedYYYY-MM-DDcalendar date (any year) and lets you pick one to open in your browser.-a, --auto— Automatically open the top-rated recording without prompting.
today— Looks up recordings that happened on today's month/day across all years.-a, --auto— Automatically open the top-rated recording without prompting.
npm run dev -- <args>— Run the TypeScript entry point with hot reloading viatsx.npm run build— Bundle the CLI withtsup, emitting ESM output and type declarations underdist/.npm run typecheck— Runtsc --noEmitto ensure the codebase is type-safe.
- Interactive flow:
npm run dev -- shows 1977-05-08 - Non-interactive flow:
npm run dev -- today --auto - Environment info:
npm run dev -- info