{"id":23410903,"url":"https://github.com/spl/lean-emacs-server-docker","last_synced_at":"2026-01-21T14:35:28.178Z","repository":{"id":66389242,"uuid":"51351970","full_name":"spl/lean-emacs-server-docker","owner":"spl","description":"Lean prover with Emacs and lean-mode as a server on a minimal Docker image","archived":false,"fork":false,"pushed_at":"2016-02-09T07:13:06.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-09T03:43:13.214Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Emacs Lisp","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/spl.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":"2016-02-09T07:11:08.000Z","updated_at":"2016-02-09T07:13:08.000Z","dependencies_parsed_at":"2023-03-13T20:29:50.105Z","dependency_job_id":null,"html_url":"https://github.com/spl/lean-emacs-server-docker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/spl/lean-emacs-server-docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spl%2Flean-emacs-server-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spl%2Flean-emacs-server-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spl%2Flean-emacs-server-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spl%2Flean-emacs-server-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spl","download_url":"https://codeload.github.com/spl/lean-emacs-server-docker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spl%2Flean-emacs-server-docker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28634843,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T04:47:28.174Z","status":"ssl_error","status_checked_at":"2026-01-21T04:47:22.943Z","response_time":86,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-12-22T17:53:18.670Z","updated_at":"2026-01-21T14:35:28.161Z","avatar_url":"https://github.com/spl.png","language":"Emacs Lisp","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lean with Emacs and lean-mode as a server in Docker\n\n**NOTE!** _This is a work in progress. See below._\n\nA [Dockerfile](Dockerfile) that builds [Lean](https://leanprover.github.io/)\nfrom the [repository](https://github.com/leanprover/lean) and installs [GNU\nEmacs](https://www.gnu.org/software/emacs/) with\n[`lean-mode`](https://github.com/leanprover/lean/blob/master/src/emacs/README.md)\nand runs it as a server on a minimal [Alpine\nLinux](https://www.alpinelinux.org/) container.\n\nThis `Dockerfile` runs Emacs as a server using `(server-start)`.\n\nTo build and start it, run:\n\n```\n$ docker build .\n$ docker run -it -p 7734:7734 --rm -v $PWD/tmp:/server \u003cimage-hash\u003e\n```\n\nHere, we're using a local directory `$PWD/tmp` created to be the location where\nEmacs will save its server file.\n\nTo connect to it as a client, run:\n\n```\n$ emacsclient -f $PWD/tmp/server -e '(* 6 7)'\n```\n\nHere, we're referencing the server file `$PWD/tmp/server` created by Emacs.\n(Note that it must be an absolute path.)\n\nUnfortunately, whenever I try something other than `-e` such as opening a file\nor creating a new frame (`-c`), the server crashes:\n\n```\nFatal error 11: Segmentation violation\n```\n\nI haven't been able to figure out why. Any help is appreciated.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspl%2Flean-emacs-server-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspl%2Flean-emacs-server-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspl%2Flean-emacs-server-docker/lists"}