{"id":19741630,"url":"https://github.com/hellomouse/apps-site-service","last_synced_at":"2025-10-15T13:51:08.431Z","repository":{"id":194424852,"uuid":"687725034","full_name":"hellomouse/apps-site-service","owner":"hellomouse","description":"Website downloader service for Hellomouse Apps","archived":false,"fork":false,"pushed_at":"2024-05-14T21:07:21.000Z","size":1269,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-02-28T07:00:39.780Z","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/hellomouse.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2023-09-05T21:56:57.000Z","updated_at":"2024-05-14T21:07:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"7da4adda-59ac-4754-99f6-a68b9d719bd7","html_url":"https://github.com/hellomouse/apps-site-service","commit_stats":null,"previous_names":["hellomouse/apps-site-service"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hellomouse/apps-site-service","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellomouse%2Fapps-site-service","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellomouse%2Fapps-site-service/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellomouse%2Fapps-site-service/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellomouse%2Fapps-site-service/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hellomouse","download_url":"https://codeload.github.com/hellomouse/apps-site-service/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellomouse%2Fapps-site-service/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278903033,"owners_count":26065786,"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","status":"online","status_checked_at":"2025-10-08T02:00:06.501Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-11-12T01:27:13.449Z","updated_at":"2025-10-08T06:55:24.234Z","avatar_url":"https://github.com/hellomouse.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hellomouse Apps Site Queue\n\nA fun Microservice for scraping stuff from sites for Hellomouse Apps\n\n## Features:\n- Download webpages as HTML (with assets like CSS, videos, images, etc... embedded as base64), PDF, WEBP (screenshot)\n- Special handling for certain websites, currently we have:\n   - **Twitter / X:** Tweets are downloaded as HTML + attached media (images, videos)\n   - **Reddit:** Posts and comments are downloaded with any attached assets\n   - **Soundcloud:** Songs are downloaded with metadata (HTML + audio)\n   - **Newgrounds:** Songs are downloaded with metadata (HTML + audio)\n   - **Imgur:** Albums and gallerys are downloaded with all images and metadata (HTML + images / videos)\n   - **Youtube:** Videos are downloaded\n   - **Pixiv:** Albums are downloaded\n   - **Bilibili:** Videos are downloaded\n\n## Built With\n* ![NodeJS](https://img.shields.io/badge/node.js-6DA55F?style=for-the-badge\u0026logo=node.js\u0026logoColor=white)\n* ![Postgres](https://img.shields.io/badge/postgres-%23316192.svg?style=for-the-badge\u0026logo=postgresql\u0026logoColor=white)\n* ![Puppeteer](https://img.shields.io/badge/Puppeteer-%01d8a2.svg?style=for-the-badge\u0026logo=GoogleChrome\u0026logoColor=white)\n\n## Setup\n\nInstall dependencies\n```\nnpm install\n```\n\nSetup the config. You will need a PostgresSQL database running as well as the `hellomouse-apps-api` server (run the server first to generate the required tables).\n\nThere is an example config in the root directory. Copy it and rename it to `config.js`. Here are the properties:\n\n```js\nexport const dbUser = 'hellomouse_board';  // PostgresSQL user\nexport const dbIp = '127.0.0.1';           // Postgres Server location\nexport const dbPort = 5433;                // Postgres Server port \nexport const dbPassword = 'my password';   // Postgres Server password\nexport const dbName = 'hellomouse_board';  // Postgres Server DB name\n\nexport const fileDir = './saves';          // Path to store all files, in general, web files are stored under this path/site_downloads/file.ext\n```\n\nTo setup yt-dlp (optional) you can place your browser cookies in `secret/yt-cookies.txt` for use in downloading youtube videos, and \n`secret/bilibili-cookies.txt` for downloading bilibili videos.\n\nTo setup pixiv cookies (optional, for bypassing rate limiting and age restrictions) you can place your browser cookies (exported as a JS array of objects like `[{ name: ... }])`) and put the result in `secret/pixiv-cookies.txt`.\n\n\nRun the server:\n```\nnode index.js\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhellomouse%2Fapps-site-service","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhellomouse%2Fapps-site-service","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhellomouse%2Fapps-site-service/lists"}