All Projects → ninrod → emacs-antiproxy

ninrod / emacs-antiproxy

Licence: other
🔓 anti proxy/firewall setup using git repo mirrors of package archives. (local melpa)

Projects that are alternatives of or similar to emacs-antiproxy

eshell-up
Quickly go to a specific parent directory in eshell
Stars: ✭ 28 (+16.67%)
Mutual labels:  melpa
IpfsBox
a full ipfs node on android
Stars: ✭ 18 (-25%)
Mutual labels:  local
UnboundBL
🛑 DNSBL (adblock) on OPNsense with UnboundBL & Unbound DNS
Stars: ✭ 63 (+162.5%)
Mutual labels:  firewall
emacs-easy-jekyll
Emacs major mode for managing jekyll
Stars: ✭ 53 (+120.83%)
Mutual labels:  melpa
wolfram.el
Wolfram Alpha integration
Stars: ✭ 69 (+187.5%)
Mutual labels:  melpa
LightWeightMusicPlayer
a local music player
Stars: ✭ 21 (-12.5%)
Mutual labels:  local
ip-finder-cli
The official command line client for IPFinder
Stars: ✭ 11 (-54.17%)
Mutual labels:  firewall
emacs-company-dict
A port of ac-source-dictionary to company-mode, plus annotation and documentation support.
Stars: ✭ 31 (+29.17%)
Mutual labels:  melpa
easydock
Dockerize your PHP apps ;)
Stars: ✭ 52 (+116.67%)
Mutual labels:  local
PFRE
Packet Filter Rule Editor for OpenBSD/pf
Stars: ✭ 26 (+8.33%)
Mutual labels:  firewall
webhook-tunnel
A little HTTP proxy suitable to create tunnels for webhook endpoints protected behind a firewall or a VPN
Stars: ✭ 63 (+162.5%)
Mutual labels:  firewall
osx-trash
Make Emacs' delete-by-moving-to-trash do what you expect it to do on OS X.
Stars: ✭ 22 (-8.33%)
Mutual labels:  melpa
Firewall-Easy
Application allows to block Internet access to other applications / Приложение позволяет заблокировать доступ в интернет другим приложения
Stars: ✭ 41 (+70.83%)
Mutual labels:  firewall
UTMFW
UTM Firewall on OpenBSD
Stars: ✭ 104 (+333.33%)
Mutual labels:  firewall
shieldfy-php-client
The official PHP SDK for Shieldfy
Stars: ✭ 15 (-37.5%)
Mutual labels:  firewall
ansible-role-harden-linux
Ansible role for hardening Linux
Stars: ✭ 99 (+312.5%)
Mutual labels:  firewall
hover.el
Flutter tool to run hover on emacs
Stars: ✭ 38 (+58.33%)
Mutual labels:  melpa
shieldwall
zero-trust remote firewall instrumentation
Stars: ✭ 185 (+670.83%)
Mutual labels:  firewall
secret-local-storage
A wrapper around 'localStorage/sessionStorage' to provide storage encryption with libsodium
Stars: ✭ 21 (-12.5%)
Mutual labels:  local
rel
command line tool for managing personal graphs of anything and writing them to dot
Stars: ✭ 51 (+112.5%)
Mutual labels:  local

Setting up emacs with a local MELPA

  • important note: do check upfront if these procedures are ok within your company’s security policies.
  • 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.

option 1) @d12frosted elpa mirror

setup

  1. git clone 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):
$ git clone --depth 1 https://github.com/d12frosted/elpa-mirror.git  
  1. place the provided init.el file in ~/.emacs.d.
  2. use the timeless and infinitely powerful editor at will.

init.el

(require 'package)

(setq package-enable-at-startup nil)
(setq package-archives '(("melpa" . "~/.emacs.d/mirror-elpa/melpa/")
                         ("org"   . "~/.emacs.d/mirror-elpa/org/")
                         ("gnu"   . "~/.emacs.d/mirror-elpa/gnu/")))
(package-initialize)

(unless (package-installed-p 'use-package) ; Bootstrap John Wigley's `use-package'
  (package-refresh-contents)
  (package-install 'use-package))

(use-package evil ; this will install evil mode even without an internet connection.
  :ensure t
  :config
  (evil-mode))

advantages

  • You now have unlimited access to all of melpa, elpa and orgmode without having to send/receive a single network packet.
  • this also means that instead of taking minutes do download your 100+ packages, it now takes nanoseconds.

disadvantages

  • You have to rely on @d12frosted to manually update the whole mirror. But he does a very good job at it.

option 2) Redguardtoo’s elpa-mirror

setup

  1. generate your thin-mirror out of your ~/.emacs.d/elpa folder using @redguartoo’s elpa-mirror elpamr-create-mirror-for-installed command.
  2. move this thin generated mirror to ~/.emacs.d/thin-elpa-mirror/

init.el

(require 'package)
(setq package-enable-at-startup nil)
(setq package-archives '(("melpa" . "~/.emacs.d/thin-elpa-mirror/")))
(package-initialize)

(unless (package-installed-p 'use-package) ; Bootstrap John Wigley's `use-package'
  (package-refresh-contents)
  (package-install 'use-package))

(use-package evil ; this will install evil mode even without an internet connection.
  :ensure t
  :config
  (evil-mode))

advantages

  • The advantage is that you don’t have to wait for @d12frosted to update his mirror.

disadvantage

  • The disadvantage is that you are confined to the packages that you use, e.g., you can’t try out new packages.

LICENSE

copyright (C) 2016-2021 - Filipe Correa Lima da Silva Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled “GNU Free Documentation License”.

GNU Free Documentation License - 1.3

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].