readCodeBooks's profile picture. Beautifully rendered programming books and posts. See code get built one diff at a time. Publish directly from a GitHub repo!

CodeBook

@readCodeBooks

Beautifully rendered programming books and posts. See code get built one diff at a time. Publish directly from a GitHub repo!

New posts are now shown at the top of the posts page codebook.page/posts


Here's a GitHub repo template for easily creating posts on CodeBook github.com/readcodebooks/… In 2 minutes you can start writing and publishing your own blog posts/articles, served straight from your git repo

github.com

GitHub - readcodebooks/posts-template: Template for posts on CodeBook

Template for posts on CodeBook. Contribute to readcodebooks/posts-template development by creating an account on GitHub.


CodeBook is now built using Snowpack 🏔

Thinking about migrating from Webpack to Snowpack (@skypackjs)? I wrote a post about my experience migrating @readCodeBooks over to Snowpack 🏔 codebook.page/post/320711852…

ChrisMWendt's tweet image. Thinking about migrating from Webpack to Snowpack (@skypackjs)? I wrote a post about my experience migrating @readCodeBooks over to Snowpack 🏔 codebook.page/post/320711852…


"Super interesting. There is one company (O'reilly) that owns almost all software book publishing. Real opportunity to democratize... And seems like he got the tools right. Really easy to get started and write a technical book" - a software engineer's first impression of CodeBook


CodeBook reposted

I was curious about transferring data over sound 🔈 so I decided to write a tiny $2 CodeBook on how to build such a web app codebook.page/book/324459095… Although the transfer is really simple (each character is a different pitch) sometimes it almost works 😃

ChrisMWendt's tweet image. I was curious about transferring data over sound 🔈 so I decided to write a tiny $2 CodeBook on how to build such a web app codebook.page/book/324459095… 

Although the transfer is really simple (each character is a different pitch) sometimes it almost works 😃

Finally implemented royalties 💰 Authors get 80% of the list price on each sale

readCodeBooks's tweet image. Finally implemented royalties 💰 Authors get 80% of the list price on each sale
readCodeBooks's tweet image. Finally implemented royalties 💰 Authors get 80% of the list price on each sale
readCodeBooks's tweet image. Finally implemented royalties 💰 Authors get 80% of the list price on each sale

Still working on royalties - my Stripe account got bricked and support is escalating it to their specialists 😅


Added support for syntax highlighting 100 programming languages with lazy loading 🦥 Here's Haskell, Go, Agda, and Solidity

readCodeBooks's tweet image. Added support for syntax highlighting 100 programming languages with lazy loading 🦥 Here's Haskell, Go, Agda, and Solidity

Added support for posts! Check 'em out: codebook.page/posts I moved my blog over. Anyone with a GitHub repo with posts in the form "posts/<slug>/POST.md" can publish 📜

readCodeBooks's tweet image. Added support for posts! Check &apos;em out: codebook.page/posts I moved my blog over. Anyone with a GitHub repo with posts in the form &quot;posts/&amp;lt;slug&amp;gt;/POST.md&quot; can publish 📜

CodeBook's diff rendering would be awesome for articles/posts, too. Each top-level dir in your git repo would be a different post, and in that would be a README, source code, and info.json. Working on adding this now 🛠


Got real Stripe payments set up (no royalties yet)

readCodeBooks's tweet image. Got real Stripe payments set up (no royalties yet)
readCodeBooks's tweet image. Got real Stripe payments set up (no royalties yet)

Got auto updating on `git push` to work without requiring a page reload 🎉


Improved book load time on revisit from 0.5s to 0.1s by immediately rendering the cached copy of the book and checking for updates in the background


Wrote a getting started guide, anyone can publish now! Browse all CodeBooks at codebook.page/books

readCodeBooks's tweet image. Wrote a getting started guide, anyone can publish now! Browse all CodeBooks at codebook.page/books
readCodeBooks's tweet image. Wrote a getting started guide, anyone can publish now! Browse all CodeBooks at codebook.page/books

Completed TONS of backend work in the past 3 days to wire up auth, publishing, GitHub App integration, storage, webhooks, payments (fake for now), etc.

readCodeBooks's tweet image. Completed TONS of backend work in the past 3 days to wire up auth, publishing, GitHub App integration, storage, webhooks, payments (fake for now), etc.

Data modeling and logic turned out to be more difficult to think through than expected 😵

readCodeBooks's tweet image. Data modeling and logic turned out to be more difficult to think through than expected 😵

Here's a mock of the browse books page (currently populated with placeholders) codebook.page/books

readCodeBooks's tweet image. Here&apos;s a mock of the browse books page (currently populated with placeholders) codebook.page/books

Login works! You just can't do anything special yet

readCodeBooks's tweet image. Login works! You just can&apos;t do anything special yet

The homepage is 90% done

readCodeBooks's tweet image. The homepage is 90% done

Converted the React Tutorial to a CodeBook codebook.page/book/chrismwen…

readCodeBooks's tweet image. Converted the React Tutorial to a CodeBook codebook.page/book/chrismwen…

Loading...

Something went wrong.


Something went wrong.