{"id":13566652,"url":"https://github.com/spekulatius/faasd-phpscraper","last_synced_at":"2025-08-24T17:48:15.792Z","repository":{"id":55592916,"uuid":"318319855","full_name":"spekulatius/faasd-phpscraper","owner":"spekulatius","description":"openfaas/faasd wrapper for PHPScraper","archived":false,"fork":false,"pushed_at":"2023-05-28T10:43:17.000Z","size":26,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-04T21:37:04.573Z","etag":null,"topics":["faasd","function-as-a-service","openfaas","php-faas","phpscraper"],"latest_commit_sha":null,"homepage":"https://phpscraper.de","language":"PHP","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/spekulatius.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"spekulatius","custom":"https://www.buymeacoffee.com/spekulatius"}},"created_at":"2020-12-03T21:07:27.000Z","updated_at":"2023-03-24T02:39:12.000Z","dependencies_parsed_at":"2024-04-07T23:42:18.580Z","dependency_job_id":null,"html_url":"https://github.com/spekulatius/faasd-phpscraper","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spekulatius%2Ffaasd-phpscraper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spekulatius%2Ffaasd-phpscraper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spekulatius%2Ffaasd-phpscraper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spekulatius%2Ffaasd-phpscraper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spekulatius","download_url":"https://codeload.github.com/spekulatius/faasd-phpscraper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224281643,"owners_count":17285702,"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":["faasd","function-as-a-service","openfaas","php-faas","phpscraper"],"created_at":"2024-08-01T13:02:13.958Z","updated_at":"2024-11-12T13:29:17.844Z","avatar_url":"https://github.com/spekulatius.png","language":"PHP","funding_links":["https://github.com/sponsors/spekulatius","https://www.buymeacoffee.com/spekulatius"],"categories":["PHP"],"sub_categories":[],"readme":"# PHP Scraper as a Function\n\nA simple [OpenFaaS](https://github.com/openfaas/faas)/[faasd](https://github.com/openfaas/faasd) wrapper around [PHP Scraper](https://github.com/spekulatius/PHPScraper). Essentially turning your scraper into a function.\n\n\n## Usage\n\n1. Fork and clone the fork.\n2. Adjust the `stack.yml` file with your docker hub name.\n3. Change the handler to your needs.\n4. `faas-cli up --gateway http://faasd.somewhere.com:8080`.\n\n\n## How to generate the secret?\n\n1. Create a secret:\n\n   ```bash\n   echo $(head -c 16 /dev/urandom | shasum | cut -d \"-\" -f1) \u003e token.txt\n   ```\n\n2. Store it on the server:\n\n   ```bash\n   faas-cli secret create phpscraper-token --from-file token.txt --gateway http://yourfaasd.somewhere.com:8080\n   ```\n\n3. Deploy as usual:\n\n   ```bash\n   faas-cli up --gateway http://yourfaasd.somewhere.com:8080\n   ```\n\n\n## How to develop with PHPScraper?\n\nFor more information on core functionality of PHPScraper check the [documentation](https://phpscraper.de). The tests and examples can also help understanding it better.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspekulatius%2Ffaasd-phpscraper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspekulatius%2Ffaasd-phpscraper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspekulatius%2Ffaasd-phpscraper/lists"}