Comments (3)
As I wrote this I realized that there is no JS API to write a file to disk from the browser.
There is the filesystem API that creates a virtual (isolated FS) but then the problem remains - how to sync to real filesystem https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API
Perhaps the browser could open a "Save as" dialog to "download" the content to the actual file.
But I imagine the UX would not be stellar.
Probably a good solution would be to package this web app as a native application and expose the FS API that way.
Has anyone tried doing that ?
from organice.
As I wrote this I realized that there is no JS API to write a file to disk from the browser.
exactly.
Has anyone tried doing that ?
check out the develop branch. Works for Android, already.
from organice.
Closing since you mentioned yourself that your proposal won’t work.
if you want to work on the native app branch, you’re very welcome to!
from organice.
Related Issues (20)
- As a user, I want to be prevented from invalidating my Org file by entering a description that leads with `*` HOT 5
- As a user, I want to be able to set a default file in the file settings
- Improve styling of "deadline display" in responsive and mobile mode HOT 4
- Don’t replace all leading `*` in the description
- Organice Android local storage access in android native app HOT 12
- Allow capturing table entries HOT 3
- "deep" export to email (or copy-paste) HOT 4
- Allow capturing when no file is opened HOT 3
- point organice to a read-only url, eg local file:// HOT 4
- CI feature: integrate pull request preview environments HOT 2
- Notification for Deadlines and Schedules HOT 1
- Property drawer editor uses properties of another heading
- Docker Container for Raspberry Pi HOT 1
- Google/Youtube Fingerprinting HOT 1
- ORGANICE_WEBDAV_URL not getting inserted correctly HOT 1
- Large files not found “File /test.org not found” HOT 1
- Setting of "Start of week for weekly agenda" is lost quite often HOT 2
- Allow viewing of public Org files and repositories HOT 4
- Feature request: support Github as a syncing backend HOT 5
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 organice.