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

Add desktop app #49

Open
zaknesler opened this issue Jun 2, 2024 · 0 comments
Open

Add desktop app #49

zaknesler opened this issue Jun 2, 2024 · 0 comments
Labels
backlog We'll do it later maybe Maybe we'll do it, maybe not

Comments

@zaknesler
Copy link
Owner

zaknesler commented Jun 2, 2024

So, first off, this is a definite maybe.

My original intention was to make this a desktop app using Tauri, and this project actually began as a demo of Tauri and a way for me to get introduced to Solid.js. However after some consideration, I really liked the simplicity of a binary file that hosts the API and the frontend within the same process and port, without having to open a desktop app. You just host it on a server and can access it anywhere just a regular website. God it's just so nice.

However I understand that it would be cool to have it as a desktop app with Tauri. So I would like to explore adding a Tauri app. Hopefully, we can literally just have it run the UI and use the same API, so we don't have to extract all of our Axum routes to a service that must be used with Axum and with Tauri handlers.

Edit: Actually don't bother with Tauri! Just use Tauri's component crates:

It should be easy enough to render the webpage rendered by Axum, just handle window and system tray.

@zaknesler zaknesler added backlog We'll do it later maybe Maybe we'll do it, maybe not labels Jun 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog We'll do it later maybe Maybe we'll do it, maybe not
Projects
None yet
Development

No branches or pull requests

1 participant