zadam / trilium-sender Goto Github PK
View Code? Open in Web Editor NEWSimple android application for sending images and notes to Trilium
License: GNU General Public License v3.0
Simple android application for sending images and notes to Trilium
License: GNU General Public License v3.0
i have my journal set to protected subtree and adding new notes on desktop are protected however if added via the android app then it isn't created protected
There is some hint when you open the app but I can't find a way to add a note. Suggestion to make a sharing target might be a way. I can see the option in gallery
If I tap in the note part of the add note the keyboard pops up. Then paste a bunch of text. When the keyboard hides only half the screen is used to score the posted text.
[edit] Seems if you add:
android:windowSoftInputMode="adjustResize"
to the manifest for the main activity this might resolve the issue
I'd like to be able to specify a label and have notes that are added be added under that label. For example, I'd like to have the notes added in my inbox, perhaps a folder called "to file" so I'd add a label called "androidToFile" on that note and either you could add code on the backed to file there, or perhaps clone there.
I read the closed issues about how to add the add note shortcut, yet I still can't do it. I have pixel launcher, not sure if that matters or not.
If I long press on the screen I get wallpapers and widgets, there's nothing in widgets related to trilium. If I long press the home page or the app drawer trilium icon I get remove/uninstall options but no option to add a shortcut. I'm at a loss. Is there any workaround or am I missing a step somewhere?
Can you add an option to set up of the app to ignore the error for self-signed certificate. Yes, I also asked for this in the main app, but I know you can do this for android apps as I have other apps that do this. I understand the security issue so perhaps warn the used when they select to do this.
I can't setup the app. I always get an error in the url field: "Unexpected response from server".
Server version: 0.48.5
Would it be possible to change the port number by the user, because sometimes we need to use a different port for various reasons. Having it hardcoded in the app makes it less useful.
Are you OK with publishing Trilium Sender on F-Droid, @zadam?
F-Droid is an app store containing only open-source apps that are build from source.
If yes, could you please open an issue here?
The F-Droid crew will take care of the rest. ๐
FYI @Rudloff & @Poussinou
I can't login in trilium server in trilium-sender downloaded by google play.
It shows me the network error after I input the necessary info.
And I found logs below, I want to know if there is a script which supported the trilium-sender.
Error: Router not found for request /api/sender
at /usr/src/app/src/app.js:71:17
at Layer.handle [as handle_request] (/usr/src/app/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/usr/src/app/node_modules/express/lib/router/index.js:323:13)
at /usr/src/app/node_modules/express/lib/router/index.js:284:7
at Function.process_params (/usr/src/app/node_modules/express/lib/router/index.js:341:12)
at next (/usr/src/app/node_modules/express/lib/router/index.js:275:10)
at Layer.handle [as handle_request] (/usr/src/app/node_modules/express/lib/router/layer.js:91:12)
at trim_prefix (/usr/src/app/node_modules/express/lib/router/index.js:323:13)
at /usr/src/app/node_modules/express/lib/router/index.js:284:7
at Function.process_params (/usr/src/app/node_modules/express/lib/router/index.js:341:12) {
status: 404
}
It would be nice if zadam makes an unofficial github release at least.
This sounds to be a very useful option.
thanks
first, thanks for this. very useful.
I use the add note and there is a nessage that "Sending note to trilium failed" but I can see the note added. This is from Android to the 0.28-1 beta.
The idea is that sharing text will open note activity with prefilled content from the shared text. User can then just press "send" and activity closes.
When trying to open the web page at 127.0.0.1:8085 the page wont load. If I check the logs; this is shown;`
today at 3:36:47 PM DB not initialized, please visit setup page - http://[your-server-host]:8085 to see instructions on how to initialize Trilium.
today at 3:36:47 PM App HTTP server starting up at port 8085
today at 3:36:47 PM {
today at 3:36:47 PM "appVersion": "0.45.10",
today at 3:36:47 PM "dbVersion": 170,
today at 3:36:47 PM "syncVersion": 16,
today at 3:36:47 PM "buildDate": "2021-02-11T23:05:48+01:00",
today at 3:36:47 PM "buildRevision": "5b679930de787efc2f70dfe7961cd1677ec2fa0f",
today at 3:36:47 PM "dataDirectory": "/data",
today at 3:36:47 PM "clipperProtocolVersion": "1.0"
today at 3:36:47 PM }
today at 3:36:47 PM CPU model: Intel(R) Core(TM)2 Duo CPU E7500 @ 2.93GHz, logical cores: 2 freq: 2926 Mhz
today at 3:36:47 PM Listening on port 8085```
This is hte part of my docker-compose.yml file:
trilium:
image: zadam/trilium:0.45-latest
restart: always
environment:
- TRILIUM_DATA_DIR=/data
- TZ=${TZ}
- PUID=${PUID}
- PGID=${PGID}
ports:
- "${TRILLIUM_PORT}::8085"
volumes:
- ${USERDIR}/trilium:/data
any idea why i cant connect?
I might be missing something here but what username is trilium sender wanting in its setup?
Trilium Server never set one up, not prompts for one. Entering random text doesn't work either ๐
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.