A CLI tool that fetches, parses, and displays Playwright release notes from the official repository.
- Fetches Playwright release notes in Markdown format.
- Parses Markdown string to extract release sections and information.
- Outputs structured release data via terminal GUI.
-
build the application:
pnpm install pnpm build
-
open your shell configuration file (e.g.,
~/.bashrc,~/.zshrc) and add the following alias:alias pr="node ~/path/to/playwright-release/dist/index.js"
-
reload your shell configuration:
source ~/.bashrc
-
then use the alias:
pr
pnpm install
pnpm devpnpm builddown | j- move down to the next itemup | k- move up to the previous itemright | l | Enter- switch to infobox
left | h- switch back to listdown | j- scroll down in the infoboxup | k- scroll up in the infobox
Ctrl + c | q | Q- exit the applicationr | R- rerender the screen
Search input allows for very simple searching by checking whether provided string is present in the release notes.
Alt + s | s | S- focus the search inputEnter- submits search query string and updates UI with results. Switches focus to list.
dev: Run the app in development mode using tsx.build: Compile TypeScript to JavaScript in thedistdirectory.type-check: Run TypeScript type checking.lint: Lint the codebase with ESLint.
src/api.ts: Fetches Markdown from the Playwright repository.src/parser.ts: Parses Markdown and converts it to JSON.src/client.ts: Handles displaying or using the parsed data.src/index.ts: Main entry point, orchestrates fetching, parsing, and output.
MIT