#lesspub #forum #exporter #lesspub-query

lesspub-query

Query functions for fetching sequences and posts from LessWrong and the EA Forums

2 stable releases

Uses new Rust 2024

new 1.0.1 May 1, 2025
1.0.0 Apr 29, 2025

#678 in HTTP server

Download history 181/week @ 2025-04-27

181 downloads per month
Used in lesspub

AGPL-3.0-or-later

180KB
6.5K SLoC

GraphQL 6.5K SLoC Rust 316 SLoC

LessPub: A LessWrong Ebook Exporter

lesspub crates.io docs

lesspub-query crates.io docs

lesspub-schema crates.io docs

LessPub is a CLI tool for downloading Sequences from LessWrong and exporting them as EPUB format ebooks. Check out the releases page for pre-generated downloads.

This project uses the et-book font, which is licensed under the MIT license.

This tool exists because I was frustrated by the LessWrong Ebook Library script. I initially forked that script, but eventually got too annoyed by how bad it was, and made this.

This tool supports downloading single posts, single sequences, or all sequences. Run the tool with --help for instructions.

The cover-generation code is a modified version of what's used in GlowPub, and a lot of the structure of this tool is inspired by that project.

Dependencies

~10–26MB
~305K SLoC