14 karma · joined Apr 7, 2021 (5y ago) · 22 submissions
comment 5y ago · link · parent
I'm working on implementing a public JavaScript API for finding a specific video from different video websites as a part of the TubeShift browser extension and project. The API is currently used by the browser extension and the website at www.tubeshift.info and I think it might be handy for other people.
This is the first time I've tried to create a JavaScript API so I'm looking for feedback on how usable it is and how bad my accent may be. I also don't have a lot of experience with Promises and I built the API specifically to be fault tolerant. This code is also fairly knew but is working in testing so far.
The API implementation supports either querying the TubeShift web service for information about locations for a video or it can optionally querying Odysee and BitChute directly to find out if a specific YouTube video is being hosted there. Because of CORS the discovery does not work on a normal web page but it does function inside the TubeShift browser extension.
My goal with the API rewrite from the version currently used by the production version of the extension was to allow the extension to function usefully even if the TubeShift API web service is offline. This makes TubeShift function like the Watch on LBRY or Watch on Odysee browser extensions but still offers more features even when the webservice is not available.
I'm not a web developer either and tubeshift.info is the first "real" website I've ever built and definitely the most I've ever done with DOM. The experience has been really interesting.
I really focused on fault tolerance so that the API could be used for critical user experiences even though the web service it talks to is not always available. For the use case of the TubeShift extension the tolerance for service outages on the webservice are much longer than something like having an embedded video on a website. The website implementation itself was built so that even if the web service is offline or the JavaScript faults internally that the user still receives an acceptable though not premium experience. That has been a really fun challenge to think about.
I hope the idea is interesting for others and I'm happy to answer questions.
2.
Show HN: TubeShift embeded videos from different video platforms with JavaScript(github.com ↗)
2 points · by TylerRiddle · 5y ago · 1 comment
comment 5y ago · link · parent
This is a tool I made specifically for Show HN because of a comment. This tool allows for a lookup for alternates for a YouTube video in either Bitchute, Dailymotion, Rumble or Odysee and is a part of the TubeShift browser extension with some more info and URLs in the linked page or the TubeShift website at https://www.tubeshift.info/
The browser extension is now open source and hosted on Github at https://github.com/altfinder/tubeshift-extension/
Queries might take longer than a normal database lookup because BitChute is searched for an alternative if one is not yet known.
To get discussion going here's a copy of some of the notes from the linked page:
> Hello Hacker News! A comment a few weeks ago asked for a tool that would let them query the TubeShift system to see if any videos they watch have available alternates. It look longer to make the tool than I expected but here you go. Have fun!
> I just rewrote the web services backend with an async web server implementation replacing the existing one. I expect much higher performance with much less RAM usage. Right now the web services are using up 110 megs of RAM while postgres is using up about 30 megs. I'm looking forward to seeing how the new programs handle and how the performance is with the load generated by HN. I'm trying to keep the implementation fairly light on resource consumption but still able to serve a lot of requests.
4.
Show HN: TubeShift Browser Extension API Query Tool – Same Video, Less YouTube(tubeshift.info ↗)
3 points · by TylerRiddle · 5y ago · 1 comment
comment 5y ago · link · parent
If you would like to have your favorite YouTuber in the system, or you are a YouTuber and would like to be in TubeShift, feel free to either leave a comment here or you can use the submission process on the website at https://www.tubeshift.info/#submit
comment 5y ago · link · parent
I gave up being a pure libertarian a long time ago so I'm very familiar with this argument and the issues related to it.
> given the "all or nothing" philosophy that ultimately and unavoidably ends up promoting all of the above mentioned sewage.
I don't know why you think anything and everything is allowed into TubeShift. It's not for a number of reasons:
First the channel has to be established on YouTube which inherently limits that channel's amount of extremeness. For it to bubble up into the radar of TubeShift means it's already got an audience and some views. Anything that extreme won't make it that far on YouTube.
Second, I hand curate the list. I've decided to make myself ultimate decider of what does and does not go in there. I can assure you I don't stuff everything into it I can find.
I used to be hard line free speech and anything goes. After being told so many times that no platform owes anyone anything I decided to run with it.
Are you familiar with the concepts of reciprocity and symmetry? I think the leftists are about to get a real world example and they aren't going to like it.
comment 5y ago · link · parent
People here are calling Barricade Garage far right. The slightest amount of effort spent looking into what he says and how he says it should let anyone know his views can't possibly be that simple.
comment 5y ago · link · parent
> "There's fewer Nazi's" isn't the ringing endorsement you think it is.
There's almost none actually. People are asking 'where are the Nazis I keep hearing about?' You know why? They are being chased off.
Just like the population now is going after the open racists. This is a cultural shift at Gab as more and more normal people come in because they are being chased off other platforms.
It's not complicated.
comment 5y ago · link · parent
I routinely fight with the users that worship Torba and call them a cult as a hobby. I like the conflict.
I routinely harras Torba and tell him to fix his crap software and call him incompetent. Then I fight off his cult backing him up with out thought. I like the conflict.
It's fun.
comment 5y ago · link · parent
When it was full of Nazis the place was intolerable because they harassed everyone that wasn't extreme. I never stuck around for that because the user experience was very poor. Those guys were assholes.
It's pretty tame right now by Gab standards. The influx of people after Parler was kicked off AWS really calmed the place down.
I haven't seen a Nazi since I signed up again a few months ago. There's even routinely people going around telling the open racists to stop being racist.
Gab's fine.
comment 5y ago · link · parent
I think he has a pretty good point. You could try listening to some of his "far right" views. They are in YouTube and BitChute: "CNN INTERVIEW GONE WRONG" https://www.youtube.com/watch?v=Vb0lh3_s4Dk and "HE GOT HIT WITH THAT BIG MAC" https://www.youtube.com/watch?v=-PWiMiO5Buo
I've never seen a member of the "far right" throw gang signs before.
comment 5y ago · link · parent
The obvious answer of "it's to successfully resist censorship" just doesn't make it into their brains for some reason.
comment 5y ago · link · parent
Only a part of this can be confirmed. Rossman hasn't made a statement yet about why that video was removed but for instance he still links to it from other places. If a video is flagged by YouTube for what ever reason one of the available options is for the publisher to voluntarily remove it to avoid something like a channel strike.
Rossman is potentially a victim here but it doesn't mater because the nature of the removal is irrelevant for the system from a technical standpoint.
> The second is Twitter blocking a link to a YouTube video that's still up.
You didn't look in very much detail. The post I could not make had a link to the same video in BitChute. When it's on BitChute it's harmful but when it's on YouTube it's not. It's the same video content with a different URL! I suspect what happened is BitChute is blacklisted from Twitter completely but I haven't tested it yet.
I suppose some how the exact same video is only harmful when it's on BitChute. That makes sense, right? This is the video by the way: https://www.bitchute.com/video/25cQBXfjgpLo/
> YouTube doesn't owe you or anyone else a platform.
Are you sure that argument makes sense when you are discussing a thing that is intended to drive people away from YouTube? Does it sound like I think YouTube owes anyone anything? It sounds more like I'm saying 'Watch Less YouTube' which would, at least in my head, be the opposite of thinking YouTube owed anyone anything.
> And even so, in no way is their "censorship" hitting a "level of absurdity that is hard to believe".
Yeah, it is. https://odysee.com/@MLChristiansen:d/susan-wicky-wicky-brags...
comment 5y ago · link · parent
Thanks for the note. I thought about this exact use case. It is a big ask to get someone to install an extension and a privilege to sit inside their browser (and I take this seriously).
I think I will add in this feature to the marketing website sooner than later, probably tomorrow, because it is sorely lacking. I think also a search function is in order but right now the system does not track the titles of any videos because that information isn't needed when it deals only with alternates.
> Good luck, and thanks for working on a project that's trying to wind back the gatekeeping and extreme censorship we see today.
It's getting nuts. I'm doing what I can think of! Cheers.
comment 5y ago · link · parent
I've setup a social media account for TubeShift at Gab which you can find here https://gab.com/tubeshift
I setup a Twitter account too though it's really only out of morbid curiosity. I ran into my first bit of censorship on my third post! I was unable to submit a link to a funny video where YouTube is acting like a thug demanding a content creator censor themselves. The Tweet was rejected as being "potentially harmful content" - I'm not exactly sure what it's harming except the reputation of companies that like to censor. https://twitter.com/TubeShiftPlugin/status/13796110972594053...
Here's the video on BitChute - be careful though Twitter thinks this is harmful. https://www.bitchute.com/video/25cQBXfjgpLo/
comment 5y ago · link · parent
The censorship on YouTube (and many other websites) is hitting a level of absurdity that is hard to believe. I can't imagine the general public is actually interested in having YouTube gatekeep so much information and act as if they are the arbiters of truth.
YouTube content creators are starting to hedge their bets by publishing in tandem to alternate platforms but they aren't always informing their audiences about it. There seems to be a good chunk of the population that is also tired of YouTube's behavior but isn't ready to totally boycott the service.
I created TubeShift to do 3 specific things:
1) Help publishers drive traffic away from YouTube to their official alternate publishing locations such as Rumble or Dailymotion.
2) Help people who want to watch less YouTube find the official content of the publishers they pay attention to somewhere that is not YouTube.
3) Give users a chance to still see the video they want to see even if it was removed from YouTube, for instance if they followed a hyperlink right to a YouTube video watch page.
You'll find some test links on the website to an EEVBlog and History Guy video both of which are hedging their bets.
Here's a test URL for a video that's been removed. Louis Rossman, who I can't imagine is controversial for any reason except making established tech unhappy through right to repair reform, just recently published a video about someone who is starting fires in front of his repair shop in New York City. In less than 24 hours after publication the video was removed from YouTube for unknown reasons.
Not a problem because TubeShift had already managed to get it into it's database.
https://odysee.com/@rossmanngroup:a/someone-keeps-piling-gar...
19.
Show HN: Watch the same video somewhere that is not YouTube(tubeshift.info ↗)
30 points · by TylerRiddle · 5y ago · 30 comments