gitbook icon indicating copy to clipboard operation
gitbook copied to clipboard

[Question] What are the steps to self host?

Open rconde01 opened this issue 10 months ago • 4 comments

The readme says:

This project allows you to self-host the rendering portion of your GitBook published content

...but I don't see instructions for how to do so.

We are interested in doing this because our product needs to work completely offline (although we still want to use the gitbook saas for online deployment and authoring). How can this be accomplished?

rconde01 avatar Mar 09 '25 20:03 rconde01

+1 for this question

start-the-fire avatar Mar 30 '25 11:03 start-the-fire

You should be able to deploy this repo once you’ve got it forked and running locally - you can deploy on any service you’d like, such as vercel, cloudflare, etc

addisonschultz avatar Jul 01 '25 11:07 addisonschultz

@addisonschultz when you say "should", do you mean that the gitbook org should make this possible, or that doing this is already possible/easy? If the latter, what do you see as the steps?

rconde01 avatar Jul 01 '25 15:07 rconde01

While I haven't been able to get the production version working locally (Invalid request when trying to load pages) I did find the old config information before the README was changed. Sadly those config values are no longer relevant.

https://github.com/GitbookIO/gitbook/commit/10fc27ba4e211a0b2b41618be22cd21fff015970

cojored avatar Jul 13 '25 02:07 cojored