https://github.com/justintime50/myelpa
Personal ELPA mirror of installed Emacs packages.
https://github.com/justintime50/myelpa
clone elpa emacs melpa mirror myelpa package personal
Last synced: about 1 month ago
JSON representation
Personal ELPA mirror of installed Emacs packages.
- Host: GitHub
- URL: https://github.com/justintime50/myelpa
- Owner: Justintime50
- Archived: true
- Created: 2021-11-17T07:33:41.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-08-24T20:02:20.000Z (over 3 years ago)
- Last Synced: 2025-01-31T11:35:52.721Z (10 months ago)
- Topics: clone, elpa, emacs, melpa, mirror, myelpa, package, personal
- Homepage:
- Size: 1.47 MB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MyELPA (Personal Emacs Package Mirror)
Due to a series of unfortunate events, installing packages from `MELPA` doesn't work on my work Emacs instance (Emacs doesn't use openssl and throws TLS errors, can't build the newest version of Emacs on our OS, etc).
Here is the collection of `*.el` package files (including dependencies) combined into archives which can be manually installed into `~/.emacs.d/packages` by cloning this repo or by importing this mirror to your list of `package-archives` to install via the package manager.
## Usage
### Use Mirror
To gain access to this mirror, add the mirror reference to your `package-archives` in your `~/.emacs` file, a basic config may look like this:
```lisp
(require 'package)
(setq package-archives '(("melpa" . "https://melpa.org/packages/")
("myelpa" . "https://raw.githubusercontent.com/Justintime50/myelpa/main/src/")))
(package-initialize)
```
Then run the following to refresh your package list with the packages from the mirror:
```lisp
M-x package-refresh-contents
```
### Create and Update the Mirror
Use the following tool to craft the mirror locally (must be done from an Emacs instance that can install packages - as is the case on my personal machine.)
Tool GitHub:
```bash
mkdir -p ~/myelpa && emacs --batch -l ~/.emacs -l ~/.emacs.d/elpa-mirror.el --eval='(setq elpamr-default-output-directory "~/myelpa")' --eval='(elpamr-create-mirror-for-installed)'
```