News for hackers. Stuff that matters.
Re:Show HN: Lurnby, a tool for better learning, is now open ... by daitangio on Friday February 11, 2022 @08:07AM (#30300969)
Also a short "Quick start guide" on the README would be nice...IU was unable to find out an INSTALL.md either.
Re:Show HN: Lurnby, a tool for better learning, is now open ... by roznoshchik on Friday February 11, 2022 @09:14AM (#30301689)
I added an install.md now for setting it up locally. Does that work for you?
Re:Show HN: Lurnby, a tool for better learning, is now open ... by daitangio on Friday February 11, 2022 @09:21AM (#30301766)
Nice. Tip: format it as a shell code block on markdown

Also eval adding a Dockerfile for super-rapid deploy

Re:Show HN: Lurnby, a tool for better learning, is now open ... by roznoshchik on Friday February 11, 2022 @09:30AM (#30301864)
Thanks. I'll probably look into a dockerfile option.

Does format as a shell code block mean write it in a way that it can just be copied and pasted easily?

Re:Show HN: Lurnby, a tool for better learning, is now open ... by fire on Friday February 11, 2022 @01:47PM (#30305441)
Github has pretty comprehensive documentation on their flavor of markdown used for formatting; Here's a direct link to the section on fenced code blocks: https://github.github.com/gfm/#fenced-code-blocks
Re:Show HN: Lurnby, a tool for better learning, is now open ... by Shared404 on Friday February 11, 2022 @12:17PM (#30304014)
It'll format it as monospace, and typically in a format that's easier to recognize as being code.

IIRC you can do that by gating code like this:

  '''
  code goes here
  '''
in markdown, but it's been a while.

(The spaces are necessary for HN markup, but not the markdown formatting).

Re:Show HN: Lurnby, a tool for better learning, is now open ... by roznoshchik on Friday February 11, 2022 @08:16AM (#30301061)
Hey, by quickstart do you mean for installing it locally? Or for using it on the website?
Re:Show HN: Lurnby, a tool for better learning, is now open ... by riidom on Friday February 11, 2022 @08:49AM (#30301426)
I was about to ask the same thing, didn't realize until your answer, that it is web-based? A local offline application would be great!

(also maybe.. is making an account necessary?)

And one more question, can it also pull multi-page documentation, or just single URL's? I assume it downloads websites and makes them offline available, or is that a wrong assumption.

Re:Show HN: Lurnby, a tool for better learning, is now open ... by roznoshchik on Friday February 11, 2022 @08:54AM (#30301485)
It is web based. That way you can read on the computer and continue reading on the phone or any other device.

A version that runs just locally on the computer would also work, but that wasn't the main focus of this particular iteration.

I haven't built a robust offline functionality yet. That's something I'm thinking of doing in the near future. Was thinking of having your X most recent articles cached.

It parses the content of articles and stores the text in a db. Then as you highlight and add notes, the text gets updated with the annotations.

It doesn't pull multipage documentation. Each url should be added manually.

At least for now.

Re:Show HN: Lurnby, a tool for better learning, is now open ... by pbronez on Friday February 11, 2022 @10:43AM (#30302695)
I would get a lot of value out of a tool like this. I have a strong preference for a portable executable and file-based storage. Performance can be a problem with those, but I want to use my existing file management and synchronization tools as much as possible.

If that's not possible, than my second preference is a docker-based deployment on Unraid. That's the easiest way for me to self-host. Nice to be able to point to an existing DB for that too.

Re:Show HN: Lurnby, a tool for better learning, is now open ... by Vivtek on Friday February 11, 2022 @04:56PM (#30307489)
Flask is pretty lightweight and will run under anything. Including compiling to a portable executable.

I mean, potentially.

I'm 100% with you on file-based storage and flexible storage interchange APIs. I have a bunch of stuff I'd like this kind of tool to interoperate with.

Re:Show HN: Lurnby, a tool for better learning, is now open ... by riidom on Friday February 11, 2022 @08:58AM (#30301530)
Thanks for the detailed answer, starred anyway! :)