{"id":14128365,"url":"https://github.com/ninrod/emacs-antiproxy","last_synced_at":"2025-06-17T05:04:22.825Z","repository":{"id":94492830,"uuid":"79338654","full_name":"ninrod/emacs-antiproxy","owner":"ninrod","description":":unlock: anti proxy/firewall setup using git repo mirrors of package archives. (local melpa)","archived":false,"fork":false,"pushed_at":"2020-03-01T17:28:15.000Z","size":12,"stargazers_count":26,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-23T02:50:21.826Z","etag":null,"topics":["emacs","firewall","local","melpa","proxy"],"latest_commit_sha":null,"homepage":"","language":null,"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/ninrod.png","metadata":{"files":{"readme":"readme.org","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,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2017-01-18T12:38:47.000Z","updated_at":"2024-08-12T16:42:27.000Z","dependencies_parsed_at":"2023-04-12T23:48:27.161Z","dependency_job_id":null,"html_url":"https://github.com/ninrod/emacs-antiproxy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ninrod/emacs-antiproxy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ninrod%2Femacs-antiproxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ninrod%2Femacs-antiproxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ninrod%2Femacs-antiproxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ninrod%2Femacs-antiproxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ninrod","download_url":"https://codeload.github.com/ninrod/emacs-antiproxy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ninrod%2Femacs-antiproxy/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260294454,"owners_count":22987622,"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":["emacs","firewall","local","melpa","proxy"],"created_at":"2024-08-15T16:01:37.006Z","updated_at":"2025-06-17T05:04:22.796Z","avatar_url":"https://github.com/ninrod.png","language":null,"funding_links":[],"categories":["Others"],"sub_categories":[],"readme":"* Setting up emacs with a local MELPA\n\n- =important note:= do check upfront if these procedures are ok within your company's security policies.\n- This is very useful when you are behind a corporate firewall or a slow proxy or even in a situation where you have no internet connection and want to hack in emacs and want to tweak your configuration.\n\n** option 1) @d12frosted elpa mirror\n*** setup\n\n  1. git clone [[https://github.com/d12frosted/elpa-mirror][d12frosted' elpa mirror]] or just put the repo inside an usb stick and place the repo in the =~/.emacs.d/mirror-elpa= folder (use the `--depth 1` option to grab just the last commit):\n  \n #+BEGIN_SRC sh\n$ git clone --depth 1 https://github.com/d12frosted/elpa-mirror.git  \n#+END_SRC\n  \n  2. place the provided =init.el= file in =~/.emacs.d=.\n  3. use the timeless and infinitely powerful editor at will.\n  \n\n*** init.el\n    #+BEGIN_SRC emacs-lisp\n      (require 'package)\n\n      (setq package-enable-at-startup nil)\n      (setq package-archives '((\"melpa\" . \"~/.emacs.d/mirror-elpa/melpa/\")\n                               (\"org\"   . \"~/.emacs.d/mirror-elpa/org/\")\n                               (\"gnu\"   . \"~/.emacs.d/mirror-elpa/gnu/\")))\n      (package-initialize)\n\n      (unless (package-installed-p 'use-package) ; Bootstrap John Wigley's `use-package'\n        (package-refresh-contents)\n        (package-install 'use-package))\n\n      (use-package evil ; this will install evil mode even without an internet connection.\n        :ensure t\n        :config\n        (evil-mode))\n    #+END_SRC\n\n*** advantages\n\n    - You now have unlimited access to all of [[http://melpa.org][melpa]], [[http://elpa.gnu.org][elpa]] and [[http://orgmode.org/][orgmode]] without having to send/receive a single network packet.\n    - this also means that instead of taking minutes do download your 100+ packages, it now takes nanoseconds.\n\n*** disadvantages\n\n    - You have to rely on @[[http://github.com/d12frosted][d12frosted]] to manually update the whole mirror. But he does a very good job at it.\n\n** option 2) Redguardtoo's elpa-mirror\n*** setup\n    1. generate your thin-mirror out of your ~/.emacs.d/elpa folder using [[https://github.com/redguardtoo/][@redguartoo's]] [[https://github.com/redguardtoo/elpa-mirror][elpa-mirror]] =elpamr-create-mirror-for-installed= command.\n    2. move this thin generated mirror to =~/.emacs.d/thin-elpa-mirror/=\n*** init.el\n\n    #+BEGIN_SRC emacs-lisp\n      (require 'package)\n      (setq package-enable-at-startup nil)\n      (setq package-archives '((\"melpa\" . \"~/.emacs.d/thin-elpa-mirror/\")))\n      (package-initialize)\n\n      (unless (package-installed-p 'use-package) ; Bootstrap John Wigley's `use-package'\n        (package-refresh-contents)\n        (package-install 'use-package))\n\n      (use-package evil ; this will install evil mode even without an internet connection.\n        :ensure t\n        :config\n        (evil-mode))\n    #+END_SRC\n\n*** advantages\n\n - The advantage is that you don't have to wait for @[[http://github.com/d12frosted][d12frosted]] to update his mirror.\n\n*** disadvantage\n\n - The disadvantage is that you are confined to the packages that you use, e.g., you can't try out new packages.\n\n* LICENSE\n\n    copyright (C) 2016-2021 - Filipe Correa Lima da Silva\n    Permission is granted to copy, distribute and/or modify this document\n    under the terms of the GNU Free Documentation License, Version 1.3\n    or any later version published by the Free Software Foundation;\n    with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.\n    A copy of the license is included in the section entitled \"GNU\n    Free Documentation License\".\n\n[[https://www.gnu.org/licenses/fdl.html#addendum][GNU Free Documentation License - 1.3]]\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fninrod%2Femacs-antiproxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fninrod%2Femacs-antiproxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fninrod%2Femacs-antiproxy/lists"}