{"id":20812222,"url":"https://github.com/curegit/line-sticker-downloader","last_synced_at":"2025-05-07T10:31:30.099Z","repository":{"id":50619879,"uuid":"182791270","full_name":"curegit/line-sticker-downloader","owner":"curegit","description":"Simple tool for downloading sticker images and assets in a zip from LINE Store","archived":false,"fork":false,"pushed_at":"2023-10-25T15:24:07.000Z","size":401,"stargazers_count":14,"open_issues_count":0,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-10-26T16:42:48.073Z","etag":null,"topics":["backend","cgi","cli","downloader","line","mod-php","php","zip"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"wtfpl","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/curegit.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2019-04-22T13:18:35.000Z","updated_at":"2023-10-04T10:59:53.000Z","dependencies_parsed_at":"2022-09-24T16:13:08.806Z","dependency_job_id":null,"html_url":"https://github.com/curegit/line-sticker-downloader","commit_stats":null,"previous_names":[],"tags_count":10,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/curegit%2Fline-sticker-downloader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/curegit%2Fline-sticker-downloader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/curegit%2Fline-sticker-downloader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/curegit%2Fline-sticker-downloader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/curegit","download_url":"https://codeload.github.com/curegit/line-sticker-downloader/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225090639,"owners_count":17419444,"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":["backend","cgi","cli","downloader","line","mod-php","php","zip"],"created_at":"2024-11-17T20:51:19.944Z","updated_at":"2025-05-07T10:31:30.086Z","avatar_url":"https://github.com/curegit.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Line Sticker Downloader\n\nSimple tool for downloading sticker images and assets in a zip from LINE Store\n\nIt works in both browser-based and command-line environments.\n\n## Features\n\n- Compatible with sound and animation stickers\n- Can be used in Mod-PHP, CGI (browser), and CLI (terminal) environments\n\n## Requirements\n\n- PHP \u003e= 7.0\n- PHP Zip extension\n\n### Debian example (CLI usage only)\n\n`sudo apt install php-cli php-zip`\n\n## Installation\n\n### CGI and CLI\n\n1. Clone the repository, or download zip and extract it\n2. Deploy the entire directory to a web server (personal private server recommended)\n3. Give PHP permission to write in `caches` directory (0777 is fine)\n\n### CLI only\n\n1. Clone the repository, or download zip and extract it\n\n## Usage\n\n### CGI\n\n1. Visit `index.html`\n2. Enter the sticker ID\n3. Click the download button\n4. Wait for a minute\n5. Click the download link\n\n### CLI\n\n- To download stickers with ID 1234, run:\n\n  `php download.php 1234`\n\n- To download stickers with ID 1111111 and save them as `one.zip` in the working directory, run:\n\n  `php download.php 1111111 one.zip`\n\n- To download stickers with ID 5678 and save them as `abc.zip` in an existing `foo` directory, run:\n\n  `php download.php 5678 foo/abc.zip`\n\nExisting files will be overwritten.\n\n## Tips\n\n### How to find IDs\n\nSee the URL of sticker item pages.\n\n![Store](images/store_screen.png)\n\n### IDs are consecutive\n\n- Official stickers are numbered starting from 1\n- Creator's stickers are numbered starting from 1000000\n\n### Download multiple sticker packages\n\nYou can use the CLI with a loop command to download multiple sticker packages.\n\n- Bash\n\n```bash\nfor ((i=1000; i\u003c=1050; i++)); do php download.php $i; done\n```\n\n- PowerShell\n\n```ps1\nfor ($i = 1000; $i -lt 1050; $i++) { php download.php $i }\n```\n\n#### Multiprocessing downloading\n\nYou can use xargs to download multiple sticker packages in parallel.\n\n```sh\nseq 1000 2000 | xargs -L 1 -P 8 php download.php\n```\n\nIf you are using PowerShell 7.0 or newer, `ForEach-Object -Parallel` is a suitable alternative.\n\n```ps1\n2000..3000 | ForEach-Object -ThrottleLimit 8 -Parallel { php download.php $_ }\n```\n\n## Notes\n\n- The size of a download page (CGI) may be slightly large because the PHP program outputs a lot of dummy data so that a server sends document data continuously and a browser refreshes the screen.\n- The sticker resources are located in public web directories, so anyone can access them easily and legally (for private use only).\n- A few packages contain broken PNGs in iPhone stickers, missing important metadata. These stickers can't open with most applications, but there is a solution. Open them with macOS's Preview application and export as new images. The exported images may be valid forms.\n\n## Related\n\n[Line Theme Downloader](https://github.com/curegit/line-theme-downloader)\n\n## License\n\n[WTFPL](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcuregit%2Fline-sticker-downloader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcuregit%2Fline-sticker-downloader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcuregit%2Fline-sticker-downloader/lists"}