Skip to content
Proyek

Tentang

Writebook is an easy-to-use application for publishing content on the web. Content is authored in Markdown, and books can contain picture pages, chapters, and title pages. Books can be published privately or publicly, and are searchable.

Proyek lainnya

Cara angka ini diukur

599 bintang108 Fork +1 dalam 24 jam

Pertumbuhan bintang terukur

dalam 24 jam
+1
dalam 7 hari
+3
dalam 15 hari
+7
dalam 1 bulan
Mengumpulkan riwayat

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli

Writebook

Instantly publish your own books on the web for free, no publisher required.

Writebook is an easy-to-use application for publishing content on the web. Content is authored in Markdown, and books can contain picture pages, chapters, and title pages. Books can be published privately or publicly, and are searchable.

How to get Writebook

Writebook is distributed as a Docker image. The simplest way to install and run it is by using ONCE.

To get started, paste this snippet into a terminal on the machine where you want to install Writebook:

curl https://get.once.com/writebook | sh

Deploying manually with Docker

If you'd rather set the Docker image up yourself, you can use docker run or docker compose to do that. The official image is ghcr.io/basecamp/writebook.

You'll need to route the incoming web traffic to ports 80 and 443 (or just 80 if you run without SSL). To persist the storage of the application, mount a Docker volume to /rails/storage.

You can configure the SSL setting with the following environment variables:

  • SSL_DOMAIN - enable automatic SSL via Let's Encrypt for the given domain name
  • DISABLE_SSL - alternatively, set DISABLE_SSL to serve over plain HTTP

Connecting AI agents

Agents like Claude and ChatGPT can read and change books through an MCP server that you run next to Writebook. To let Writebook work with it, set:

  • MCP_SERVER_URL - the MCP server's address followed by /mcp, like https://mcp.example.com/mcp
  • MCP_SERVER_SECRET - a secret of at least 32 characters that the MCP server also has

Running the MCP server explains how to set up both, with ONCE or by hand.

Running in development

Install dependencies:

bin/setup

Start the development server:

bin/dev

Jelajahi proyek terkait

Memuat…