{"id":28410732,"url":"https://github.com/nrepl/nrepl-java-example","last_synced_at":"2025-06-25T03:31:42.067Z","repository":{"id":56687304,"uuid":"213408815","full_name":"nrepl/nrepl-java-example","owner":"nrepl","description":"A simple example of embedding nREPL in a Java application","archived":false,"fork":false,"pushed_at":"2021-09-04T05:45:04.000Z","size":9,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-06-14T00:29:58.898Z","etag":null,"topics":["clojure","java","nrepl"],"latest_commit_sha":null,"homepage":"","language":"Java","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/nrepl.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}},"created_at":"2019-10-07T14:41:33.000Z","updated_at":"2023-04-14T23:14:30.000Z","dependencies_parsed_at":"2022-08-15T23:20:27.536Z","dependency_job_id":null,"html_url":"https://github.com/nrepl/nrepl-java-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nrepl/nrepl-java-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nrepl%2Fnrepl-java-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nrepl%2Fnrepl-java-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nrepl%2Fnrepl-java-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nrepl%2Fnrepl-java-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nrepl","download_url":"https://codeload.github.com/nrepl/nrepl-java-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nrepl%2Fnrepl-java-example/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260756224,"owners_count":23057898,"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","java","nrepl"],"created_at":"2025-06-02T12:38:01.187Z","updated_at":"2025-06-25T03:31:42.055Z","avatar_url":"https://github.com/nrepl.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nREPL Java Example\n\nThis project contains a simple example of how to embed [nREPL](https://github.com/nrepl/nrepl) into a Java application.\n\n## Requirements\n\n- [Maven](https://maven.apache.org/)\n- [Clojure CLI](https://clojure.org/guides/getting_started)\n\n## How To Use\n\nOpen a terminal and run:\n\n    mvn compile clojure:compile exec:java\n\nYou should see a message saying that nrepl is started on port 7888. Next, open another terminal and run:\n\n    clj -Sdeps '{:deps {nrepl {:mvn/version \"0.8.3\"}}}' -M -m nrepl.cmdline --connect --host localhost --port 7888\n\nThis will create a client connection to the nrepl server.\n\nOnce connected, you can interact with the running application via the Clojure REPL. Some things to try:\n\n- `(.shutdown org.nrepl.App/instance)` will shutdown the nrepl server (and disconnect your client)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnrepl%2Fnrepl-java-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnrepl%2Fnrepl-java-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnrepl%2Fnrepl-java-example/lists"}