{"id":15010290,"url":"https://github.com/apossiblespace/parts","last_synced_at":"2025-05-13T03:30:44.898Z","repository":{"id":251928228,"uuid":"838870328","full_name":"apossiblespace/parts","owner":"apossiblespace","description":"🌀 A parts mapping tool for IFS practitioners and their clients","archived":false,"fork":false,"pushed_at":"2025-05-12T14:31:55.000Z","size":1119,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-12T15:51:26.742Z","etag":null,"topics":["clojure","clojurescript","ifs","internal-family-systems","mentalhealth"],"latest_commit_sha":null,"homepage":"https://parts.ifs.tools","language":"Clojure","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/apossiblespace.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-08-06T14:00:12.000Z","updated_at":"2025-05-12T14:31:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"5af58ad7-a1b2-4cd5-8e3a-4733c9922f61","html_url":"https://github.com/apossiblespace/parts","commit_stats":null,"previous_names":["apossiblespace/parts"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apossiblespace%2Fparts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apossiblespace%2Fparts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apossiblespace%2Fparts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apossiblespace%2Fparts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/apossiblespace","download_url":"https://codeload.github.com/apossiblespace/parts/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253867315,"owners_count":21976202,"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":["clojure","clojurescript","ifs","internal-family-systems","mentalhealth"],"created_at":"2024-09-24T19:33:23.888Z","updated_at":"2025-05-13T03:30:44.881Z","avatar_url":"https://github.com/apossiblespace.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp\u003e\n  \u003cimg src=\"https://raw.github.com/apossiblespace/parts/main/resources/public/images/parts-logo-horizontal.svg\" alt=\"Parts Logo\"/\u003e\n\u003c/p\u003e\n\n-----\n\n[![Clojure CI](https://github.com/apossiblespace/parts/actions/workflows/all-tests.yaml/badge.svg)](https://github.com/apossiblespace/parts/actions/workflows/all-tests.yaml)\n[![License GPL 3][badge-license]](http://www.gnu.org/licenses/gpl-3.0.txt)\n\n## About\n\n[Parts](https://parts.ifs.tools) is a toolkit for therapists working with the [Internal Family Systems model](https://en.wikipedia.org/wiki/Internal_Family_Systems_Model). It provides a tool for easy, collaborative parts mapping, which can be used to facilitate conversations with clients during sessions.\n\n## Development\n\nBefore starting development, install dependencies with:\n\n```shell\nmake deps\n```\n\nThis will install both the Clojure and the NPM dependencies required.\n\n### Run Clojure REPL\n\n```shell\nmake repl\n```\n\nThis will start a Clojure REPL that includes shadow-cljs (which we use to build our frontend). When we connect to this from CIDER (with `cider-connect-clj`), the `dev/repl` namespace will be automatically loaded.\n\nFrom that namespace:\n\n- The app server can be (re)started with `(go)`. This will also start the `shadow-cljs` process for building the frontend and watching for changes.\n- We can switch to the ClojureScript REPL with `(cljs-repl)`\n- Use `:cljs/quit` to return to the Clojure REPL\n\n### Build CSS\n\n```shell\nmake css-watch\n```\n\nThis will start PostCSS to watch for changes in `resources/styles/*.css`.\n\n### Unit tests\n\nRun unit tests of the service using the kaocha test runner\n\n```shell\nmake test\n```\n\n\u003e If additional libraries are required to support tests, add them to the `:test/env` alias definition in `deps.edn`\n\n`make test-watch` will run tests on file save, stopping the current test run on the first failing test.  Tests will continue to be watched until `Ctrl-c` is pressed.\n\n## Deployment\n\nWe use Kamal to deploy a Docker container that will run the uberjar built with `make dist`.\n\nMake sure that the `KAMAL_REGISTRY_PASSWORD` env var is exported so that the deploy can work.\n\nAlso edit config/deploy.yml to ensure it matches your setup. See the [Kamal docs](https://kamal-deploy.org/docs/installation/).\n\n### Build and test locally\n\nIt’s possible to build an uberjar and run it locally to test before deploying:\n\n```shell\nmake dist \u0026\u0026 make run-dist\n```\n\n### Deploy\n\nA deployment can be started via:\n\n```shell\n# Always run tests before deploying\nmake test \u0026\u0026 make deploy\n```\n\n## License\n\nCopyright © 2025 Gosha Tcherednitchenko / A Possible Space Ltd\n\n[The GNU General Public License v3](https://www.gnu.org/licenses/gpl.html)\n\n[badge-license]: https://img.shields.io/badge/license-GPL_3-green.svg\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapossiblespace%2Fparts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapossiblespace%2Fparts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapossiblespace%2Fparts/lists"}