Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tauri #78

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from
Draft

Tauri #78

wants to merge 5 commits into from

Conversation

d0z4rt
Copy link

@d0z4rt d0z4rt commented May 24, 2024

Heya, I thought it would be nice to be able to run the app in 'standalone' using Tauri. This is a work-in-progress and I wanted to open up the discussion to see if this idea might interests you :)

see: https://tauri.app/

image

@d0z4rt d0z4rt marked this pull request as draft May 24, 2024 07:54
@satelllte
Copy link
Owner

satelllte commented May 24, 2024

Hey @d0z4rt 👋🏻
This is great idea! How easy do you think it would be to finish this?

EDIT: I'm thinking, maybe it might be just easier to add support for Progressive Web App (PWA) for this app?

@d0z4rt
Copy link
Author

d0z4rt commented May 24, 2024

I don't think it's going be too complicated since Tauri is just used to run the web app and doesn't require additional code, tho in the future you could make fancy exporting methods or even move some calculations to Rust but you'll need a js fallback in order for the app to still work in a browser (using OffscreenCanvas for example as you already mentioned in one of your issue).
In short you might say it's already done since you can compile an executable and run it ^^

Imo the hardest part of adding tauri to this repo is handling builds with GitHub actions, there is some guidance here but I haven't tried yet.

As for PWA they're interesting on mobile but sadly it's not fully supported on desktop yet. See: PWA Browser support

@satelllte
Copy link
Owner

OK, I see. I'll take a look later then...

@d0z4rt
Copy link
Author

d0z4rt commented May 27, 2024

Hey,
I added the basic workflow to compile the app for Mac (intel and arm), Ubuntu and Windows.
The workflow needs to be run manually (I used the workflow_dispatch event) so you can play around with it.

It uses a matrix in order to build for all platforms and produce a draft release with all the artifacts. You can also disable this behavior and use the action actions/upload-artifact like you already did on your ci.yml workflow. Read more over tauri-action

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants