News for hackers. Stuff that matters.
Re:Serverless eBook Using Gitbook, GitHub Pages, GitHub Acti... by prepend on Tuesday March 17, 2020 @05:20AM (#22603121)
This is a nice tutorial, but I’m a little sour on gitbook because their project really pushes their service, that seems really expensive to me.
Re:Serverless eBook Using Gitbook, GitHub Pages, GitHub Acti... by praveenweb on Tuesday March 17, 2020 @07:26AM (#22603784)
In case you are looking only for a web app you can check out this open source starter - https://github.com/hasura/gatsby-gitbook-starter (Made using Gatsby and MDX).

You can write markdown with added benefits of React components and this Gatsby starter will render a GitBook theme documentation site. Self host using Docker or build the static bundle and deploy to Netlify :)

Disclaimer: I maintain this starter.

Re:Serverless eBook Using Gitbook, GitHub Pages, GitHub Acti... by adz_6891 on Tuesday March 17, 2020 @07:53AM (#22603969)
This is really nice. Great work!
Re:Serverless eBook Using Gitbook, GitHub Pages, GitHub Acti... by sovietmudkipz on Tuesday March 17, 2020 @08:37AM (#22604271)
I’m really upset they stopped working gitbook as an open source project in favor of locking in folks to using their service which runs hidden, proprietary software.

The open source repo still exists but it’s abandoned.

I wish they could have found a path to money without destroying their open source offering.

Re:Serverless eBook Using Gitbook, GitHub Pages, GitHub Acti... by olah_1 on Tuesday March 17, 2020 @09:28AM (#22604669)
And because their legacy service had more features (like multiple languages)...

Docsify needs maintainers btw. It's a worthwhile project! https://github.com/docsifyjs/docsify

Re:Serverless eBook Using Gitbook, GitHub Pages, GitHub Acti... by karlicoss on Tuesday March 17, 2020 @12:07PM (#22606320)
mdbook (https://github.com/rust-lang/mdBook) is open source, and I think it's very similar to gitbook in functionality
Re:Serverless eBook Using Gitbook, GitHub Pages, GitHub Acti... by james-skemp on Tuesday March 17, 2020 @05:45PM (#22610808)
It's extremely similar, and even looks better out of the box, IMO.

When gitbook moved (rather poorly - there was a lot of confusion on what would happen to the old codebase) to a service, mdbook is what I switched over to, and I'm glad I had been forced to look for an alternative to gitbook.

Haven't really done anything with Rust, but having been bitten once, my research suggested they'd be unlikely to drop mdbook anytime soon.

Edit: example GitLab-hosted book: https://gitlab.com/strivinglife/book-git-commands

Re:Serverless eBook Using Gitbook, GitHub Pages, GitHub Acti... by nathancahill on Tuesday March 17, 2020 @09:52AM (#22604839)
Same. The open source version was excellent, but they abandoned it in favor of the hosted, closed version. I tried for a long time to get it running as a self-hosted service but could not.
Re:Serverless eBook Using Gitbook, GitHub Pages, GitHub Acti... by maheso_suro on Tuesday March 17, 2020 @06:41AM (#22603588)
i used to write ebook in gitbook but not anymore. yeah it's pretty sad that gitbook is going in that way.
Re:Serverless eBook Using Gitbook, GitHub Pages, GitHub Acti... by montenegrohugo on Tuesday March 17, 2020 @06:50AM (#22603621)
What do you mean by this? I see they offer 10 workspaces for free [1], isn't that pretty good? What are they limiting/paywalling that you'd consider 'essential'?

[1] https://www.gitbook.com/pricing

Re:Serverless eBook Using Gitbook, GitHub Pages, GitHub Acti... by prepend on Tuesday March 17, 2020 @04:46PM (#22610208)
I don’t want a free “workspace.” I want to generate my files and host myself.

One of the main things I like about static site generators is that they are so simple to host.

-Brian