bunnylol is a tool for writing smart bookmarks. Use in your browser, or on the command-line
by facebookRust
Last 12 weeks ยท 96 commits
4 of 6 standards met
#32 adds support for multiple stock website providers! feat details: Users can now set their preferred stock provider in ~/.config/bunnylol/config.toml Users can override the config default through command (bunnylol stock finviz META -> will override default config to finviz) make use of load once config and use reference to the config from registry for stock command . not sure on this one as search makes different files for each option, is another way of implementing this preferred as in different commands for each stock websites? testing: default behavior each provider mixed (yahoo, finviz, tradingview, google, investing) config-based defaults subcommand overrides beating config $TICKER syntax with config special character handling manual testing nitpicks are welcome too, just starting to learn with rustlings and figured ill jump into a open source repo :) any feedback is appreciated!
Special characters (, , , ) were absent from the encoding set, causing them to pass through unencoded into search URLs. Searching for terms like produced a broken URL where was interpreted as a query parameter separator, truncating the search query. Before: After: Changes โ Added , , , and to the : โ Added test for the reported scenario. โจ Let Copilot coding agent set things up for you โ coding agent works faster and does higher quality work when set up for your repo.
Repository: facebook/bunnylol.rs. Description: bunnylol is a tool for writing smart bookmarks. Use in your browser, or on the command-line Stars: 118, Forks: 26. Primary language: Rust. Languages: Rust (92.1%), Shell (7.3%), Dockerfile (0.6%). License: MIT. Topics: bookmarks, browser, bunnylol, rust. Open PRs: 1, open issues: 3. Last activity: 2d ago. Community health: 75%. Top contributors: alichtman, emmanuelseete96, madyanalj, Copilot, dependabot[bot], AustinWise, ScienceMachine.
Add support for multiple stock website providers (Yahoo Finance, Finviz, TradingView, Google Finance, Investing.com) with a approach to have config-based defaults and per command overrides kind of like how search is implemented. The command "stock" does not clearly infer Yahoo Finance, so I think this would be a nice add-on! There are many stock website providers and while I agree Yahoo Finance is the most in-depth one, I personally use google finance. Should be a pretty straight-forward feature!
Summary Custom aliases defined in (e.g. ) were only resolved in CLI mode, not when accessed via the server's parameter The server handler already had the config (including aliases) available as Rocket state, but never called before processing the command This adds the same call that the CLI code path in already uses Test plan [x] passes [x] Define an alias in (e.g. ) [x] Start server with [x] Verify redirects to (was previously falling back to default search) [x] Verify built-in commands (e.g. ) still work as expected ๐ค Generated with Claude Code
The command previously routed all non-empty args as a path, with no search fallback or -prefixed profile support. Changes โ (profile) โ (repo); malformed slash inputs (e.g. ) fall through to search โ ๐ฌ We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.