Live data from Hacker News

Show HN: Leaflet.pub – a web app for creating and sharing rich documents

news.ycombinator.com

51–60 of 61 posts

Re: Show HN: Leaflet.pub – a web app for creating and sharing rich documents

#51

Is it supposed to be a permanent published document? I couldn't find a delete/unpublish option. I guess retaining the first randomly generated URL can be used to delete the content, but still there is no clear way to delete, unpublish.

(Leaflet cofounder here) - this is a really good point! We actually had an explicit 'delete' button earlier but removed it temporarily b/c it was causing some confusion I think with people accidentally deleting collaborative docs for everyone and not just for themselves. So right now we have 'remove from home' but not full delete. We should add that back and see if we can improve the UX.

Right now all docs are unlisted but anyone with the link can view; we're also thinking about fully private or password protected docs (several people have asked about this) but still exploring the best approach there.

Re: Show HN: Leaflet.pub – a web app for creating and sharing rich documents

#52

It'd be great to get code blocks and inline code blocks. Ideally using Markdown syntax. And, if possible to get syntax highlighting, that'd be even better. But otherwise, this pretty well lines up with an idea that I had just been mulling over in the last 2 days. Which is pretty eery, but well timed. Realistically I wasn't ever going to do it, so I'm glad I may not have to miss out.

(Leaflet cofounder here) - agree, code blocks is definitely on our list! Both inline and full code blocks e.g. with CodeMirror. Ideally with syntax highlighting, just need to figure out how to play nicely with our custom themes…though probably fine to start with just a default theme.

Re: Show HN: Leaflet.pub – a web app for creating and sharing rich documents

#53
post #13

I can't seem to scroll horizontally very easily, like I have to middle click drag in empty space, is there any reason you are hiding scrollbars?

(Leaflet cofounder here) - sorry about that! Are you seeing that with 'canvas' pages, or multiple doc pages open side by side? What device / screen size? I haven't seen issues with horizontal scroll recently but lots of trickiness with slight differences across browsers and maybe things we can improve for particular cases.

Re: scrollbars honestly we just like the cleaner minimalist look and have gotten used to it but I hear you (+ others) that it can be annoying, we'll look into improving.

Re: Show HN: Leaflet.pub – a web app for creating and sharing rich documents

#54

I like how it looks :) Is there a tutorial for how to self-host it?

Not right now, self hosting isn't a priority for us at the moment. It shouldn't be tooooo difficult to figure out though, the two main infrastructure dependencies are supabase and nextjs and everything else is for additional features. I should make an example .env file to make all that clear though!

Re: Show HN: Leaflet.pub – a web app for creating and sharing rich documents

#55
post #2

Still playing around with it but I have to say, I absolutely adore the side-scrolling feature!

Just one thing needs fixing, urgently: stop messing with the scrollbars! You should never take away the scrollbar unless you’re replacing it with some similar affordance (and even that’s iffy). This really is a big deal. It leads to people flat-out missing that things are scrollable. Even after I noticed it was doing that in one of the demos, I missed the scrolled content in the other demo for a while. This needs two…

(Leaflet cofounder here) - thanks so much for the detailed feedback here, this is great context and appreciate the specifics on CSS intricacies / naming history I was not aware of! We'll take a look at improving our scrollbar handling. We like the minimalist look without but have gotten used to it and I hear you it breaks a useful and expected affordance. I think we might be able to strike a balance with just vertical scrollbars in pages + maybe eventually do a custom indicator for multi-page columns (more obvious b/c you see them open side by side, and global horiz scrollbar is a lot uglier than per-page vertical ones!)

Re: Show HN: Leaflet.pub – a web app for creating and sharing rich documents

#56

I do love it when someone does an original take on what a "document" means. I love the intellectual exploration of it. Kudos, genuinely.

(Leaflet cofounder here) - thank you, really nice to hear! It's taken us a long time and several prior products/prototypes to arrive at this, including previous attempts where we had similar aims — make nice expressive spaces for collaboration, creative work, learning — but took very different (and more complicated) directions, e.g. a multi-room chat/note hybrid app with each project as its own database, or a global wiki with live calls built in.

I think Leaflet's by far the most easy to use but also hides a lot of power and expressive potential without being overwhelming, and we're seeing more traction and cool ways people are using, so happy with it so far! In particular finding it really cool how there's a lot of space between very simple notes/docs and rich publishing that gets closer to artifacts more like whole websites but with document-like form factor. And making something that's equally nice and simple to read and to edit/collaborate on with others…a good challenge and design space to explore!

Re: Show HN: Leaflet.pub – a web app for creating and sharing rich documents

#58
post #42

Nice, I really like it. The embedded elements like POSTS and RSVPs creates a nice shared space feel to it. Also interesting to see that you chose WhatsApp for the RSVP element. Did you use Twilio for the integration and what was the level of effort needed?

(Leaflet cofounder here) - much appreciated; we spent a lot of time iterating building different versions of apps before Leaflet that were more explicitly around shared social spaces and communities for learning and collaborative projects, which informed some of our aims in making Leaflets both simple docs and shared spaces (lots we can improve there e.g. bringing in live presence features!) For the RSVP block, yes w…

> though took longer than expected mainly b/c we had to wait a while / re-submit some documentation etc. for approval.

I was specifically wondering about this :) How long is longer?

ps. I checked out your other/previous projects, very intrigued!

Re: Show HN: Leaflet.pub – a web app for creating and sharing rich documents

#59
post #58

Earlier quoted context omitted.

(Leaflet cofounder here) - much appreciated; we spent a lot of time iterating building different versions of apps before Leaflet that were more explicitly around shared social spaces and communities for learning and collaborative projects, which informed some of our aims in making Leaflets both simple docs and shared spaces (lots we can improve there e.g. bringing in live presence features!) For the RSVP block, yes w…

> though took longer than expected mainly b/c we had to wait a while / re-submit some documentation etc. for approval. I was specifically wondering about this :) How long is longer? ps. I checked out your other/previous projects, very intrigued!

I wasn't the one doing the back and forth on this directly but I think it was at least a few weeks, lots of threads with support etc. Partly on us for something like business address records not matching in different places…we get it b/c I'm sure they're dealing with a ton of spam mitigation but the process could definitely have been clearer / more startup friendly.

Re: Show HN: Leaflet.pub – a web app for creating and sharing rich documents

#60

it is using Replicache which requires license key. is there a plan to use an alternative that doesn't require license key?

They had the licensing requirement until very recently but dropped it since they're now working on Zero (which looks awesome, but we're happy with Replicache for now). I think the docs may not be updated everywhere but see the "status" section on their homepage: https://replicache.dev/
Post reply on HN