{"repo":"go-shiori/obelisk","free":true,"listed":false,"github":"https://github.com/go-shiori/obelisk","clone":"git clone https://github.com/go-shiori/obelisk.git","description":"Go package and CLI tool for saving web page as single HTML file","language":"Go","stars":320,"topics":["go","golang","cli","archive","hacktoberfest"],"license":"MIT","category":"cli-tools","readme_excerpt":"Go packages and CLI tool for saving web page as single HTML file --- Obelisk is a Go package and CLI tool for saving web page as single HTML file, with all of its assets embedded. It's inspired by the great Monolith and intended as improvement for my old WARC package. Features - Embeds all resources (e.g. CSS, image, JavaScript, etc) producing a single HTML5 document that is easy to store and share. - In case the submitted URL is not HTML (for example a PDF page), Obelisk will still save it as it is. - Downloading each assets are done concurrently, which make the archival process for a web page is quite fast. - Accepts cookies, useful for pages that need login or article behind paywall. As Go package Run following command inside your Go project : Next, include Obelisk in your application : Now you can use Obelisk archival feature for your application. For basic usage you can check the example. As CLI application You can download the latest version of Obelisk from release page. To build from source, make sure you use go = 1.13 then run following commands : Now you can use it from your terminal : There are some CLI behavior that I think need to be explained more here : - The --input flag accepts text file that contains list of urls that look like this : - The --load-cookies flag accepts Netscape cookie file that usually look like this : - If --output flag is not specified then Obelisk will generate file name for the archive and save it in current working directory. - If --outpu","default_branch":null,"files":null,"tree":[],"storefront":"/r/go-shiori","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/go-shiori/obelisk/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}