{"id":13760526,"url":"https://github.com/tetigi/unearthing-clojurescript","last_synced_at":"2025-10-20T11:49:55.009Z","repository":{"id":48652064,"uuid":"145212132","full_name":"tetigi/unearthing-clojurescript","owner":"tetigi","description":"A selection of clojurescript / reagent examples","archived":false,"fork":false,"pushed_at":"2021-07-15T18:47:27.000Z","size":12,"stargazers_count":28,"open_issues_count":0,"forks_count":5,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-08-31T15:37:09.267Z","etag":null,"topics":["clojurescript","react","reagent","toptal"],"latest_commit_sha":null,"homepage":null,"language":"Clojure","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/tetigi.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":"2018-08-18T10:47:11.000Z","updated_at":"2024-04-25T18:32:48.000Z","dependencies_parsed_at":"2022-08-27T03:23:55.834Z","dependency_job_id":null,"html_url":"https://github.com/tetigi/unearthing-clojurescript","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tetigi/unearthing-clojurescript","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tetigi%2Funearthing-clojurescript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tetigi%2Funearthing-clojurescript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tetigi%2Funearthing-clojurescript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tetigi%2Funearthing-clojurescript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tetigi","download_url":"https://codeload.github.com/tetigi/unearthing-clojurescript/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tetigi%2Funearthing-clojurescript/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280087870,"owners_count":26269717,"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-20T02:00:06.978Z","response_time":62,"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":["clojurescript","react","reagent","toptal"],"created_at":"2024-08-03T13:01:12.233Z","updated_at":"2025-10-20T11:49:54.966Z","avatar_url":"https://github.com/tetigi.png","language":"Clojure","funding_links":[],"categories":["Clojure"],"sub_categories":[],"readme":"# Unearthing Clojurescript #\n\nThis repo contains the bare minimum required to get started with a Reagent\nproject in Clojurescript, as described in [this blog post](https://www.toptal.com/clojure/clojurescript-tutorial-react-front-end). Visit https://www.toptal.com/blog and subscribe to our newsletter to read great posts!\n\n## I Just Want To Get My Hands Dirty ##\n\n- Install Leiningen: https://leiningen.org/\n- Run `lein figwheel`\n- Edit `src/cljs/unearthing-clojurescript/app.cljs` and see the results!\n\n## Places of Note\n\nThere aren't many things to actually look at here - getting started with\nClojurescript is simple and doesn't require much set-up!\n\n__project.clj__\n\nHere we have our project definition. This is specific to `leiningen`, which\nis a popular Clojure (and Clojurescript) build tool. Most things should be\nself-explanatory, especially if you have used something like Gradle before.\n\n__resources/public/index.html__\n\nThis describes the binding point for our Reagent application. Our app will\nhook into the `div` with the `id=app`. Here we also load in our generated\nJavascript (compiled from Clojurescript) and our CSS sheets.\n\n__src/cljs/unearthing-clojurescript/core.cljs__\n\nIn our `core.cljs` we have our applications starting point. Here I like\nto load our devtools and set up our environment, including binding to\nour `index.html`. We pull in our top level `app` module and start up\nreagent!\n\n__src/cljs/unearthing-clojurescript/app.cljs__\n\nFinally, we have `app.cljs`, which is where we can start building our\napplication. I like to split each component into `STYLES`, `STATE` and\n`VIEW` for our CSS, state (redux etc.) and component definitions\naccordingly, but this is just personal preference!\n\n## Commands\n\n`lein figwheel`       - start the figwheel auto-reloading server\n\n`lein cljsbuild once` - build the whole cljs project\n\n`lein clsbuild auto`  - build the whole cljs and watch for changse\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftetigi%2Funearthing-clojurescript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftetigi%2Funearthing-clojurescript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftetigi%2Funearthing-clojurescript/lists"}