Comments (5)
I've tried changing version in package.json to 20.2.0 and running yarn install
, but it kept failing.
Trying to build node version 12.13.1 from source now...
...and failing:
../deps/v8/src/base/debug/stack_trace_posix.cc:34:10: fatal error: 'execinfo.h' file not found
yep, confirmed that you can't compile nodejs on android.
Tried grabbing a nodejs 12 .deb package from debian, but it won't be installed because it has unresolved dependencies:
https://debian.pkgs.org/12/debian-main-arm64/nodejs_18.13.0+dfsg1-1_arm64.deb.html
by the way version 12 isn't supported anymore?
I thought about running it in a docker container, but it requires qemu and seems too much just to run organice.
Other options: proot or packaging it as a native client with something like react native or flutter. Keep trying...
How about webpack? Could it be packaged as a bundle of static content and served from temux from a regular http server? This sounds like the simplest and most secure solution.
from organice.
Hi @danielkrajnik, first of all let me express my admiration of your bravery. :)
Secondly, May I ask what your use case is for running organice within Termux?
Organcie is a PWA with offline capabilities which syncs to a storage backend of your choosing when online. If you just want to use organice on your phone pointing a browser to any instance e.g. https://organice.200ok.ch should be enough.
If you have a use case for hosting a PWA within Termux on an Android device consider me intrigued. I'd love to hear about it.
from organice.
Hi @branch14
thanks for chiming in. Op wants to access local files. There’s prior art and documentation on how to run organice in Termux with a local WebDAV server to accomplish that: https://github.com/200ok-ch/organice/tree/master/contrib
from organice.
IC. Nevermind my patronizing scrutiny then. :)
from organice.
Thanks both:
@munen I haven't seen this guide. The version it mentions is outdated and because termux only offers the latest version of node, which as of june 2023 is 20.2.0 it won't work at all. But then it mentions building termux repositories yourself - I haven't tried that yet. I imagine that you would need to cross-compile that version of node for android. It's definitely doable, but if it ever changes you will need to do it again, so I wonder if given that organice is a client-side SPA wouldn't it be possible to just bundle it with something like webpack and serve its html, css and js with another http server (on localhost)? That would be much easier.
@branch14 I'm trying to self host the app and use local files. The idea was to serve them with a webdav server (dufs). I think it's important to be able to self-host if you care about privacy. There has been a fork that allowed for direct access to local storage, but I couldn't find out how to build it.
from organice.
Related Issues (20)
- 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
- Can you use a local directory? HOT 3
- Collaborative editing of Org files, similar to Google Docs or gobby. HOT 2
- Message about a bug when trying to open an org file HOT 2
- Web Mode
- Respect COMMENT keyword in headers HOT 1
- iCloud support HOT 1
- Use ARIA mark-up in the web app to make it accessible HOT 2
- Bookmarklets Javascript and Android Firefox sharing HOT 1
- Repeating timestamps only appearing at first date, not repeating dates, in agenda view HOT 5
- Closing TODOs does not log as per logdone HOT 4
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.