zadam / trilium

Build your personal knowledge base with Trilium Notes
GNU Affero General Public License v3.0
27.2k stars 1.9k forks source link

Allow unauthenticated read-only access to notes #391

Closed alansmitheejp closed 3 years ago

alansmitheejp commented 5 years ago

I am happy if anyone can read it with Web access.

zadam commented 5 years ago

Can you clarify what you mean?

alansmitheejp commented 5 years ago

I want to publish the knowledge database on the web. Anyone can browse contents from web browser without user ID. Only me is registering knowledge.

zadam commented 5 years ago

This is currently not possible although I understand the use case. I think instead of trying to incorporate this feature into Trilium itself it would make more sense to create a separate read-only unauthenticated web app (possibly as a sync server).

alansmitheejp commented 5 years ago

Thank you for the reply. Is it a static web server that shares document.db? I hope you add it to future development indeed.

user9931 commented 4 years ago

think instead of trying to incorporate this feature into Trilium itself it would make more sense to create a separate read-only unauthenticated web app (possibly as a sync server).

it will be great for that to have feature to export notes in markdown format, so it can be used in any tools that support it (like Jekyll, Pelican and other)...

zadam commented 4 years ago

Not sure if I understand but markdown as an export format is already supported ...

user9931 commented 4 years ago

some kind of automated (by schedule) export, for example, every day; or, if possible (that's much better), to invoke it (export) from command line/script

Mangiola commented 3 years ago

Recently I've tried creating this kind of read-only view in a very hacky way. I exported my notes to a new Trilium instance and made all notes inherit #readOnly. I also removed most UI elements with CSS that were related to editing notes.

This is clearly flawed, as there is still functionality that cannot be disabled (like moving notes in the tree). Exporting all my notes to another instance is also a hassle. I'm currently looking into other solutions, as this would be a very useful feature for me.

zadam commented 3 years ago

Let's continue this in #2010