{"id":24173124,"url":"https://github.com/wabarc/archiver","last_synced_at":"2025-10-15T04:02:00.688Z","repository":{"id":36990069,"uuid":"304673985","full_name":"wabarc/archiver","owner":"wabarc","description":"Archive webpages","archived":false,"fork":false,"pushed_at":"2023-12-15T02:22:12.000Z","size":796,"stargazers_count":4,"open_issues_count":32,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-12-12T07:48:45.635Z","etag":null,"topics":["archiver","javascript","node","nodejs","npm","npm-package","telegram","telegram-channel","typescript","wayback","wayback-archiver"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wabarc.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-10-16T15:56:52.000Z","updated_at":"2022-05-02T16:41:28.000Z","dependencies_parsed_at":"2024-06-21T19:06:59.305Z","dependency_job_id":"fde8b108-6c10-415f-a7ca-b9269e60f9d0","html_url":"https://github.com/wabarc/archiver","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":"wabarc/project-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wabarc%2Farchiver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wabarc%2Farchiver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wabarc%2Farchiver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wabarc%2Farchiver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wabarc","download_url":"https://codeload.github.com/wabarc/archiver/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233606225,"owners_count":18701610,"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":["archiver","javascript","node","nodejs","npm","npm-package","telegram","telegram-channel","typescript","wayback","wayback-archiver"],"created_at":"2025-01-13T01:14:30.854Z","updated_at":"2025-10-15T04:02:00.610Z","avatar_url":"https://github.com/wabarc.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# archiver\n\nRead this in other languages: English | [简体中文](./README_zh-CN.md)\n\nArchive webpages from Telegram channel and etc.\n\n## Installation\n\nUsing npm:\n\n```bash\nnpm install @wabarc/archiver\n```\n\nUsing yarn:\n\n```bash\nyarn add @wabarc/archiver\n```\n\n## Example\n\n```javascript\nimport { Archiver } from '@wabarc/archiver';\n// const archiver = require('@wabarc/archiver');\n\nconst archived = await new Archiver().telegram({ channel: 'channel_name', msgid: 1 }).start();\nconsole.log(archived)\n```\n\n## Instance methods\n\nThe available instance methods are listed below.\n\n- archiver#telegram({ channel: string, msgid: number })\n- archiver#start()\n- archiver#do()\n- archiver#stage()\n\n## Request Params\n\n### Telegram\n\nThese are the available options for archival webpage from Telegram channel. `channel` and `msgid` is required.\n\n```javascript\n{\n  // `channel` is the Telegram channel name\n  channel: 'wabarc_testing',\n\n  // `msgid` is the message id published on the Telegram channel.\n  msgid: 1\n}\n```\n\n## Response Schema\n\n```javascript\n[\n  {\n    id: 1,\n    url: 'https://example.org/',\n    title: 'Example ORG',\n    content: '\u003chtml\u003e\u003chead\u003e\u003c/head\u003e\u003cbody\u003ebody content\u003c/body\u003e\u003c/html\u003e',\n    success: true\n  }\n]\n```\n\n## License\n\nThis software is released under the terms of the GNU General Public License v3.0. See the [LICENSE](https://github.com/wabarc/archiver/blob/main/LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwabarc%2Farchiver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwabarc%2Farchiver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwabarc%2Farchiver/lists"}