This WebExtension, made for Firefox, Chrome, & Edge, lets you select a bookmark folder and open a bookmark at random from it. It's made with an eye for customizability and good UX.
Get the stable version for Firefox or Chrome.
This project has a Code of Conduct. By participating in this project, you agree to be as courteous, welcoming, and generally a lovely person as its terms require. ♡
No genAI is used or allowed in code or assets original to this project.
You will need Node.js.
After you first obtain this repo's files, or whenever package.json is updated, run the command npm install to download all of the project's current dependencies.
For a one-time build, run npm run build to get build-firefox and build-chrome folders that each contain a ready-to-run extension.
If you'd like to make changes to Random Bookmark From Folder, do them on the source files in the WebExtension folder, and use the npm run watch command, which will both create the build-* folders and start a watcher process to keep it updated as you work. The .svelte files are Svelte, and the .scss files are Sass.
The build process is handled by Rollup, configured with the rollup.config.mjs file.
Which folder to load and how to load it depends on the browser you're testing with:
- Firefox: Load build-firefox as a temporary extension, or use web-ext.
- Waterfox: Load build-firefox as a temporary extension. If you'd like to use web-ext instead, you'll need to add the --firefox option.
- Vivaldi and Chrome: Load build-chrome as an unpacked extension.