trophygeek / readmethetext Goto Github PK
View Code? Open in Web Editor NEWReadMeTheText Extension
License: MIT License
ReadMeTheText Extension
License: MIT License
This is tricky because it's happening in the toolbar which has a limited amount of space.
Was struggling to get unloadable background pages working correctly, so logic was added to free memory references to large sound buffers after 30 minutes.
The extension is now "persistent": false
in the manifest, so in theory, the memory should be freed at some point by chrome.
Then only real cost is that replaying the sound requires it be downloaded again. (Maybe enable aggressive caching to save on quota budget?)
Initially using this extension is pretty tricky since it requires getting an API key from Google.
The extension really needs to explain why this is a good thing (e.g. the extension isn't adding any surcharge) and how to go about getting a key.
There's an api call to get the latest and greatest voicelist from Google.
Using static extension id for urls (e.g. chrome-extension://amgdfpkjgcdgofgaanclahjickdjpicn
) is bad if the extension id changes.
Clicking links should be sent to js to have the id inserted into the urls, then navigated.
Hearing the same voice all the time is boring.
Add a feature that will checksum a site's domain and then consistently select a voice to use for that site.
Reading HTML from clipboard is so much better than reading plain text from context menu. (e.g. things like numbered lists are lost when using just text. Also, the pausing after headers, etc isn't possible with plain text).
However, getting html from a page is NOT supported by the chrome context menu and this feature requires injecting script into EVERY page.
The privilege requirement is a security/privacy issue.
Quota tracking attempts to keep track of usage, but there's no notification to the user when they pass 50%, 80%, 95% of monthly quota (which is set by Google).
Todo: Double-buffer really long text (splitting by paragraph). While one section is reading, it's preloading the next.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.