{"id":13646109,"url":"https://github.com/emacs-china/elpa","last_synced_at":"2025-05-15T06:31:35.315Z","repository":{"id":88532870,"uuid":"58060686","full_name":"emacs-china/elpa","owner":"emacs-china","description":"Emacs China ELPA 镜像","archived":false,"fork":false,"pushed_at":"2022-06-29T00:31:00.000Z","size":1256,"stargazers_count":155,"open_issues_count":4,"forks_count":15,"subscribers_count":16,"default_branch":"gh-pages","last_synced_at":"2025-04-03T05:11:14.253Z","etag":null,"topics":["elpa","emacs","emacs-packages"],"latest_commit_sha":null,"homepage":"https://elpamirror.emacs-china.org/","language":"CSS","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/emacs-china.png","metadata":{"files":{"readme":"README.org","changelog":null,"contributing":"CONTRIBUTING.org","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2016-05-04T14:55:59.000Z","updated_at":"2025-01-30T10:12:48.000Z","dependencies_parsed_at":"2023-07-22T23:30:22.411Z","dependency_job_id":"cea5e189-a62b-42fe-a123-8f22517caf7f","html_url":"https://github.com/emacs-china/elpa","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emacs-china%2Felpa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emacs-china%2Felpa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emacs-china%2Felpa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emacs-china%2Felpa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/emacs-china","download_url":"https://codeload.github.com/emacs-china/elpa/tar.gz/refs/heads/gh-pages","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254288203,"owners_count":22045862,"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":["elpa","emacs","emacs-packages"],"created_at":"2024-08-02T01:02:48.634Z","updated_at":"2025-05-15T06:31:34.207Z","avatar_url":"https://github.com/emacs-china.png","language":"CSS","funding_links":[],"categories":["CSS"],"sub_categories":[],"readme":"* =elpa-mirror=\n\nMirrors for some Emacs package archives. These mirrors should be used only when\nofficial repository is temporarily down. Maintained using [[https://github.com/d12frosted/mirror-elpa][mirror-elpa]].\n\n** Usage - GitHub\n\nJust setup =package-archives= in your =init.el= file.\n\n#+BEGIN_SRC emacs-lisp\n  (setq package-archives\n        '((\"melpa\" . \"https://raw.githubusercontent.com/d12frosted/elpa-mirror/master/melpa/\")\n          (\"org\"   . \"https://raw.githubusercontent.com/d12frosted/elpa-mirror/master/org/\")\n          (\"gnu\"   . \"https://raw.githubusercontent.com/d12frosted/elpa-mirror/master/gnu/\")))\n#+END_SRC\n\n** Usage - GitLab\n\nJust setup =package-archives= in your =init.el= file.\n\n#+BEGIN_SRC emacs-lisp\n  (setq package-archives\n        '((\"melpa\" . \"https://gitlab.com/d12frosted/elpa-mirror/raw/master/melpa/\")\n          (\"org\"   . \"https://gitlab.com/d12frosted/elpa-mirror/raw/master/org/\")\n          (\"gnu\"   . \"https://gitlab.com/d12frosted/elpa-mirror/raw/master/gnu/\")))\n#+END_SRC\n\n** Usage - Local\n\nFirst, you need to clone this repository.\n\n#+BEGIN_SRC bash\n  $ git clone --depth 1 git@gitlab.com:d12frosted/elpa-mirror.git ~/.elpa-mirror\n#+END_SRC\n\nAnd then setup =package-archives= in your =init.el= file.\n\n#+BEGIN_SRC emacs-lisp\n  (setq package-archives\n        `((\"melpa\" . ,(concat user-home-directory \".elpa-mirror/melpa/\"))\n          (\"org\"   . ,(concat user-home-directory \".elpa-mirror/org/\"))\n          (\"gnu\"   . ,(concat user-home-directory \".elpa-mirror/gnu/\"))))\n#+END_SRC\n\n** Usage with Spacemacs\n\nTo use =elpa-mirror= with Spacemacs, you need to modify\n=configuration-layer-elpa-archives=. To do so, just add following code to the\n=dotspacemacs/init= function.\n\n#+BEGIN_SRC emacs-lisp\n  ;; remote\n  (setq configuration-layer-elpa-archives\n        '((\"melpa\" . \"https://raw.githubusercontent.com/d12frosted/elpa-mirror/master/melpa/\")\n          (\"org\"   . \"https://raw.githubusercontent.com/d12frosted/elpa-mirror/master/org/\")\n          (\"gnu\"   . \"https://raw.githubusercontent.com/d12frosted/elpa-mirror/master/gnu/\")))\n\n  ;; local\n  (setq configuration-layer-elpa-archives\n        `((\"melpa\" . ,(concat user-home-directory \".elpa-mirror/melpa/\"))\n          (\"org\"   . ,(concat user-home-directory \".elpa-mirror/org/\"))\n          (\"gnu\"   . ,(concat user-home-directory \".elpa-mirror/gnu/\"))))\n#+END_SRC\n\nFor more grained control over =package-archives= (e. g. if you wish to use\nmirror only when one of the official repositories is down) checkout how it's\nimplemented in Spacemacs.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femacs-china%2Felpa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femacs-china%2Felpa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femacs-china%2Felpa/lists"}