Live data from Hacker News

Retype: A self-hosted and free alternative to gitbook

retype.com

21–30 of 30 posts

Re: Retype: A self-hosted and free alternative to gitbook

#22

For me, the killer feature of Gitbook is something like « branched content? » ( https://docs.gitbook.com/editing-content/editing-pages/chang... ). Retype without this type of feature is like many other documentation website generators.

While gitbook does wrap the branching/merging process in a UI that is digestible by non-developers, Retype is far more powerful because you actually use GitHub (or GitLab). You have the full power of GitHub, including branching, pull-requests, issues, reviews, automation, authentication, and everything else.

For example, here's the repo for the retype.com website, see https://github.com/retypeapp/retype

The entire website is built from simple Markdown text files.

Re: Retype: A self-hosted and free alternative to gitbook

#24

Earlier quoted context omitted.

I added a link in the footer to the License. Certainly was not my intention in any way hide the license. Hope this helps. > The page limits, while high, are somewhat unsettling. Can you explain this _unsettling_ comment further? Do you find the limits too low? A lot of research was put into the 100 page as I found only about 3% of projects ever went >100 pages. > I would want to apply this to a handful of my open sou…

I appreciate the change to the navigation, it makes things a whole lot more clear! > Can you explain this _unsettling_ comment further? Do you find the limits too low? Perhaps I could have worded that better. I don't see myself hitting that limit any time soon, but it represents some amount of lock-in (though, less than typical since the everything is mostly plain markdown). My reluctance to use paid software that ga…

> but it represents some amount of lock-in (though, less than typical since the everything is mostly plain markdown)

This is an important point. Retype has been developed with the explicit goal of preventing lock-in. For better or worse, I'm not sure, but the point of the app is that you are not locked-in by design. You 100% control the original source of all your data and that data is being stored in the absolute simplest of forms being just static text files. Your data is not squirrelled away in a proprietary app, or sass service, or spread across tables in some database. Sure, you (or whomever) might be skilled enough to extract that data back out of the database, but that scenario is certainly the exception, and certainly will never ever be as simple as just plain text files stored in a folder.

In the future, you might decide Retype is not for you, or a better system comes around, no problem. You control ALL the data. Just switch to a different generator. There's no exporting data out of some system and hoping you fetch everything, assuming you can even get the data cleanly out of a system.

Even gitbook is not that clean. You can mostly export your content out of gitbook, but that does include everything. They give your content back, although that is not enough to recreate the site with configuration.

Yes, there are a handful of Retype specific Markdown components that enable convenient UI components such as Tabs, Panels, and Buttons, but... those exist in all static site generators and Retype has by far implemented the cleanest syntax solution. That solution, by design, is also the easiest to port away from. Maybe the system you move to in the future does not support the exact same syntax, but it will be trivial to port from the Retype syntax to another.

For instance, compare the Retype Tab component syntax (https://retype.com/components/tab/) to docusaurus (https://docusaurus.io/docs/markdown-features/tabs), which is actually relatively clean compared to the mess that gets exported from gitbook. BTW, Retype 100% supports the block of Tab code exported by gitbook, so your site will "just work" without being required to do any cleanup of their exported syntax.

I would love to add many more components to Retype. It would be trivial to do, but I explicitly do not because I want to try and avoid vendor lock-in. If a better system comes around in the future, even I want to be able to port my project as easily as possible.

Re: Retype: A self-hosted and free alternative to gitbook

#25

Earlier quoted context omitted.

I added a link in the footer to the License. Certainly was not my intention in any way hide the license. Hope this helps. > The page limits, while high, are somewhat unsettling. Can you explain this _unsettling_ comment further? Do you find the limits too low? A lot of research was put into the 100 page as I found only about 3% of projects ever went >100 pages. > I would want to apply this to a handful of my open sou…

I appreciate the change to the navigation, it makes things a whole lot more clear! > Can you explain this _unsettling_ comment further? Do you find the limits too low? Perhaps I could have worded that better. I don't see myself hitting that limit any time soon, but it represents some amount of lock-in (though, less than typical since the everything is mostly plain markdown). My reluctance to use paid software that ga…

> or may disappear entirely is due to the lock-in and vanishing of previous tools I've used.

Another important point. Retype is distributed via NPM and NuGet (.NET) package managers. Once a release is published, we can't walk it back or remove it from the internet. There's also no gate-keeping with Retype or gate-keeping of content. You control the content, generation, and hosting. Retype cannot in any way disable or remove your website. Again, for better or worse, I'm not sure, but you are autonomous and anonymous to Retype, and at least the app, cannot disappear.

> I may give it a go on one project, but I can't see myself committing completely.

That would be most excellent. I would greatly value your feedback.

Hope this helps.

Sorry for the wall of text.

Re: Retype: A self-hosted and free alternative to gitbook

#26

Earlier quoted context omitted.

I appreciate the change to the navigation, it makes things a whole lot more clear! > Can you explain this _unsettling_ comment further? Do you find the limits too low? Perhaps I could have worded that better. I don't see myself hitting that limit any time soon, but it represents some amount of lock-in (though, less than typical since the everything is mostly plain markdown). My reluctance to use paid software that ga…

> but it represents some amount of lock-in (though, less than typical since the everything is mostly plain markdown) This is an important point. Retype has been developed with the explicit goal of preventing lock-in. For better or worse, I'm not sure, but the point of the app is that you are not locked-in by design. You 100% control the original source of all your data and that data is being stored in the absolute si…

Docusaurus maintainer here

The Docusaurus tabs use MDX, it's not a custom syntax for tabs, it's a powerful low-level way to use React or frontend interactive components in markdown, and likely to become more and more widespread (so hopefully portable and yet very powerful)

It's also possible to implement tabs with Rehype syntax in Docusaurus in user land thanks to a Remark plugin, so portability remains possible but not free.

At the end of the day, md is not the most powerful out of the box and it's difficult to ship something meaningful without any extension

Re: Retype: A self-hosted and free alternative to gitbook

#27
post #26

Earlier quoted context omitted.

> but it represents some amount of lock-in (though, less than typical since the everything is mostly plain markdown) This is an important point. Retype has been developed with the explicit goal of preventing lock-in. For better or worse, I'm not sure, but the point of the app is that you are not locked-in by design. You 100% control the original source of all your data and that data is being stored in the absolute si…

Docusaurus maintainer here The Docusaurus tabs use MDX, it's not a custom syntax for tabs, it's a powerful low-level way to use React or frontend interactive components in markdown, and likely to become more and more widespread (so hopefully portable and yet very powerful) It's also possible to implement tabs with Rehype syntax in Docusaurus in user land thanks to a Remark plugin, so portability remains possible but…

MDX is interesting and powerful, although creates all kinds of portability issues and is a terribly leaky abstraction of what should be a simple content syntax. Very much (IMHO) against the ethos and beauty of Markdown.

Re: Retype: A self-hosted and free alternative to gitbook

#28
post #13

This doesn't appear to be a valid alternative to Gitbook. I couldn't even see a git integration feature which is a/the key feature of Gitbook. This feels more like an alternative to the plethora of static site generators that already exist.

Retype builds directly off Markdown files, which you can store anywhere, including GitHub. The retype.com website is built directly from a GitHub repo, see https://github.com/retypeapp/retype The retype.com website is also hosted on GitHub Pages. Any change that is committed to the GitHub repo will trigger the website to be rebuilt by Retype using GitHub Actions, see https://retype.com/hosting/github-pages/ . Hope th…

You're still just describing a static site generator. Gitbook has Git integrated into its UI and rebuilds the site through the GUI on the fly.

Re: Retype: A self-hosted and free alternative to gitbook

#30
post #28

Earlier quoted context omitted.

Retype builds directly off Markdown files, which you can store anywhere, including GitHub. The retype.com website is built directly from a GitHub repo, see https://github.com/retypeapp/retype The retype.com website is also hosted on GitHub Pages. Any change that is committed to the GitHub repo will trigger the website to be rebuilt by Retype using GitHub Actions, see https://retype.com/hosting/github-pages/ . Hope th…

You're still just describing a static site generator. Gitbook has Git integrated into its UI and rebuilds the site through the GUI on the fly.

GitBook is a static site generator, essentially. Just wrapped in an online UI.
Post reply on HN