Sync local directory to OurBigBook Web instead of doing anything else.
To upload the entire repository, run from toplevel:
ourbigbook --webTo update just all IDs in a single This requires that all external IDs that
physics.bigb source file use:ourbigbook --web physics.bigbphysics.bigb might depend on have already been previously uploaded, e.g. with a previous ourbigbook --web from toplevel.The source code is uploaded, and conversion to HTML happens on the server, no conversion is done locally.
Inside a Git repository, uploads use a clean checkout of the current
HEAD commit, including committed configuration, assets, and pinned submodules. Commit your changes first: uncommitted and untracked files are not uploaded. The checkout is under _out/publish, with web output under _out/publish/_out/web for a project at the repository root. Configured external local media repositories also use their current commit. Outside Git, uploads continue to use the current files directly, with output under _out/web.Files from a configured local media provider are merged into the user's upload root, without an extra
media/ prefix, just like GitHub publishing. For example, figures/diagram.svg in the media repository becomes /USERNAME/-/raw/figures/diagram.svg. Git metadata is excluded. Collisions with source-repository files or directories abort before any files are uploaded or unlisted.Some limitations:
- if there's an error in a later file, the database is still modified by the previous files, i.e. there is no atomicity. A way to improve that would be to upload all files to the server in one go, and let the server convert everything in one transaction. However, this would lead to a very long server action, which would block any other incoming request (I tested, everything is single threaded)
Tagged
- News Article and topic ID prefix search
- News Article announcement
- News Create new articles from table of contents
- News Ourbigbook.com/cirosantilli loads 2x as fast after database optimizations
- News Profile picture upload
- News Scope ancestors show on toplevel header and page title
- News Signup IP blacklist, VPN detection and account locking
- News Static ToC search
- News Tagged articles and other article lists added to Web
- News Topic ID shows on web editor when creating a new article
- News Web navigation two level tab cleanup
- News Web searches find words inside title on PostgreSQL
Ancestors
Incoming links
- Background build
- Demo data local file output
- Local header deletion on web upload
- News Disambiguate shows on navigation
- News Tagged articles and other article lists added to Web
--no-web-render- OurBigBook CLI
- OurBigBook Web unlisted content
- Publish your content
--web-cancel-build--web-dry--web-force--web-force-id-extraction--web-force-render--web-id--web-nested-set(option)--web-no-watch--web-url--web-user--web-watch