Is there a tutorial for how to self-host it?
Show HN: Leaflet.pub – a web app for creating and sharing rich documents
21–30 of 61 posts
Re: Show HN: Leaflet.pub – a web app for creating and sharing rich documents
#22Just as an FYI: "leaflet" is the name of a popular web mapping JS library. https://leafletjs.com/ May or may not be relevant for you (and is definitely a very different field/product), but if you're releasing client libraries/SDKs of any sort, it might be good to be aware of. There's a large ecosystem of plugin libraries named "leaflet-foo" or "foo-leaflet" etc in addition to the "main" one. If you start releasing an…
Re: Show HN: Leaflet.pub – a web app for creating and sharing rich documents
#23Just as an FYI: "leaflet" is the name of a popular web mapping JS library. https://leafletjs.com/ May or may not be relevant for you (and is definitely a very different field/product), but if you're releasing client libraries/SDKs of any sort, it might be good to be aware of. There's a large ecosystem of plugin libraries named "leaflet-foo" or "foo-leaflet" etc in addition to the "main" one. If you start releasing an…
Re: Show HN: Leaflet.pub – a web app for creating and sharing rich documents
#24– When tapping on the leaflet icon in the bottom left, the whole text area is erased (Safari on iPad).
– The strikethrough icon is a bit hard to recognize, because the stroke merges with the S line. Some text editors use a different letter for that reason, for example a T, and add a small gap along both sides of the stroke to emphasize the overlay (only on the icon, not on the actual text being edited).
– Making the strikethrough line lighter than the text color is a bit unconventional, I’m not sure it helps readability. In the default text size, the line is easy to overlook, also because it is pretty thin (on a hi-DPI display). This is particularly the case on bold and/or italic text.
– No dark mode support, it seems.
Re: Show HN: Leaflet.pub – a web app for creating and sharing rich documents
#25Are the documents encrypted? Is privacy a focus? One major reason that people want to move away from Google Docs and Notion is because of their very invasive privacy policies.
They are not and while basic privacy and security is definitely a focus (making sure random external people can't get access to your docs and account) end-to-end encryption and privacy is not. There are tools that focus on that that seem great. I think proton mail has a product in that space, and https://docs.fileverse.io/ seems interesting, and there are many more on the more notion side. We wanted to focus our effo…
Re: Show HN: Leaflet.pub – a web app for creating and sharing rich documents
#26Some feedback: – When tapping on the leaflet icon in the bottom left, the whole text area is erased (Safari on iPad). – The strikethrough icon is a bit hard to recognize, because the stroke merges with the S line. Some text editors use a different letter for that reason, for example a T, and add a small gap along both sides of the stroke to emphasize the overlay (only on the icon, not on the actual text being edited)…
The leaflet icon is our little watermark (which can be disabled!). Just updated it to point to https://about.leaflet.pub instead of just leaflet.pub, it was just creating a new doc every time you clicked it.
Useful feedback on strikethrough! Will review our implementation of it.
As for dark mode, you can theme your documents, and use existing documents as templates for others, so you can get dark mode that way. We could do a lot to make it easier to share and get basic themes though.
Re: Show HN: Leaflet.pub – a web app for creating and sharing rich documents
#27Earlier quoted context omitted.
They are not and while basic privacy and security is definitely a focus (making sure random external people can't get access to your docs and account) end-to-end encryption and privacy is not. There are tools that focus on that that seem great. I think proton mail has a product in that space, and https://docs.fileverse.io/ seems interesting, and there are many more on the more notion side. We wanted to focus our effo…
If I understand correctly, you’re doing the sync client-side, meaning you don’t need the payload in cleartext server-side. In that case, it should be relatively straightforward to generate an encryption/decryption key and put it into the fragment part of the URL, so that the server doesn’t see it, and encrypt all payloads with it.
It's definitely possible to do all if this in a p2p context, but it's much harder and increases the complexity a ton. It also makes it harder to be fast, you're naturally increasing the amount that needs to be done client side, and server rendering is out the door. There's a bunch of client-side editors that I think are great, and end-to-end encryption is definitely something I want to work towards, but it's out of scope for us right now.
Re: Show HN: Leaflet.pub – a web app for creating and sharing rich documents
#28Re: Show HN: Leaflet.pub – a web app for creating and sharing rich documents
#29Re: Show HN: Leaflet.pub – a web app for creating and sharing rich documents
#30Looking forward to tracking this project! Is there a community one could join to get updates?