Skip to content

spookyuser/laconic_hover

Repository files navigation

Laconic Hover

A browser extension which shows Laconic text when hovering on a TV Tropes link.

TV Tropes is great but its even better when you have the power of a million tropes in the palm of your hand.

Install

How?

This used to be a Userscript but its become more of a fully fledged extension. The core of this extension works by fetching "laconic pages" in the TV Tropes wiki. These are "subpages ... for brief statements describing the core idea of the page they are attached to." Thankfully many pages have them and they're very helpful for navigating if you don't know every Trope off by heart. This extension attempts to make a request to the laconic page of any Trope link you happen to be hovering on. If a Laconic page exists, the html is displayed, otherwise an error message is displayed.

This extension uses tippy.js for controlling and displaying hovering elements, which is super neat!

Hasn't this been done before?

Yes, I think so: [1] [2]
But neither were ever updated, hopefully this will be different.

Development

See the npm scripts for more information. To get started make sure Node.js® is installed. You can then clone the repo and install the repositories:

git clone https://github.com/spookyUnknownUser/laconic_hover
cd laconic_hover
pnpm install

If you want to play around with the project do the following:

pnpm run dev

Roadmap

I don't have any feature ideas at the moment, so please click here to submit any ideas you might have.

Contributing

Please see contributing.md. TL;DR: All are very welcome.

Acknowledgements

I would also like to especially thank @sindresorhus and anyone else involved in refined-github for figuring out how to structure a modern web extension and making it easy to copy that structure :)