{"id":22199503,"url":"https://github.com/dozjs/doz-snap","last_synced_at":"2025-03-24T23:44:51.834Z","repository":{"id":57215768,"uuid":"148144489","full_name":"dozjs/doz-snap","owner":"dozjs","description":"Pre-rendering for Doz","archived":false,"fork":false,"pushed_at":"2021-08-21T07:46:17.000Z","size":856,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-01T21:03:46.373Z","etag":null,"topics":["doz","prerender","static-site-generator"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dozjs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-09-10T11:23:53.000Z","updated_at":"2021-08-21T07:46:19.000Z","dependencies_parsed_at":"2022-08-26T13:41:58.386Z","dependency_job_id":null,"html_url":"https://github.com/dozjs/doz-snap","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dozjs%2Fdoz-snap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dozjs%2Fdoz-snap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dozjs%2Fdoz-snap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dozjs%2Fdoz-snap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dozjs","download_url":"https://codeload.github.com/dozjs/doz-snap/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245372219,"owners_count":20604489,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["doz","prerender","static-site-generator"],"created_at":"2024-12-02T15:14:50.574Z","updated_at":"2025-03-24T23:44:51.813Z","avatar_url":"https://github.com/dozjs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# doz-snap\nPre-rendering for Doz\n\n\u003ca href=\"https://opensource.org/licenses/MIT\" target=\"_blank\"\u003e\u003cimg src=\"https://img.shields.io/badge/License-MIT-yellow.svg\" title=\"License: MIT\"/\u003e\u003c/a\u003e\n\n\u003e Works only with bundle provided by Parcel.\n\n## Installation\n\n```\nnpm install --save-dev doz-snap\n```\n\n## Usage\n\n```\n$ doz-snap -f ./public/index.html\n```\n\n### CLI\n```\n$ doz-snap --help\n\n  Options:\n\n    -f,     --entry-file        Entry file\n    -b,     --bundle-id         Bundle script id    'bundle'\n    -D,     --doc-type-string   Document type       '\u003c!DOCTYPE html\u003e'\n    -d,     --delay-render      Delay render        0\n    -s,     --link-selector     Link selector       'a[href]'\n    -i,     --index-file        Index file          'index.html'\n    -o,     --output-dir        Output directory'   'snap'\n    -p,     --public-url        Public url          'http://localhost'\n    -R,     --router-attribute  Router attribute    'data-router-link'\n    --no-clear-dir              Disable clear directory before build\n    --no-verbose                Disable verbose log\n    --cname                     A domain in a file named CNAME\n```\n\n## Important\nOnce your static app has been created, however, you need a web server such as Apache, Nginx etc.\n\n## Changelog\nYou can view the changelog \u003ca target=\"_blank\" href=\"https://github.com/dozjs/doz-snap/blob/master/CHANGELOG.md\"\u003ehere\u003c/a\u003e\n\n## License\ndoz-snap is open-sourced software licensed under the \u003ca target=\"_blank\" href=\"http://opensource.org/licenses/MIT\"\u003eMIT license\u003c/a\u003e\n\n## Author\n\u003ca target=\"_blank\" href=\"http://rica.li\"\u003eFabio Ricali\u003c/a\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdozjs%2Fdoz-snap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdozjs%2Fdoz-snap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdozjs%2Fdoz-snap/lists"}