{"id":24133439,"url":"https://github.com/projectwallace/extract-css","last_synced_at":"2025-10-14T03:35:43.463Z","repository":{"id":39662721,"uuid":"170754251","full_name":"projectwallace/extract-css","owner":"projectwallace","description":"Extract all CSS from a webpage, packaged as a Now V2 Lambda","archived":false,"fork":false,"pushed_at":"2023-04-30T11:10:22.000Z","size":300,"stargazers_count":27,"open_issues_count":5,"forks_count":6,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-04-14T09:58:51.035Z","etag":null,"topics":["css","function","get-css","lambda","scraper","serverless"],"latest_commit_sha":null,"homepage":"https://www.projectwallace.com/get-css","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/projectwallace.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":".github/funding.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null},"funding":{"github":"bartveneman","patreon":"bartveneman","open_collective":"projectwallace","custom":["https://www.projectwallace.com/sponsor'","https://www.paypal.me/bartveneman"]}},"created_at":"2019-02-14T20:34:19.000Z","updated_at":"2024-02-29T05:22:03.000Z","dependencies_parsed_at":"2023-09-24T05:25:57.666Z","dependency_job_id":null,"html_url":"https://github.com/projectwallace/extract-css","commit_stats":{"total_commits":44,"total_committers":4,"mean_commits":11.0,"dds":0.4545454545454546,"last_synced_commit":"9af013f1a732840f759c2ee24d522243bd1b7bb0"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/projectwallace%2Fextract-css","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/projectwallace%2Fextract-css/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/projectwallace%2Fextract-css/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/projectwallace%2Fextract-css/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/projectwallace","download_url":"https://codeload.github.com/projectwallace/extract-css/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233550309,"owners_count":18692826,"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":["css","function","get-css","lambda","scraper","serverless"],"created_at":"2025-01-11T23:37:49.790Z","updated_at":"2025-09-19T04:31:13.495Z","avatar_url":"https://github.com/projectwallace.png","language":"JavaScript","readme":"\u003cdiv align=\"center\"\u003e\n\t\u003ch1\u003eExtract CSS\u003c/h1\u003e\n\t\u003cp\u003eGet all the CSS from a webpage.\u003c/p\u003e\n\u003c/div\u003e\n\n## The problem\n\nThe folks from [CSS Stats](https://cssstats.com/) have created [get-css](https://github.com/cssstats/cssstats/tree/master/packages/get-css), a package to get all the CSS from a given webpage. One downside, however, is that it only works for server side rendered applications.\n\n## The solution\n\nThis package uses an actual browser under the hood to get all the CSS and exposes an HTTP endpoint that accepts a url to get the CSS from. [Read all about it in this blog post on ProjectWallace.com](https://www.projectwallace.com/blog/extracting-css-from-webpage).\n\n## Credits\n\n- This repo is pretty much an exact copy of [this example from Zeit](https://github.com/zeit/now-examples/tree/master/puppeteer-screenshot).\n- The idea to get all the CSS from a webpage comes from [CSS Stats](https://github.com/cssstats/cssstats)\n","funding_links":["https://github.com/sponsors/bartveneman","https://patreon.com/bartveneman","https://opencollective.com/projectwallace","https://www.projectwallace.com/sponsor'","https://www.paypal.me/bartveneman"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprojectwallace%2Fextract-css","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprojectwallace%2Fextract-css","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprojectwallace%2Fextract-css/lists"}