ZhiTree Books · a personal digital library

User Guide

A web bookshelf for notes, books, PDFs and small tools. This guide explains how to use it with pictures and steps; to set up your own copy, switch to “Install & deploy”.

For readers: how to read, save and use it on a phone
About the language

The interface speaks English: use the Auto button and the language button beside it at the bottom left of the page (it shows the language you are in, 中 or EN; tap it to switch to the other one). The books and notes on this particular site are mostly in Chinese, and the All / 中 / EN filter next to the search box narrows the cards to one language. The screenshots below show an English demo library with made-up content.

0What it is

ZhiTree Books is a personal digital library: the site owner puts notes, books, PDFs and small web tools into a folder, and they become cards on a web page. No sign-up, no login: open it and read. You can do three things:

Read

Click a card to read it right in the page: HTML, Markdown, TXT and PDF all work. It remembers where you stopped, lets you bookmark places and change the reading colour.

Keep

Bring in your own files, many at a time, and sort them into “collections”. They stay in your own browser: nothing is uploaded and nobody else sees them.

Browse & submit

The “public directory” gathers many people’s blogs, articles and reading lists in one place; you can also send your own address or article in, without an account.

1The home page

Home page: on the left the space switch, categories and tags; on the right the search box and the cards
The home page (desktop). The numbers match the list below.
  1. My shelf / Public directory: two spaces, one click to switch. “My shelf” is the site’s own books plus the files you add; the “Public directory” is covered in section 6.
  2. Categories and tags: click a category to see only that kind, click a tag to filter by topic. The “Card index” below lists the titles in each category; click one to jump to its card.
  3. Search: titles, summaries and keywords together. Press / to jump straight to the search box. Turn on “Full text” beside it to search the words inside books too; results show a snippet and “Page N”, and a click opens the document at that place (only in “My shelf”, done in your browser, nothing is uploaded). The public directory searches only what a book’s information page says: title, author, language, pages, contents, summary and keywords.
  4. Cards: cover, title, summary, reading time. Click one to start reading. The small tag at the top right is the file type (MD / PDF / TXT / APP…); “APP” is a small web tool.
  5. Add: bring in your own files, see section 4.

To the right of the search box you also find: All / 中 / EN (show one language of content only), sort (recently added / publication date / recently read / title; the public directory is newest first), the list / card view and Subscribe. At the bottom left you can switch the interface language (“Auto” follows the system; the button beside it switches to the other language) and the theme (system / light / dark).

2Reading

Click any card to open the reader. Every format shares the same row of buttons:

The reader: the top bar has back, previous and next, contents, reading settings, bookmark, featured and open in new tab; the contents panel is open on the right
The reader (desktop) with the “Contents” panel open on the right.
  1. Back: return to the shelf (or press Esc).
  2. Previous / Next: page through the current list in order (or press ← →).
  3. Contents: takes the headings from the text; click one to jump there, and it marks where you are. The “Bookmarks” tab sits beside it.
  4. Reading settings (Aa): change the colour and the text size, see the next picture.
  5. Save: download this piece as a web page (HTML), or print / save it as PDF. A page shown as it is can only be printed; a PDF is saved with the browser’s own tools and this button is grey.
  6. Bookmark: remembers the place you are at now; click it in “Bookmarks” later to come back.
  7. Featured / Open in new tab: mark the whole piece as a favourite, or open just this page in a tab of its own.

While you scroll, your progress is saved automatically and you come back to the same place next time; “Continue reading” at the top of the home page lists the pieces you left half-read. On a phone, once the Contents, Reading settings or Save panel is open, a tap on the empty part of the page closes it (the Contents panel can also be swiped back to the right); the same goes for the left list.

Reading settings: text size, line spacing, page width and five reading colours
Reading settings: the colour can be “Follow system / Light / Dark / Sepia / Green (easy on the eyes)”; your choice is remembered.
FormatHow it is shownSize / spacing / widthContents and bookmarks
Markdown, TXTOne consistent reading layoutAll adjustableYes; in TXT, lines like “Chapter 4” are treated as chapters
HTMLKept as the original pageColour onlyYes, for pages with proper headings
PDFThe browser’s own PDF viewerColour onlyNo (a phone shows “Open / Download”)
About “easy on the eyes”

What changes here is the colour tone (sepia, green, dark); a web page cannot truly filter blue light.

3Card buttons

A card you added yourself, with a row of buttons at the bottom
The row of buttons at the bottom of a card. This is a card you added yourself, so it has a trash can at the far right; cards that belong to the site have no trash can but do have “Open in new tab”.
Mark as featured: puts it in the “Featured” category, handy for your few favourites.
Pin to top: whatever the sort order and whichever category you are in, it stays first and carries a “Pinned” mark. With several pinned, the last one pinned comes first. A pin you click on the web page counts for you only; other visitors are not affected.
Hide: takes it out of the categories and search without deleting the file. “Hidden” at the bottom of the left column brings it back.
Move to another category: file it elsewhere; your own files can also go into another collection.
Publish to the public directory: sends this item to be reviewed, see section 6. It appears only when the site has a public directory.
Shuffle cover: the cover is generated from the title; shuffle it if you do not like it.
Open in new tab: leave the reader and open this page on its own.
Delete: only your own files have this button (those added in the browser, or those in a folder on your computer that you connected). It asks first, and a deleted file cannot be brought back.
Why don’t the site’s books have a trash can?

The site’s books were put there by the owner, and only the owner can delete one on their own computer and publish again; a visitor cannot do it from the page, and there is no request they could send to do it. What you can do on the page is “Hide”, which takes effect only in your own browser. Stars, pins and moving to another category work the same way.

4Your own files

The Add window: the list of chosen files, the collection choice and the category choice
The “Add” window: choose the files, decide which collection and which category they go to, then Save.
  1. Click Add at the top right (or just drag files onto the page).
  2. Click the dashed box to choose files; you can choose many at once. HTML, Markdown, TXT and PDF are supported, up to 30 MB each.
  3. Each file can get its own title and summary; pick a collection and a category.
  4. Click Save. The page switches to that collection by itself.
Where are they kept?

In this browser. They are not uploaded to any server and nobody else sees them. So if you switch browser or device, or clear the site’s data, they are gone, and your phone and your computer are not in sync. To keep files on your own computer for the long term, use “Connect folder” at the bottom left (Chrome / Edge): choose a folder, the files inside show up directly, and what you add is written into that folder.

Back up and restore: moving devices, not losing things

Your files, collections, subscriptions, reading places and bookmarks live only in this browser, so make a backup before you switch device or clear the site’s data. Click Back up & restore at the bottom left:

The backup file is made by your browser and saved on your own device; it never passes through a server. The site’s own books and the files of a folder you connected are not in it. The “What is this?” note shown on the first visit can be brought back with “What is this?” at the bottom left.

Sync (optional): one shelf on several devices

When the site has a sync service, there is a Sync button at the bottom left (if not, the site has none). It is optional: everything works without it; no sign-up, no password.

  1. On the first device click Sync → Turn sync on and make a sync code and save the code at once (a password manager is a good place).
  2. On another device click Sync, type the code under “Already turned sync on on another device?” and click Connect.
  3. After that, changes sync by themselves a few seconds later, and once more when you come back to the page; “Sync now” works any time.

After a good while of use the page asks you once: if “large-file sync” (PDFs and more, with more room) were added later, would you pay for it? Your answer goes to the sync service only as an anonymous count, with nothing that could identify you.

Write a note: like Apple Notes on a phone

On a computer click the pen in the top bar, on a phone the round pen button at the bottom right (“Write a note” in the Add window does the same): a full-page editor opens.

Collections: a batch of files kept together

The files of one import can go into one collection. Once a collection is selected, the cards, categories, tags, search and “Continue reading” show only that collection, which keeps the shelf tidy.

The Manage collections window: create, rename, delete, and the storage used
“Manage” lets you create, rename and delete collections, and shows how much space this browser already uses.

Following: subscribe to other people’s blogs and feeds

Not sure what to follow? “Recommended” in the left list (or #recommend after the address) holds about a hundred blogs and columns picked by the site owner, sorted into tech, business, books, supply chain, science and more, the busiest first in each. The first group, “Hot lists & trends”, holds platform charts and busy communities: GitHub Trending, Juejin, V2EX, Bilibili popular, NetEase rising songs, Zhihu and Weibo, plus Hacker News, Product Hunt, Reddit, Lobsters and headlines of finance, academia and music. After you subscribe to a hot list, each update is what is on the platform’s chart right now, each entry with its rank and heat, shown in the page where possible (see below); only the lists the site’s service actually offers are shown. For all the lists (Douyin, Xiaohongshu, WeChat articles, Xueqiu, Google Trends, arXiv, WeRead’s novel chart and more) click “Hot lists” on the left of the public space: pick a column (Top stories, Tech & dev, Finance, World, AI & research, Books & media) and then a platform beside it; what is behind a row is shown in the page where it can be: videos and songs of Bilibili, YouTube and NetEase play in a window with the platform’s own player; news, blogs, V2EX topics, Zhihu Daily and the README of a GitHub repository are read in the reader; an Apple Podcasts show opens as its latest episodes, one click plays it in the bar at the foot; a hot search that is only a phrase (Weibo, Douyin, Zhihu) becomes a card (its heat, what the platform says about it, plus the news about it, each readable in the reader). Only what the platforms do not allow (Zhihu answers, WeChat articles, QQ Music) goes to the original site; its link is at the foot of the card. Every list can be subscribed to (“Subscribe to this list”), and the hot-list platforms (Zhihu, Weibo, Bilibili, GitHub …) are fixed in the “Platforms” tab of the public directory: open one for the cards of today’s list, with “Live hot list” beside it. Tick “Subscribe” and click “Subscribe” to follow several at once; tick “Push for review” and click “Push for review” to send them to the public directory, where the owner reviews them. What you follow already, or what the directory lists already, shows as done. The language filter and the search box work on them too.

For a blog you like to read, you need not visit its site to see whether there is something new: in the “Add” window switch to Subscribe and subscribe to it into your own shelf.

The Subscribe tab of the Add window: paste an address, look it up, see its name and latest articles, choose a collection name, click Subscribe
“Add → Subscribe”: paste an address, look it up, choose a collection name, subscribe.
  1. Click Add and switch to the Subscribe tab. “Try these” under it lists a few sources the site owner picked: one click subscribes, you can subscribe to several in a row and click “Done” to go back to the shelf.
  2. Paste an address: a blog’s home page or a feed (RSS / Atom / JSON Feed) both work; click Look up. The page tells you what it is called and which articles came last.
  3. Give the subscription a collection name and click Subscribe.
The shelf after subscribing: the subscription is a collection, new articles carry a “New” mark, and the collection shows how many are new
A subscription is a collection. New articles carry a “New” mark and the collection shows how many are new; click one to read it on the original site.
The left index on a phone: the subscribed collection shows its number of new articles
On a phone: the collection list shows the number of new articles beside a subscription
No “Subscribe” tab?

This feature needs the site owner to set up the public directory’s service (see “Install & deploy”). Without it the “Add” window offers files only.

5On a phone

Install it to the home screen and use it like an app

Once installed it opens full screen, and the pages and files you have opened (up to 120) are kept, so you can read them again without a network.

On an iPhone, install it to the home screen first

If you do not, Safari clears this site’s data after about 7 days without use (reading progress, bookmarks and the files you added are all lost). A site installed to the home screen is not subject to that limit.

Cards and gestures on a phone

The left index: collections, categories, swipe left to delete

Tap ≡ at the top left (or swipe right on the shelf) to open the left list: collections are at the top, then categories and tags, and the “Card index” at the bottom. Swipe one row of the index to the left and buttons appear underneath:

The left index on a phone: collections, categories, tags
The left index: collections at the top
On a phone a row of the index is swiped left to show a red Delete button
Swipe left to show “Delete”
The reader on a phone
The reader on a phone

“Share to ZhiTree Books” from other apps (Android)

After installing it to the home screen, tap “Share” in a file manager, a chat app or the browser and pick “ZhiTree Books”: a shared PDF / Markdown / TXT / HTML opens the “Add” window, where you choose a collection and save; a shared web address is saved straight away as a “Saved link”. Right after the first install it takes the browser a while to refresh the app’s details (usually within a day; adding the icon again makes it immediate) before it shows in the share list. Safari on iPhone has no such feature: use “Add” and choose several files instead.

6Public directory and submitting

Click “Public directory” on the left to see one list made of many people’s blogs, articles, GitHub repositories and videos. It does not keep anyone’s full text: only the title, summary, the address of a cover image and a link back to the original. Click an article and it is read right in the reader (as in a subscription, the “update service” reads the original; pages that cannot be read, videos and repositories go to the original site); when you save it, the text you read is saved with it.

The public directory: on the left filters by type, tag and shelf, on the right the entry cards
The public directory. You can filter by type, tag and shelf (one blog or one repository), and search.

Sending your own content in: three ways, none needs an account

The Submit window: paste an address, click Check, then submit
Click “Submit” at the top right: paste an address, check it, tick the declaration, submit.
  1. Paste an address: a blog, an article, a video, a GitHub repository or a PDF will do. Click “Check” first: the page tells you what it is, how many pieces it found and what the latest ones are, and it stops duplicates that “the directory already has”. When it looks right, tick “I have the right to publish this content” and click “Submit”. Just want to read it yourself, not make it public? The same address can be subscribed to straight into your shelf, with no review: click “Subscribe to this address instead” in the window (when the check finds a feed, the result has “Subscribe on my shelf” too), and you land in “Add → Subscribe” with the address filled in.
  2. Write a post: switch to “Write a post” in the window, write or paste a Markdown article, and it carries the author name you give. Once approved the directory hosts it as a page (public, pictures not shown), and you can ask for it to be taken down at any time.
  3. Click the globe icon on a card: every card in “My shelf” has one. If it has an address, that address is sent; for a Markdown / TXT file in your computer or browser, the text is sent; for things with no address, such as books, PDFs and web tools, only a book card (title, author, summary, tags; you can pick “a book / a list of books / a book to read online / a novel”) is made public, never the file.

After you submit, it goes to the owner’s review queue and the card shows “Sent, waiting for review”; once approved it appears in the public directory. Different spellings of an address (http / https, www, a trailing slash, tracking parameters) count as the same one; things whose title, author and summary are nearly the same are also stopped, and you are told which one they look like.

Pasting a “reader address” does not work

An address like …/#read/local%3A… is the reading address inside your own browser; nobody else can open it. Use the real address when you submit, or click the globe icon on the card.

7Following this site (RSS)

This section is the other way round: following this website in your own RSS reader. (To follow other people’s writing, see section 4.) Click the green “Subscribe” button in the top bar: it has one-click “Subscribe in Feedly / Inoreader” links and a copy button. You can follow just a part: everything, one category or one tag, with the one you are looking at preselected. Once you follow it, your RSS reader (Feedly, Inoreader and so on) lets you know when there is something new.

8FAQ

Where did the files I added go? Why can’t my phone see what I added on my computer?

They are kept in the browser you used when adding them; different devices and different browsers are not in sync. To read on your phone, import there (you can choose several and put them into one collection), or use “Share to ZhiTree Books”. To take things from your computer along, export a backup there with “Back up & restore” and restore it on the phone.

I pinned / hid / moved something. Why can’t anyone else see it?

Doing these on the website is saved only in your own browser: it is your own way of organising and does not change the site. To show them to everybody, only the site owner can change them on their own computer and publish again.

I want to delete a book that belongs to the site. What do I do?

Visitors cannot delete. You can “Hide” it (for you only). If you are the site owner, delete it from library/ on your computer and deploy again.

I subscribed to a blog but no new articles appear, or it says “Update failed”.

First click “Refresh” in the collection’s “Manage” and read the reason on that line. Common causes: the other site is down for now, the other site does not allow programs to read it, or the address is not actually a feed. A web page cannot update by itself in the background; it reads only when you open the page, and if the other side published nothing new, there is nothing new.

Why do some PDFs have contents and bookmarks, and others not?

By default a PDF is shown by the browser’s own viewer, and the page cannot read its structure (a scanned one has no text at all). A PDF the owner converted with build_index.py --convert becomes a “reader view”: laid out like an article, with contents, bookmarks and reading settings, easy to read on a phone, and “Original PDF / Reader view” in the top bar switches between the two any time (for tables, figures and formulas see the original PDF). A scanned PDF, or one no text can be made of, stays the original PDF. A PDF you add yourself in the browser (or added earlier and opened now) is converted in your own browser too, and nothing leaves your device; a scanned or encrypted PDF stays as it is.

Is my data safe?

Your files, reading progress, bookmarks and collections are kept only in your own browser and are not sent to a server. The site itself has no accounts. For details see the privacy policy.

Which keyboard shortcuts are there?

/ focuses the search; Esc closes the reader; while reading, ← → go to the previous / next piece.

Want to set up a site like this yourself? Switch to “Install & deploy”.