Coder Social home page Coder Social logo

vaginessa / files Goto Github PK

View Code? Open in Web Editor NEW

This project forked from eyedeekay/files

0.0 0.0 0.0 4.77 GB

Sets up a mirror of I2P releases, this one corresponds to https://eyedeekay.github.io/files

Home Page: https://eyedeekay.github.io/files

License: The Unlicense

Shell 2.47% Standard ML 1.55% CSS 3.40% HTML 92.58%

files's Introduction

git clone i2p-release-mirror

This repository holds a complete copy of all the I2P Desktop releases, making it possible to set up a complete mirror of the I2P releases by cloning it into the document root of a web server.

For example, In the case an I2P user install, it allows you to automatically mirror the whole I2P release repository inside I2P with a single command:

git clone https://github.com/eyedeekay/files $HOME/.i2p/eepsite/docroot/files

Or, for a Debian-style operating system with a package install:

sudo -u i2psvc git clone https://github.com/eyedeekay/files /var/lib/i2p/i2p-config/eepsite/docroot/files

It can also be cloned and mirrored automatically with eephttpd, using the terminal:

eephttpd -b https://github.com/eyedeekay/files

or the GUI:

eephttpd

or using Docker:

	docker rm -f i2p.release-mirror; true
	docker run -i -t -d \
		--env samhost="localhost" \
		--env samport=7656 \
		--env args="-r -p 7674 -n eephttpd-release-mirror" \
		--network host \
		--hostname i2p.release-mirror \
		--name i2p.release-mirror \
		--restart always \
		--volume eephttpd-release-mirror:/opt/eephttpd \
		--volume $PWD:/opt/eephttpd/www \
		eyedeekay/eephttpd

You can also seed torrents of each of the directories, by copying the content of ./releases to your i2psnark directory. Simply:

cp -rv releases/* $HOME/.i2p/i2psnark/

and start the torrents you want to seed.

Adapt these examples to the web server of your choice to instantly mirror all the I2P software.

scripts

You can also use the scripts to generate a mirror of I2P releases without cloning the repository from github.

To do this, first download and check in all the files to your mirror using the ./mirror.sh script with no arguments. Then, run the ./pregenerate.sh script with no arguments to generate the index files which turn a Github Page(or static server of any type) into a pseudo-open directory. If you are serving an open directory, skip the second step.

files's People

Contributors

eyedeekay avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.