[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-5439":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":23,"hasPages":23,"topics":25,"createdAt":10,"pushedAt":10,"updatedAt":34,"readmeContent":35,"aiSummary":36,"trendingCount":16,"starSnapshotCount":16,"syncStatus":37,"lastSyncTime":38,"discoverSource":39},5439,"monolith","Y2Z\u002Fmonolith","Y2Z","⬛️ CLI tool and library for saving complete web pages as a single HTML file","https:\u002F\u002Fcrates.io\u002Fcrates\u002Fmonolith",null,"Rust",15180,455,63,59,0,6,44,103,24,42.98,"Creative Commons Zero v1.0 Universal",false,"master",[26,27,28,29,30,31,32,33],"come-and-take-it","e-hoarding","its-mine","make-the-internet-great-again","no-more-404","procrastination","save-the-internet","tab-rehab","2026-06-12 02:01:10","[![monolith build status on GNU\u002FLinux](https:\u002F\u002Fgithub.com\u002FY2Z\u002Fmonolith\u002Fworkflows\u002FGNU%2FLinux\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002FY2Z\u002Fmonolith\u002Factions?query=workflow%3AGNU%2FLinux)\n[![monolith build status on macOS](https:\u002F\u002Fgithub.com\u002FY2Z\u002Fmonolith\u002Fworkflows\u002FmacOS\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002FY2Z\u002Fmonolith\u002Factions?query=workflow%3AmacOS)\n[![monolith build status on Windows](https:\u002F\u002Fgithub.com\u002FY2Z\u002Fmonolith\u002Fworkflows\u002FWindows\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002FY2Z\u002Fmonolith\u002Factions?query=workflow%3AWindows)\n[![Monolith Actor on Apify](https:\u002F\u002Fapify.com\u002Factor-badge?actor=snshn\u002Fmonolith)](https:\u002F\u002Fapify.com\u002Fsnshn\u002Fmonolith?fpr=snshn)\n\n\n```\n _____    _____________   __________     ___________________    ___\n|     \\  \u002F             \\ |          |   |                   |  |   |\n|      \\\u002F       __      \\|    __    |   |    ___     ___    |__|   |\n|              |  |          |  |   |   |   |   |   |   |          |\n|   |\\    \u002F|   |__|          |__|   |___|   |   |   |   |    __    |\n|   | \\__\u002F |          |\\                    |   |   |   |   |  |   |\n|___|      |__________| \\___________________|   |___|   |___|  |___|\n```\n\nA data hoarder’s dream come true: bundle any web page into a single HTML file. You can finally replace that gazillion of open tabs with a gazillion of .html files stored somewhere on your precious little drive.\n\nUnlike the conventional “Save page as”, `monolith` not only saves the target document, it embeds CSS, image, and JavaScript assets **all at once**, producing a single HTML5 document that is a joy to store and share.\n\nIf compared to saving websites with `wget -mpk`, this tool embeds all assets as data URLs and therefore lets browsers render the saved page exactly the way it was on the Internet, even when no network connection is available.\n\n\n---------------------------------------------------\n\n\n## Installation\n\n#### Using [Cargo](https:\u002F\u002Fcrates.io\u002Fcrates\u002Fmonolith) (cross-platform)\n\n```console\ncargo install monolith\n```\n\n#### Via [Homebrew](https:\u002F\u002Fformulae.brew.sh\u002Fformula\u002Fmonolith) (macOS and GNU\u002FLinux)\n\n```console\nbrew install monolith\n```\n\n#### Via [Chocolatey](https:\u002F\u002Fcommunity.chocolatey.org\u002Fpackages\u002Fmonolith) (Windows)\n\n```console\nchoco install monolith\n```\n\n#### Via [Scoop](https:\u002F\u002Fscoop.sh\u002F#\u002Fapps?q=monolith) (Windows)\n\n```console\nscoop install main\u002Fmonolith\n```\n\n#### Via [Winget](https:\u002F\u002Fwinstall.app\u002Fapps\u002FY2Z.Monolith) (Windows)\n\n```console\nwinget install --id=Y2Z.Monolith -e\n```\n\n#### Via [MacPorts](https:\u002F\u002Fports.macports.org\u002Fport\u002Fmonolith\u002Fsummary) (macOS)\n\n```console\nsudo port install monolith\n```\n\n#### Using [Snapcraft](https:\u002F\u002Fsnapcraft.io\u002Fmonolith) (GNU\u002FLinux)\n\n```console\nsnap install monolith\n```\n\n#### Using [Guix](https:\u002F\u002Fpackages.guix.gnu.org\u002Fpackages\u002Fmonolith) (GNU\u002FLinux)\n\n```console\nguix install monolith\n```\n\n#### Using [NixPkgs](https:\u002F\u002Fsearch.nixos.org\u002Fpackages?channel=unstable&show=monolith&query=monolith)\n\n```console\nnix-env -iA nixpkgs.monolith\n```\n\n#### Using [Flox](https:\u002F\u002Fflox.dev)\n\n```console\nflox install monolith\n```\n\n#### Using [Pacman](https:\u002F\u002Farchlinux.org\u002Fpackages\u002Fextra\u002Fx86_64\u002Fmonolith) (Arch Linux)\n\n```console\npacman -S monolith\n```\n\n#### Using [aports](https:\u002F\u002Fpkgs.alpinelinux.org\u002Fpackages?name=monolith) (Alpine Linux)\n\n```console\napk add monolith\n```\n\n#### Using [XBPS Package Manager](https:\u002F\u002Fvoidlinux.org\u002Fpackages\u002F?q=monolith) (Void Linux)\n\n```console\nxbps-install -S monolith\n```\n\n#### Using [FreeBSD packages](https:\u002F\u002Fsvnweb.freebsd.org\u002Fports\u002Fhead\u002Fwww\u002Fmonolith\u002F) (FreeBSD)\n\n```console\npkg install monolith\n```\n\n#### Using [FreeBSD ports](https:\u002F\u002Fwww.freshports.org\u002Fwww\u002Fmonolith\u002F) (FreeBSD)\n\n```console\ncd \u002Fusr\u002Fports\u002Fwww\u002Fmonolith\u002F\nmake install clean\n```\n\n#### Using [pkgsrc](https:\u002F\u002Fpkgsrc.se\u002Fwww\u002Fmonolith) (NetBSD, OpenBSD, Haiku, etc)\n\n```console\ncd \u002Fusr\u002Fpkgsrc\u002Fwww\u002Fmonolith\nmake install clean\n```\n\n#### Using [containers](https:\u002F\u002Fwww.docker.com\u002F)\n\n```console\ndocker build -t y2z\u002Fmonolith .\nsudo install -b dist\u002Frun-in-container.sh \u002Fusr\u002Flocal\u002Fbin\u002Fmonolith\n```\n\n#### From [source](https:\u002F\u002Fgithub.com\u002FY2Z\u002Fmonolith)\n\nDependencies: `libssl`, `cargo`\n\n\u003Cdetails>\n  \u003Csummary>Install cargo (GNU\u002FLinux)\u003C\u002Fsummary>\n Check if cargo is installed\n\n ```console\n cargo -v\n ```\n\n If cargo is not already installed, install and add it to your existing ```$PATH``` (paraphrasing the [official installation instructions](https:\u002F\u002Fdoc.rust-lang.org\u002Fcargo\u002Fgetting-started\u002Finstallation.html)):\n\n ```console\n curl https:\u002F\u002Fsh.rustup.rs -sSf | sh\n . \"$HOME\u002F.cargo\u002Fenv\"\n ```\n\nProceed with installing from source:\n\u003C\u002Fdetails>\n\n```console\ngit clone https:\u002F\u002Fgithub.com\u002FY2Z\u002Fmonolith.git\ncd monolith\nmake install\n```\n\n#### Using [pre-built binaries](https:\u002F\u002Fgithub.com\u002FY2Z\u002Fmonolith\u002Freleases) (Windows, ARM-based devices, etc)\n\nEvery release contains pre-built binaries for Windows, GNU\u002FLinux, as well as platforms with non-standard CPU architecture.\n\n\n---------------------------------------------------\n\n\n## Usage\n\n```console\nmonolith https:\u002F\u002Flyrics.github.io\u002Fdb\u002FP\u002FPortishead\u002FDummy\u002FRoads\u002F -o %title%.%timestamp%.html\n```\n\n```console\ncat some-site-page.html | monolith -aIiFfcMv -b https:\u002F\u002Fsome.site\u002F - > some-site-page-with-assets.html\n```\n\n\n---------------------------------------------------\n\n\n## Options\n\n - `-a`: Exclude audio sources\n - `-b`: Use `custom base URL`\n - `-B`: Forbid retrieving assets from specified domain(s)\n - `-c`: Exclude CSS\n - `-C`: Read cookies from `file`\n - `-d`: Allow retrieving assets only from specified `domain(s)`\n - `-e`: Ignore network errors\n - `-E`: Save document using `custom encoding`\n - `-f`: Omit frames\n - `-F`: Exclude web fonts\n - `-h`: Print help information\n - `-i`: Remove images\n - `-I`: Isolate the document\n - `-j`: Exclude JavaScript\n - `-k`: Accept invalid X.509 (TLS) certificates\n - `-m`: Output in MHTML format instead of HTML\n - `-M`: Don't add timestamp and URL information\n - `-n`: Extract contents of NOSCRIPT elements\n - `-o`: Write output to `file` (use “-” for STDOUT)\n - `-q`: Be quiet\n - `-t`: Adjust `network request timeout`\n - `-u`: Provide `custom User-Agent`\n - `-v`: Exclude videos\n - `-V`: Print version number\n\n\n---------------------------------------------------\n\n\n## Whitelisting and blacklisting domains\n\nOptions `-d` and `-B` provide control over what domains can be used to retrieve assets from, e.g.:\n\n```console\nmonolith -I -d example.com -d www.example.com https:\u002F\u002Fexample.com -o example-only.html\n```\n\n```console\nmonolith -I -B -d .googleusercontent.com -d googleanalytics.com -d .google.com https:\u002F\u002Fexample.com -o example-no-ads.html\n```\n\n\n---------------------------------------------------\n\n\n## Dynamic content\n\nMonolith doesn't feature a JavaScript engine, hence websites that retrieve and display data after initial load may require usage of additional tools.\n\nFor example, Chromium (Chrome) can be used to act as a pre-processor for such pages:\n\n```console\nchromium --headless --window-size=1920,1080 --run-all-compositor-stages-before-draw --virtual-time-budget=9000 --incognito --dump-dom https:\u002F\u002Fgithub.com | monolith - -I -b https:\u002F\u002Fgithub.com -o github.html\n```\n\n\n---------------------------------------------------\n\n\n## Authentication\n\n```console\nmonolith https:\u002F\u002Fusername:password@example.com -o example-basic-auth.html\n```\n\n\n---------------------------------------------------\n\n\n## Proxies\n\nPlease set `https_proxy`, `http_proxy`, and `no_proxy` environment variables.\n\n\n---------------------------------------------------\n\n### Apify Actor Usage\n\n\u003Ca href=\"https:\u002F\u002Fapify.com\u002Fsnshn\u002Fmonolith?fpr=snshn\">\u003Cimg src=\"https:\u002F\u002Fapify.com\u002Fext\u002Frun-on-apify.png\" alt=\"Run Monolith Actor on Apify\" width=\"176\" height=\"39\" \u002F>\u003C\u002Fa>\n\nYou can run Monolith in the cloud without installation using the [Monolith Actor](https:\u002F\u002Fapify.com\u002Fsnshn\u002Fmonolith?fpr=snshn) on [Apify](https:\u002F\u002Fapify.com?fpr=snshn) free of charge.\n\n``` bash\necho '{\"urls\": [\"https:\u002F\u002Fnews.ycombinator.com\u002F\"]}' | apify call -so snshn\u002Fmonolith\n[{\n  \"url\": \"https:\u002F\u002Fnews.ycombinator.com\u002F\",\n  \"status\": \"0\",\n  \"kvsUrl\": \"https:\u002F\u002Fapi.apify.com\u002Fv2\u002Fkey-value-stores\u002Fof9xNgvpon4elPLbc\u002Frecords\u002Fhttps___news.ycombinator.com_\"\n}]\n```\n\nRead more about the [Monolith Actor](.actor\u002FREADME.md), including how to use it via the Apify UI, API and CLI without installation.\n\n---------------------------------------------------\n\n\n## Contributing\n\nPlease open an issue if something is wrong, that helps make this project better.\n\n\n---------------------------------------------------\n\n\n## License\n\nTo the extent possible under law, the author(s) have dedicated all copyright related and neighboring rights to this software to the public domain worldwide.\nThis software is distributed without any warranty.\n","Monolith 是一个CLI工具和库，用于将完整的网页保存为单个HTML文件。它使用Rust语言开发，能够嵌入CSS、图片和JavaScript等所有资源，生成一个独立的HTML5文档，确保在无网络连接的情况下也能完整呈现网页内容。相比传统的“另存为”功能或wget命令，Monolith 通过数据URL嵌入所有资源，使得保存的页面可以离线浏览且外观与在线时一致。该工具适用于需要归档网页、减少浏览器标签页数量以及在没有网络的情况下访问重要信息的场景。",2,"2026-06-11 03:03:19","top_language"]