1Share the library through a synced folder
First make an empty folder on a cloud drive: Jianguoyun, OneDrive, iCloud Drive or the lab's NAS, as long as Zhou Yuan's computer syncs it too. Here it is called “植物单细胞转录组”.
Lin Xia opens the library and clicks “Export” at the top right. Below the divider are the two ways of using it together:
She chooses “Share through a folder (with others)…” and picks the empty folder. A few seconds later:
NoticeShared through “植物单细胞转录组”: 65 changes and 24 files sent. Co-authors choose the same folder with Join a shared folder on their home page.
There is no database in the folder: only a wisp-share.json (the share's number and name), a subfolder devices/<device>/ per computer holding the change records that computer wrote, one per line and never rewritten, and files/ for the PDFs and pictures. Each computer only appends to its own subfolder, so the cloud drive never has two people writing one file.
2A second person joins
Once his cloud drive has synced the folder, Zhou Yuan clicks “Join a shared folder” (the folder icon) at the top right of the Wisp Study home page and picks the same folder.
His Wisp Study makes a library of the same name, puts the folder's records into it one by one and fetches the PDFs:
The papers the library held when he joined are straight in his “All papers”. Lin Xia's “Included” and “Excluded” decisions did not come along, nor her reading states, stars, highlights and notes on PDFs or conversations with the assistant: those are each person's own, and two people can screen the same papers independently.
3Added on one side, there on the other
Lin Xia does three things in her library: she drops a .bib file on the window, adding a 2026 paper by Robertson et al. on how drought and salinity remodel rice leaf development (the notice says one paper was imported); she tags it “水稻” (rice); and on the Writing page she puts “recent” before “a single-nucleus atlas” in the second paragraph of the introduction.
While a shared library is open, it syncs with the folder every 30 seconds; to not wait, click “Sync the shared folder “植物单细胞转录组” now” in “Export”. On Lin Xia's side:
NoticeSynced: 3 changes sent, nothing new came in.
On Zhou Yuan's next round, a notice at the bottom right says whose changes came and how many; when nothing came from others it says nothing:
The new paper is not in his “All papers” but in “Screening”, waiting for his decision like a paper his own searches brought; the tag is already on the left:
Once he includes it, it joins his “All papers”. The other way round, papers your own searches brought that still wait in your screening are not sent to others until you include or exclude them (or attach a file to them): one person's unscreened search results never show up for the rest. A citation in someone else's manuscript of a paper still in your screening resolves all the same. When both change the same field of a paper (title, journal, tags…), the last change wins; when both add the same paper (the same DOI and so on), they become one.
4Both changed the same paragraph
Before Lin Xia synced, Zhou Yuan had changed the second paragraph of the introduction too: “many species and organs” became “a growing range of species and organs”. Manuscripts merge by paragraph: a paragraph someone else changed and you did not is replaced; one you changed too keeps your words where they are, and theirs become a signed proposal in “Comments”. On Zhou Yuan's side:
After both have synced, each has their own version in the manuscript and the other's in the comments; nothing is lost. One person merging is enough: Zhou Yuan clicks “Apply” to take Lin Xia's version (with “recent”), puts his “a growing range of” back in, and syncs.
On Lin Xia's next round, the paragraph is one only he changed since, so it is simply replaced by the merged words. The card of his she still had now says “This text has changed; the comment no longer points to a place in the manuscript.” and only offers “Dismiss”; click it.
If someone deletes a paragraph or section you changed, you only get a note; nothing is deleted. Changes written by a newer Wisp Study are refused, with a word that you need to update. To stop syncing, click “Stop sharing…” in “Export”: only the link goes, the library and the folder stay. From the command line: share_folder and sync_shared_folder.
5Move to the group's server: wisp serve
When there are more people, a cloud drive is awkward, or you want to see who is writing which section, let an always-on computer in the group be the server. It holds a central library; everyone connects to it and keeps a copy of their own, writes offline as usual, and syncs with the server every 30 seconds while the library is open. The server puts everyone's changes in one order and hands each member what they lack; the merge rules are those of the shared folder.
In that computer's terminal, make an empty library, give each person a token, then start the server:
$ wisp create_library --name 植物单细胞转录组 # the central library on the server, empty for now
$ wisp serve-token --name 林夏 --role owner
wisp_8f9c861c81aadfb5e906a892f6de6e3cea590c885ffdae24
(给 林夏 的令牌,角色 owner。只显示这一次:服务器只记着它的散列,丢了就用 --revoke 收回再发一个。)
$ wisp serve-token --name 周远 --role writer
wisp_dc6d9c20ab2c3cdec18bc04c7141f25e2707b949516daaa1
(给 周远 的令牌,角色 writer。只显示这一次:服务器只记着它的散列,丢了就用 --revoke 收回再发一个。)
$ wisp serve-token --name 张老师 --role reader
wisp_cc52da45dd4e4cace288b365aa80c87497bbc2e6a6b5fb03
(给 张老师 的令牌,角色 reader。只显示这一次:服务器只记着它的散列,丢了就用 --revoke 收回再发一个。)
$ wisp serve --library 植物单细胞转录组 --bind 127.0.0.1:4877
「植物单细胞转录组」的服务器在 http://127.0.0.1:4877 上(同步协议第 1 版),3 个令牌。用 wisp serve-token 给成员发令牌;Ctrl+C 停止。
The command line speaks Chinese. After each token it says that this is the token for that person and role, that it is shown only this once because the server keeps only its hash, and that a lost one is revoked and made again; the server's last line says where it listens, its sync protocol version and how many tokens it has. Send each person their token privately. There are three roles: owner (writes, and is the one who makes tokens), writer, and reader (only receives). A token stands for one person, and one computer's changes count for one member only. When someone leaves the group, wisp serve-token --revoke 周远 takes his token back.
In her library, Lin Xia clicks “Export” › “Connect to the group's server…”, enters the address and her token, and clicks “Connect”:
NoticeConnected: you are 林夏 (owner).
Her library already had 29 papers and a manuscript; connecting sent all of it to the server, and the empty library there now holds it. Zhou Yuan does not use her library: he makes a new empty library, “组里的文献库” (the group's library), chooses “Connect to the group's server…” in the same way and enters his own token. Once connected:
While both are on the Writing page, each tells the server which section they are writing. Zhou Yuan is writing the methods; in the outline there is a small blue dot by “Introduction”, and with the pointer on it:
On Lin Xia's side there is likewise an amber dot of Zhou Yuan's by “Methods”. Once the other person leaves the Writing page or closes the library, the dot stays for a minute and a half at most.
- Prof. Zhang (张老师), connected with the reader token, receives everyone's changes; what he changes in his own copy stays on his computer and is not sent. The window tells him so: on connecting, “Connected: you are 张老师 (read only). What you change here stays on this computer and is not sent to the group. Synced 65 changes from 林夏.”; after he changed a paragraph and synced by hand, “You can only read on this server: 1 change made here stayed on this computer; nothing is sent to the group.”; and the server's line in the “Export” menu carries “read only: changes are not sent”.
wisp sync-serversays it too: its answer hasrolereader,kept(the changes left on this computer) and a one-sentencenote. - A library uses one of the two ways only: one already shared through a folder answers a connection with “这个文献库已经和一个共享文件夹同步;先停止那个共享,再连服务器。” (this library is already kept in step with a shared folder; stop that share first).
- When the two sides speak different versions of the sync protocol, both say plainly to update to the same version rather than half sync. A group is best on one version of Wisp Study.
- The command line connects too:
wisp connect --url <address> --token <token>,wisp sync-server.
6Which to choose, and what stays on each computer
| Shared folder | Group's server | |
|---|---|---|
| What it takes | A cloud drive or NAS folder everyone syncs | An always-on computer everyone can reach, and the terminal |
| Who can join | Whoever can open the folder | Whoever has a token; tokens can be revoked |
| Roles | None: everyone writes | Owner, writer, reader |
| How fast | Every 30 seconds, plus the drive's own syncing | Every 30 seconds |
| Who is writing where | Not shown | A dot in the outline |
| Suits | Two or three people already on one cloud drive | A lab group, with people coming and going |
Both share the same things: the papers' bibliographic records, tags and notes, the trash, PDFs and other attachments, the picture library, the glossary, manuscripts and comments, and who made each change and when. What stays on each person's computer:
- screening decisions, reading states, stars, reading positions, highlights and notes on PDFs;
- conversations with the assistant;
- all settings, including API keys and the token you connect with (the token goes only to that server, with each request);
- the library's database itself: it never goes into the shared folder or to the server.
Once connected to a server, the section you are writing on the Writing page (not the cursor, not the text) is also told to the server and kept for 90 seconds. To send one manuscript to one person without sharing a library, use a manuscript package.
Recap
- In the library's “Export”, “Share through a folder (with others)…” picks an empty folder a cloud drive syncs; others choose the same one with “Join a shared folder” on their home page.
- Papers, tags, PDFs, manuscripts and comments sync both ways; a paper someone else adds waits in your “Screening”, and screening is each person's own.
- When both change one paragraph, each keeps their own and gets the other's as a proposal; one merge brings both sides together.
wisp serveandwisp serve-tokenmake a computer of the group the server; members connect with “Connect to the group's server…”, as owner, writer or reader, and the outline shows who is writing which section.- Conversations, settings, screening and reading traces always stay on your own computer.