OvermindDL1

OvermindDL1

It was stated at elixir-lang.org blocked in Russia · Issue #6172 · elixir-lang/elixir · GitHub that Mirrors of the primary Elixir website would be useful since Cloudflare and Fastly have so many issues in so many situations (the situation above is Cloudflare being blocked in Russia), so I set up a mirror. It should sync up at least once a day or so (cron job) but I’d love if the normal Elixir site could just push to it directly (SSH key over SFTP is simple to do), but this should work for now. Feel free to use it if anyone needs it. If anyone else hosts any mirrors then note it here as I’ll make this top post a Wiki entry. :slight_smile:

http://elixir-lang-mirror.forum.elixirforum.com/

Showing Posts 1 to 7

AstonJ

AstonJ

http://elixir-lang-mirror.forum.elixirforum.com :003:

However note it isn’t on https and I’ve not automated the updating of it yet.

Edit: now updates three times a day :023:

OvermindDL1

OvermindDL1 OP

Woot! The more the better! :smiley:

I use Let’s Encrypt to automate SSL on all of my sites (couple hundred at this point), well worth it. :slight_smile:

Updating it should be as simple as tossing in to a shell script and crontab’ing it, I can offer my script if you want, but I’m using rbenv to keep ruby out of my main system (yick). ^.^

Qqwy

Qqwy

TypeCheck Core Team

On a related note: Are there mirrors for Hex available? And is it possible to configure Hex/Mix to look at a different location for dependency resolution?

ericmj

ericmj

Elixir Core Team

Yes: Mirrors | Hex. Run mix help hex.repo for docs.

AstonJ

AstonJ

Ok the Elixirforum.com mirror is now automatically updated three times a day :023:

If anyone wants the bashscript I am using it is:

#!/bin/bash
cd /path/to/your/elixir-lang.github.com/directory
git pull
jekyll b
rm -rf /path/to/where/you/serve/the/mirror/from/public_html/*
mv /path/to/your/elixir-lang.github.com/directory/_site/* /path/to/where/you/serve/the/mirror/from/public_html/

@OvermindDL1 I use letsencrypt as well, but have never used it on a sub-domain before - I use HAProxy on the front end and Discourse uses Docker (so unusual set-up) and didn’t want to risk any probs with the forum :lol: is https a must just for the mirror which is a static site? I would think http is fine as there’s no log-in, etc?

If there is a simple/easy way to mirror Hex docs I’m happy to do that as well :slight_smile:

OvermindDL1

OvermindDL1 OP

I’m of the opinion that https is mandatory everywhere, personally. ^.^
I automated that asap when Let’s Encrypt came out.

I’d like to know too, I have more than enough space so I could mirror it as well. Hex.pm too.

ericmj

ericmj

Elixir Core Team

The easiest way would be to set up an HTTP proxy. You can also traverse the API and download the doc tarballs for every release. specifications/apiary.apib at main · hexpm/specifications · GitHub

— All posts loaded —

Where Next? Top

Trending in Wikis Top

Other Trending Topics Top

JesseHerrick
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
garrison
Hobbes is a low-level distributed database for the Elixir programming language. Hobbes provides a simple, safe, and scalable storage lay...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
mcass19
ExRatatui lets you cook up rich terminal UIs in Elixir, powered by Rust’s ratatui via Rustler NIFs. Build interactive terminal applicatio...
New
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
Damirados
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve. They are GUI (Emerge) and State management (S...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews