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 [Version 2.0] #104

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

Tauri [Version 2.0] #104

wants to merge 12 commits into from

Conversation

terreng
Copy link
Owner

@terreng terreng commented Oct 22, 2022

Closes #52

Run command: npm run tauri dev

Need Tauri to implement SSB for MAS: tauri-apps/tauri#3716
Need Tauri to implement dock management features (hide dock icon, open new window when launched a second time): tauri-apps/tauri#2258 (comment)
https://github.com/tauri-apps/tauri/issues/2358
https://github.com/tauri-apps/tao/issues/105

Safari CSS issues:

  • Scroll bounce
  • Don't select text (-webkit-user-select?)
  • Directory cutoff messed up
  • up and down arrows in port input box

https://tauri.app/v1/guides/features/command/#accessing-managed-state
https://docs.rs/serde_json/latest/serde_json/index.html
https://crates.io/crates/dirs
https://tauri.app/v1/guides/features/events/
https://tauri.app/v1/api/js/dialog/#open
https://tauri.app/v1/api/js/path/

@terreng terreng self-assigned this Oct 22, 2022
@ethanaobrien
Copy link
Collaborator

@terreng Do you think we should use a http/https request handler or work with the raw sockets? I'd prefer the raw sockets, just because it gives us more control, but with https that would be a pain to figure out if we did it that way. What do you think?

@terreng
Copy link
Owner Author

terreng commented Oct 22, 2022

I don't see an advantage to making things harder for ourselves.

@terreng
Copy link
Owner Author

terreng commented Nov 4, 2022

@ethanaobrien By the way, here are our latest download numbers:
Mac App Store: 348 (currently charted at #82 in the developer tools category, comes up first when you search for "web server")
Microsoft Store: 430
Direct download (Windows): 606
Direct download (macoS): 67
(Probably around 25 of the direct downloads were just me testing)
Total: 1451

@terreng
Copy link
Owner Author

terreng commented Dec 12, 2022

@ethanaobrien Here are some updated numbers.
Mac App Store: 454
Microsoft Store: 648
Direct download: 1491
Total: 2593
We're coming up at the top of Google search results for "simple web server" and "basic web server"

@ethanaobrien
Copy link
Collaborator

@terreng When you get the chance, could you bump tauri to version 2. I plan to use Actix web as the backend for the rust version for simplicity and ease.

@terreng
Copy link
Owner Author

terreng commented Oct 26, 2024

Sure, I'll add this to my to-do list. It might be about time that I re-evaluate Tauri now that 2.0 is out. This branch is probably also super stale at this point.

@terreng
Copy link
Owner Author

terreng commented Oct 26, 2024

@ethanaobrien Alright I updated it to Tauri 2.0. It should work if you run npm install and then npm run tauri dev from root.

Keep in mind that many things in the UI don't work yet because the corresponding backend code isn't there. To name a few, the language is hardcoded, you can't change the theme, plugins aren't implemented, etc.

The big missing thing for your purposes is the server_states logic (so all of the servers just say "starting..."). Once there's actually a web server implemented on the back end, you can implement server_states just like it works in the electron version.

@terreng
Copy link
Owner Author

terreng commented Oct 27, 2024

By the way, here are the latest numbers, for your resume and what have you:
Mac App Store: 19,100
Microsoft Store: 12,017
Direct download: 50,877
Total: 81,994

Direct download count includes versions 1.2.9 - 1.2.12. Anyone upgrading between those versions is double counted, but that number is probably small because the "update available" banner only shows for people before on versions before 1.2.9 since nothing major has changed after that. Direct download does not count people on older versions who are ignoring the update.

@ethanaobrien
Copy link
Collaborator

Awesome! I'll get to this when I get the chance (may be a bit with life)

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.

Tauri: Much smaller download size and reduced resource consumption
2 participants