Skip to content

feat: add first github pages playground#31

Merged
micahkepe merged 25 commits intomicahkepe:mainfrom
thomas9911:main
Apr 13, 2026
Merged

feat: add first github pages playground#31
micahkepe merged 25 commits intomicahkepe:mainfrom
thomas9911:main

Conversation

@thomas9911
Copy link
Copy Markdown
Contributor

@thomas9911 thomas9911 commented Apr 12, 2026

Description

Adds github pages page with jsongrep playground

Related Issue(s)

#26

Demo

https://thomas9911.github.io/jsongrep/

NOTE: github pages should be enabled in the settings of the repo based on github actions

NB: I used claude code for the UI and chatgpt to verify that the github action workflow was correct

@micahkepe
Copy link
Copy Markdown
Owner

Going to refactor the workflow to use the legacy gh-pages branch approach that is already in use for the Criterion bench output. Will most likely nest the playground under a playground/ directory on that branch

}
}

export!(JsonGrepper);
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would like to see unit tests here as well to test input parsing and to verify workflow for users

…y deploy

- Compat with existing CI pages deploy for Criterion bench output ->
  copies bun build output to subdirectory in the `gh-pages` branch so it
  will be served at `micahkepe.com/jsongrep/playground/`
- These don't actually match the packages in `jsongrep` (use
  `serde_json_borrow` for zero-copy), `serde_json` here is purely for
  the serialization in the web app
- Based on the dark mode of radion theme: https://github.com/micahkepe/radion
- Pretty clean if I say so myself!
- Again, borrowing palette from radion theme
- Add cross-platform modifier key check for shortcut
@micahkepe
Copy link
Copy Markdown
Owner

Screenshot 2026-04-12 at 6 37 40 PM Screenshot 2026-04-12 at 6 37 45 PM Screenshot 2026-04-12 at 6 37 48 PM

@micahkepe micahkepe merged commit dc88e51 into micahkepe:main Apr 13, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants