Skip to content

resin.io based access point providing a mirror of some websites

Notifications You must be signed in to change notification settings

ElpisSolar/resin-internet-mirror

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 

Repository files navigation

resin-internet-mirror

This is a resin.io application. Beside installing the required software and configuration for the access point, the Dockerfile.template also downloads a list of websites recursively. The websites then get served on a webserver.

Content

The main webserver is running on port 80, serving the following:

  • /www contains mirrored websites
  • /zim serves raw zim data for download
  • /kiwix serves raw kiwix index and library
  • / redirects to /www/elpissite.weebly.com/

Other services:

  • kiwix webserver on port 8080, serving zim files like wikipedia
  • ka-lite on port 8008

Zim files can be added by editing ZIMS, sites by editing SITES in Dockerfile.template.

For a list of available ZIM files, see the kiwix wiki. Use the filename from the "Non-indexed ZIM" URLs.

Configuration

To set the ka-lite admin account (username = admin), the following environment variables need to be set:

  • KA_EMAIL
  • KA_PASSWORD

Without these, ka-lite will ask to create a admin account when first started.

Development

Run make to build a local docker image. It can run locally by executing:

docker run -p 8080:80 resin-internet-mirror

And open http://localhost:8080 in your browser.

About

resin.io based access point providing a mirror of some websites

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published