{"id":22404807,"url":"https://github.com/zeronetjs/zeronet-zite","last_synced_at":"2025-06-29T22:35:25.734Z","repository":{"id":48342544,"uuid":"111999193","full_name":"ZeroNetJS/zeronet-zite","owner":"ZeroNetJS","description":null,"archived":false,"fork":false,"pushed_at":"2021-07-31T01:52:58.000Z","size":223,"stargazers_count":1,"open_issues_count":4,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-02T11:06:45.525Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/ZeroNetJS.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":"2017-11-25T11:42:34.000Z","updated_at":"2017-11-28T09:12:25.000Z","dependencies_parsed_at":"2022-08-19T06:01:43.793Z","dependency_job_id":null,"html_url":"https://github.com/ZeroNetJS/zeronet-zite","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/ZeroNetJS%2Fzeronet-zite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZeroNetJS%2Fzeronet-zite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZeroNetJS%2Fzeronet-zite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZeroNetJS%2Fzeronet-zite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ZeroNetJS","download_url":"https://codeload.github.com/ZeroNetJS/zeronet-zite/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245761301,"owners_count":20667895,"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":[],"created_at":"2024-12-05T10:15:20.834Z","updated_at":"2025-03-27T01:17:37.367Z","avatar_url":"https://github.com/ZeroNetJS.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ZeroNet Zite\n\nZeroNet Zite class\n\n# API\n\n## API for content-json.js\n\n### Class ContentJSON\n\n#### Constructor - `new json.ContentJSON(zite, inner_path, data, rules)`\n\n \u003e Zite content.json\n\n - zite: Must be a Zite\n - inner_path: Path of the content.json\n - data: JSON parsed data of the content.json\n - rules: RuleBook containing the rules for the zite\n\n#### `ContentJSON.verifySelf( /* seems like that's not documented yet */ )`\n\n#### `ContentJSON.verifyFile( /* seems like that's not documented yet */ )`\n\n#### `ContentJSON.createRuleBook( /* seems like that's not documented yet */ )`\n\n## API for index.js\n\n### Class Zite\n\n#### Constructor - `new zite.Zite(config, zeronet)`\n\n \u003e ZeroNet Zite\n\n - config: configuration of the Zite\n - zeronet: ZeroNet Node\n\n#### `Zite.handleGet( /* seems like that's not documented yet */ )`\n\n#### `Zite.start( /* seems like that's not documented yet */ )`\n\n#### `Zite.stop( /* seems like that's not documented yet */ )`\n\n#### `Zite.toJSON()`\n\n \u003e Converts the site to json\n\n## API for pool.js\n\n### Class ZitePeerPool\n\n#### Constructor - `new pool.ZitePeerPool(zite, zeronet)`\n\n \u003e ZeroNet Zite peer pool\n\n - zite: The zite\n - zeronet: Global zeronet object\n\n#### `ZitePeerPool.getAll( /* seems like that's not documented yet */ )`\n\n#### `ZitePeerPool.getConnected( /* seems like that's not documented yet */ )`\n\n#### `ZitePeerPool.getUnconnected( /* seems like that's not documented yet */ )`\n\n#### `ZitePeerPool.dialMany( /* seems like that's not documented yet */ )`\n\n#### `ZitePeerPool.getMany( /* seems like that's not documented yet */ )`\n\n#### `ZitePeerPool.getUntil( /* seems like that's not documented yet */ )`\n\n#### `ZitePeerPool.next( /* seems like that's not documented yet */ )`\n\n## API for rulebook.js\n\n### Class RuleBook\n\n#### Constructor - `new rulebook.RuleBook()`\n\n \u003e A rule book defines which and how many keys can/have to sign\n\n#### `RuleBook.isKeyAllowed( /* seems like that's not documented yet */ )`\n\n#### `RuleBook.getSignersRequired( /* seems like that's not documented yet */ )`\n\n#### `RuleBook.getValidKeys( /* seems like that's not documented yet */ )`\n\n#### `RuleBook.verifySignature( /* seems like that's not documented yet */ )`\n\n#### `RuleBook.createSubBook( /* seems like that's not documented yet */ )`\n\n## API for tree.js\n\n### Class FileTreeObject\n\n#### `FileTreeObject.consturctor( /* seems like that's not documented yet */ )`\n\n#### `FileTreeObject.exists( /* seems like that's not documented yet */ )`\n\n#### `FileTreeObject.get( /* seems like that's not documented yet */ )`\n\n#### `FileTreeObject.updateTree( /* seems like that's not documented yet */ )`\n\n### Class FileTreeLeafObject\n\n### Class FileTreeLeafObject\n\n#### `FileTreeLeafObject.exists( /* seems like that's not documented yet */ )`\n\n#### `FileTreeLeafObject.get( /* seems like that's not documented yet */ )`\n\n### Class FileTreeRoot\n\n### Class FileTreeRoot\n\n#### `FileTreeRoot.setMainBranch( /* seems like that's not documented yet */ )`\n\n#### `FileTreeRoot.getRuleBook( /* seems like that's not documented yet */ )`\n\n### Class ContentJSONBranch\n\n### Class ContentJSONBranch\n\n#### `ContentJSONBranch.verify( /* seems like that's not documented yet */ )`\n\n### Class FileBranch\n\n### Class FileBranch\n\n-----\n\n[ZeroNetJS](github.com/ZeroNetJS) is developed independently from [ZeroNet](github.com/HelloZeroNet)\n\nDocs are autogenerated by [a script](/docs-gen/lib/index.js?raw=true)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzeronetjs%2Fzeronet-zite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzeronetjs%2Fzeronet-zite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzeronetjs%2Fzeronet-zite/lists"}