Coder Social home page Coder Social logo

ajayyy / dearrow Goto Github PK

View Code? Open in Web Editor NEW
1.2K 1.2K 33.0 1.35 MB

Crowdsourcing better titles and thumbnails on YouTube

Home Page: https://dearrow.ajay.app

License: GNU General Public License v3.0

JavaScript 2.70% CSS 7.80% TypeScript 85.83% HTML 3.66%

dearrow's People

Contributors

ajayyy avatar dependabot[bot] avatar github-actions[bot] avatar judemont avatar kirisakow avatar marek12306 avatar mchangrh avatar sharunkumar avatar superstormer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

dearrow's Issues

Delay/Lag when Closing/Switching a YT Tab.

I like the project and switched to this from "clickbait remover for youtube".

I open several video tabs at once on my HTPC and then close each tab once the video ends and click the next tab. I have noticed that after closing that tab, the browser hangs for a few seconds. When I disabled DeArrow the issue stops. I'm not sure if the hang is on closing that tab or loading the just clicked tab.

The only default option I have changed is antialiased thumbnails since I don't care about jagged lines on a thumbnail and suspected that could be the cause of the delay.

My HTPC is an M93p Tiny with a 4570T, it's not a powerhouse but more than enough for some YT videos on a 1080 TV.

I use FF 114.0.2 on W10 22H2
The extension version is 1.0.10

Option to show original titles/thumbnails by default

Currently the extension is unusable for me because I find myself tediously checking every single video's original title to see what it was. This made me realize I'd rather see that by default.

I'd much rather see the title the original uploader intended, and only view the alternative one if I feel I have a problem with the original not being clear enough (which is only occasionally the case for me).

Old auto-generated thumbnails sometimes displayed after it has changed

Sometimes the auto-generated thumbnails end up being images of sponsored segments, like here:

Image

These can be manually fixed / better thumbnails can be crowdsourced, but I think integrating DeArrow with your other project, SponsorBlock, would be a no-brainer. Ignoring intros / outtros would be good too.

Move toggle button to somewhere less obtrusive

It's inconvenient and distracting that hovering over a video causes the words in its title to move due to the text wrapping changing.

This could be fixed by aligning the button to be directly below the kebab button on each video. Nothing in the default YT layout goes that far to the right, which YT designed specifically to prevent the UX problem of text wrapping changing on hover. So putting it in that same column would be natural and cause no text wrapping to change on hover, solving this UX problem. This would make the extension's toggle button just as subtle and non-obtrusive as YT's built-in kebab button.

Replace data in media controls

Browser media controls still show original titles and thumbnails. Might not be possible to do this when thumbnail generator server is disabled.

Automatic capitalization: issues with unicode

Automatic capitalization sometimes generates odd titles when the first letter is a unicode character

Original title:
Ski Aggu über Crazy Frog, "Party Sahne", Southstar & Domiziana – Interview mit Aria Nejati

Auto generated:
Ski Aggu üBer Crazy Frog, "Party Sahne", Southstar & Domiziana – Interview Mit Aria Nejati

The issue being the capital B in "über"

Safari version?

This looks like such a great project. Are there any plans for a Safari version?

Looking for clarification about the paywall mentioned on the help page.

Hello,
I just installed DeArrow and so far I like the improved video titles very much.
There is just one thing I noticed, when installing the extension a help page opens and the following text is shown.

This extension is free, forever, for anyone who installs it during the beta. Yes, that means there will be a paywall for new users only in the future, but I promise that there will still be a way to for people to get free access. Of course the extension will always remain fully open source, with a publicly downloadable database, just like SponsorBlock.

This is very unexpected because the dearrow homepage does neither mention beta status nor a possible future payment requirement. Please clarify what the future plans for this extension are.

Use alternative thumbnails from youtube instead of random timestamps

Instead of cumbersome random timestamp thumbnail generation, we could use youtube alternate thumbnails to show us a thumbnail from the actual video. This would be server resources friendly and instant.

These are all thumbnail urls in all formats:

https://i.ytimg.com/vi/<video-id>/default.jpg
https://i.ytimg.com/vi/<video-id>/0.jpg
https://i.ytimg.com/vi/<video-id>/1.jpg
https://i.ytimg.com/vi/<video-id>/2.jpg
https://i.ytimg.com/vi/<video-id>/3.jpg

https://i.ytimg.com/vi/<video-id>/mqdefault.jpg
https://i.ytimg.com/vi/<video-id>/mq1.jpg
https://i.ytimg.com/vi/<video-id>/mq2.jpg
https://i.ytimg.com/vi/<video-id>/mq3.jpg

https://i.ytimg.com/vi/<video-id>/hqdefault.jpg
https://i.ytimg.com/vi/<video-id>/hq720.jpg
https://i.ytimg.com/vi/<video-id>/hq1.jpg
https://i.ytimg.com/vi/<video-id>/hq2.jpg
https://i.ytimg.com/vi/<video-id>/hq3.jpg

https://i.ytimg.com/vi/<video-id>/sddefault.jpg
https://i.ytimg.com/vi/<video-id>/sd1.jpg
https://i.ytimg.com/vi/<video-id>/sd2.jpg
https://i.ytimg.com/vi/<video-id>/sd3.jpg

https://i.ytimg.com/vi/<video-id>/maxresdefault.jpg
https://i.ytimg.com/vi/<video-id>/maxres1.jpg
https://i.ytimg.com/vi/<video-id>/maxres2.jpg
https://i.ytimg.com/vi/<video-id>/maxres3.jpg

Where default or 0 is the clickbait thumbnail, 1 is at the beginning of the actual video, 2 is in the middle, 3 at the end. Also img.youtube.com and i.ytimg.com are interchangeable.

[Feature] Option to exclude all videos on the subscriptions page

Hi,

I'd like to disable the replacement on all the videos that are shown on my subscription page. I don't think subscribed channels are the proper target for this extension. I suppose simply excluding the videos on the subscription page won't be enough, since the replacement would still happen on the actual videos.

I could work around that by adding every single subscribed channel to the Channel Allowlist, but that requires quite some maintenance effort.

m.youtube.com support

Tried DeArrow v1.0.10 from AMO with both Firefox 114.0.2 on Fedora and Firefox 115.0b4 on Android. I tried on Android first, but found it can easily be reproduced on desktop with the Responsive Design Mode (just watch out you don't keep ?app=desktop in the URL).

Screenshots and video titles just stay original. By the way SponsorBlock works just fine in these scenarios.

'This Content isn't available' message replacing Thumbnails

image
It doesn't seem to happen to happen with every Video (as shown in the screenshot). I haven't quite identified what links these videos together - time period doesn't seem to be a factor (the video in the bottom left was posted 7 years ago, while the other two videos are recent posts).
Possibly a Browser-exclusive issue? I am using Vivaldi and the Chrome-rated Extension.

[Feature] Full lowercase title format

I think it would be great to add an option to format title to full lowercase.

Also, it might be useful to be able to format titles independently from replacing titles, to still be able to format titles even though "Replacing titles" option is unchecked.

What type of data will the extension collect overall?

Loved the product after coming across it on HN. Before dangling my feet into, I would like to ask what type of data does extension collect on our behalf?

Assuming it engages with the videos/feeds by YT, that means it will process lots of videos and will manipulate browser state to show us non-clickbait-ish title. What will be the avg. consumption of CPU by this extension's backend code ?

Thanks!

Titles stuck after navigating to different channel

Titles can linger after switching channels

Steps

  1. Open a channel with DeArrow titles (e.g. LTT).
  2. Wait for the titles/thumbnails to fully appear.
  3. Navigate to some other channel, can be through search or through left panel.
  4. Open the videos tab for the channel you just navigated to.
  5. It shows old channels's titles, in my case LTT titles on GN channel

Refreshing the page seems to help a bit. Although first time it happened, I opened a new tab, and search for a channel.

Screenshot

image

Very likely a duplicate of #18

Allow applying configurations to all subscribed channels

At the moment, I have only one configuration that disables DeArrow completely for channels that I trust/enjoy, and it is almost completely the channels I'm subscribed to.

I would like there to be an option to apply a config to all channels I'm subscribed to so that I don't have to type out a list manually.

I'm aware this might be problematic, depending how integrated DeArrow is with Youtube, in that case we can discuss here if there are any alternatives.

Store original as official time in thumbnail cache

Right now, if there is a vote for an official time, the thumbnail cache will continue serving the most recent submission.

This is alright since the main server will tell the client to ignore the thumbnail cache, but if the thumbnail cache is faster than the main server, it will cause it to show the thumbnail cache's stored image first.

Only modify title or thumbnail

Feature that would allow disabling title/thumbnail changing. This would be handy if someone wants to only cleanup titles.

Could be implemented as new settings: "Disable changing title" and "Disable changing thumbnail"

Support Piped/Invidious

Please add support for 3rd party front-ends, similar to SponsorBlock. Specifically, for Piped.

Option to remove unicode emojis from title (possibly description)

The emojis usually don't add any value to the title or video so it's just annoying visual noise meant to attract your eyes.

Of course, description emojis can help in certain situations for better readability, but I personally like when the description is clean text. So this either will affect only titles or have the option to include descriptions as well.

Example of annoying emojis in titles:
image
image

Example of annoying emojis in video description:
image
image

Future support for general web links

Would it be possible for this extension to eventually support links like news articles? For example on search engine result pages. Clickbait can be even worse than on youtube there. Or is the scope strictly youtube and similar video sites here?

Thank you for making this!

Fonts issue

Some fonts after transformation show ? symbols instead of letters
image
image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.