Commit graph

9 commits

Author SHA1 Message Date
Kevin Raoofi
4d3a6d6e97 Use the README file for page directions
Add marked dependency for parcel so that it can do that for us
2020-11-25 18:34:59 -05:00
Kevin Raoofi
7e049858b5 Updated styling 2020-11-25 18:25:37 -05:00
Kevin Raoofi
8341291497 Use a set to deduplicate subscriptions 2020-11-25 18:25:37 -05:00
Kevin Raoofi
bd5adf6652 Support YouTube takeout JSON 2020-11-11 14:21:34 -05:00
Kevin Raoofi
69f24a6f32 Make YTtoLBRY use Preact
Not particularly valuable here, but more consistent if we're to accept
popup as using preact
2020-10-13 05:39:52 -04:00
Kevin Raoofi
da5cc12a7b ytService and rewrite of YTtoLBRY
YTtoLBRY:

* Use DOMParser for reading OPML
  * OPML parsing was quite brittle as it relied on string parsing
* Removed dead script inclusion in the HTML page
* Removed global state variables
* Use fetch to clean up the query logic
* Promisified file, API calls, and settings querying to simplify logic

Many of the utilities involving APIs were isolated to a common module.
Particularly, ytService contains all methods for extracting IDs,
querying for the lbry URLs, parsing OPML, and more.

This functionally is heavily used in YTtoLBRY and lightly used by
tabsOnUpdated.
2020-10-13 05:17:44 -04:00
Kevin Raoofi
48f88da6aa Common settings module
* settings module as single source of truth and provides utilities,
  defaults, constants, and typing
* runtimeOnStartup and storageOnChanged were merged into storageSetup
* storageSetup reworked to use settings for seamless additions
* tabOnUpdated and YTtoLBRY updated to use settings for URL prefixes
2020-10-13 05:17:44 -04:00
Kevin Raoofi
4a8fcab524 Remove content.js script include
Since that scripts doesn't exist, it breaks the parcel build
2020-10-06 14:59:23 -04:00
Kevin Raoofi
0cc8f4effe npm style project setup
* All files were moved to the `src` directory, unchanged
* Parcel handles module resolution as well as transpilation via babel
* package.json, package-lock.json, and .gitignore were added
* Utilize crossplatform tools for build
2020-10-06 14:58:52 -04:00