{"id":16014919,"url":"https://github.com/thheller/netlify-cljs","last_synced_at":"2025-07-29T19:34:40.174Z","repository":{"id":140237070,"uuid":"168869283","full_name":"thheller/netlify-cljs","owner":"thheller","description":"demo frontend+function deployed to netlify","archived":false,"fork":false,"pushed_at":"2019-02-02T22:04:22.000Z","size":52,"stargazers_count":10,"open_issues_count":0,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-02T11:51:28.178Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://confident-goldwasser-1f7161.netlify.com/","language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thheller.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2019-02-02T19:29:31.000Z","updated_at":"2022-03-15T14:37:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"58977a62-3570-44b7-96a9-52d852c3a550","html_url":"https://github.com/thheller/netlify-cljs","commit_stats":{"total_commits":5,"total_committers":1,"mean_commits":5.0,"dds":0.0,"last_synced_commit":"4cdfa54373f964ff1b63627e5750b18df5ca36ba"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/thheller/netlify-cljs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thheller%2Fnetlify-cljs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thheller%2Fnetlify-cljs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thheller%2Fnetlify-cljs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thheller%2Fnetlify-cljs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thheller","download_url":"https://codeload.github.com/thheller/netlify-cljs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thheller%2Fnetlify-cljs/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267743919,"owners_count":24137705,"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-07-29T02:00:12.549Z","response_time":2574,"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-10-08T15:05:31.728Z","updated_at":"2025-07-29T19:34:40.112Z","avatar_url":"https://github.com/thheller.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# netlify-cljs\r\n\r\nTest project using `shadow-cljs` to deploy using `netlify` automatic deploys via github.\r\n\r\nCurrently deployed to:\r\nhttps://confident-goldwasser-1f7161.netlify.com/\r\n\r\nDuring development, start shadow-cljs in server mode and either use http://localhost:9630 to control builds or use additional terminals.\r\n\r\n```\r\nnpm install\r\nnpx shadow-cljs server\r\n```\r\n\r\nBackend only really supports compile/release. watch is probably not gonna be all that reliable, didn't look further into it yet. The netlify-lambda util probably needs to be restarted when the lambda code is recompiled.\r\n```\r\n# different terminal\r\nnpx shadow-cljs compile lambda\r\nnpx netlify-lambda serve functions\r\n```\r\n\r\nFrontend can be development like normal. The built-in dev http server will proxy the function request to the running `netlify-lambda` process.\r\n\r\n```\r\n# different terminal\r\nnpx shadow-cljs watch frontend\r\nopen http://localhost:6500\r\n```\r\n\r\n## Notes\r\n\r\nEverything builds fine on its own but `netlify` currently only caches `.m2` dependencies if a `project.clj` or `build.boot` file is found. We can work without cache but it makes the builds a bit slower if all the deps downloaded each time.\r\n\r\nThere doesn't seem to be a way to tell `netlify` to cache `.shadow-cljs/builds` so incremental builds are not supported and everything will always recompile from scratch. A typical deploy on this very simple project takes about 2 minutes.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthheller%2Fnetlify-cljs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthheller%2Fnetlify-cljs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthheller%2Fnetlify-cljs/lists"}