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

feat: a web app directly inside the browser using The File System Access API #221

Open
hichemfantar opened this issue Oct 3, 2024 · 4 comments
Labels
New feature New feature or request

Comments

@hichemfantar
Copy link

hichemfantar commented Oct 3, 2024

i assume triplex is an electron app so a web app should be possible thanks to The File System Access API
https://developer.mozilla.org/en-US/docs/Web/API/File_System_API

@itsdouges itsdouges added the New feature New feature or request label Oct 4, 2024
@itsdouges
Copy link
Collaborator

itsdouges commented Oct 4, 2024

Hi! Yeah exactly it's all web tech so it's not a far cry away from being usable inside a standalone website. Right now the next environment Triplex will be available in will be VS Code (join Discord and ask for access if you want to try it early), but this is definitely on the radar for the future.

I've previously spiked how this could work as a fully fledged editor in just the browser, there's some technical hurdles to get over especially when it comes to file system watchers. Perhaps if we were to spend time on this it'd have to be a cut back version.

@hichemfantar
Copy link
Author

I realize it's not high priority right now but I look forward to it 🚀

@itsdouges
Copy link
Collaborator

No worries, what were you hoping to get out of it being used directly in the browser? Vs. it being a standalone app and available as a VS Code extension. Any added context is greatly appreciated 🙏

@hichemfantar
Copy link
Author

A big reason is security as i can control exactly what the app can access via browser permissions.

Another reason is the ability to use the app on machines that block the installation of third party apps such as company computers.

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

No branches or pull requests

2 participants