Comments (12)
It's way more than possible to hook tauri up to a remote website (https://github.com/DiscordTauri/discord-tauri, is a good example)
HOWEVER, I've been thinking of doing a port in a couple months or so (once Tauri mobile is more stable, since it'd be nice to run it natively on iOS or Android as well)
Have you tried out using the PWA? Personally it's how I use Beatbump on my iPhone and it's honestly not a bad experience for the time being. Same with on my laptop (however it requires Chrome/Edge/others or Safari since afaict Firefox removed PWAs?)
from beatbump.
It is possible to inject custom code with tauri, that is true, but the example you linked does not do that.
No custom code is injected after discord is loaded.
And no code injected before the discord load would be meaningful, since a full page reload is done.
from beatbump.
Ahhh, true, one sec my bad. Looking for an old video of mine, then. Since i cloned it and tried to do custom code injection and it worked
from beatbump.
Dorion seems like a better example of injecting code into a remote site with tauri.
https://github.com/SpikeHD/Dorion
from beatbump.
Their solution doesn't look very elegant though.
From the looks of it they just blindly evaluate js.
from beatbump.
Yeah, good point I can't find my old project or any videos. However, you are correct it's not really that elegant of a solution. While I look into exactly how to handle migrating or porting the backend API does a PWA work? The biggest challenge is extracting or porting the entire back into either rust or a more modular, you know, mono repo, sort of set up, especially since the back and heavily is integrated with svelte kit as well as the project itself so it would be quite a big guess task in order to pull the API out
from beatbump.
Porting the entire backend to rust sounds like a fun project.
If you can generate an OpenAPI spec then I can work on the rust port in my free time.
from beatbump.
I've been considering just yanking the API out into a package, using this it may be easier to port the API to a Sidecar server, however, it still would be essentially a full-blown reimplementation of the API but it's definitely something that's doable, but at that point, it's kind of a question of why not just rewrite it and rust?
from beatbump.
While it would be fun, it definitely wouldn't be fun to fully type it because of how much do YouTube music, internal API changes and how many different keys objects, etc. exist for it
from beatbump.
But I would definitely be up for the challenge
from beatbump.
If you have Twitter, you can DM me on Twitter and we can see about doing a collaboration of sorts. If you don't have Twitter then just drop your discord and I can hit you up on there.
from beatbump.
My discord can be found on my GitHub profile!
Otherwise you can use my username: arjixwastaken
from beatbump.
Related Issues (20)
- [BUG] Default HLS proxy doesn't work on Firefox
- [BUG] Triple dots icon not working in search section "Videos"
- [BUG] Song's previous button doesn't start song from the beginning
- [FEAT] When clicked on a searched playlist or album, you get access to a list of songs to choose from HOT 1
- [BUG] Favorite songs don't sync while being searched
- [FEAT] Artists can be marked as favorites
- [BUG] (Not all) opened albums from Home or Trending pages don't load
- [BUG] "Looks like you hit a dead end" screen doesn't redirect
- [FEAT] Search song by YouTube's song ID HOT 1
- [BUG] Fail to build docker image (maybe add suport for arm64?) HOT 5
- [FEAT] Leave search string in search field HOT 2
- [FEAT] Delete song in a playlist
- Predirect extension for redirecting to alternative frontends HOT 5
- not able to change song
- [BUG] HOT 4
- [BUG] Recently, a lot of errors while playing HOT 1
- [BUG] Recently - TypeError: n.playabilityStatus is undefined
- [BUG] Music doesnโt play. HOT 2
- [FEAT] Multiple language support HOT 1
- [BUG] Error 500 from the API not letting to play any song HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from beatbump.