GithubHelp home page GithubHelp logo

2lifetop / als Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wikihost-opensource/als

0.0 1.0 0.0 53.17 MB

Another Looking-glass Server

License: MIT License

Shell 1.25% JavaScript 9.44% Go 39.40% CSS 0.13% HTML 0.46% Vue 48.24% Dockerfile 1.09%

als's Introduction

docker image build

Language: English | 简体中文

ALS - Another Looking-glass Server

Quick start

docker run -d --name looking-glass --restart always --network host wikihostinc/looking-glass-server

DEMO

If you don't want to use Docker , you can use the compiled server

Host Requirements

  • RAM: 32MB or more

How to change config

# you need pass -e KEY=VALUE to docker command
# you can find the KEY below the [Image Environment Variables]
# for example, change the listen port to 8080
docker run -d \
    --name looking-glass \
    -e HTTP_PORT=8080 \
    --restart always \
    --network host \
    wikihostinc/looking-glass-server

Environment variable table

Key Example Default Description
LISTEN_IP 127.0.0.1 (all ip) which IP address will be listen use
HTTP_PORT 80 80 which HTTP port should use
SPEEDTEST_FILE_LIST 100MB 1GB 1MB 10MB 100MB 1GB size of static test files, separate with space
LOCATION "this is location" (request from http://ipapi.co) location string
PUBLIC_IPV4 1.1.1.1 (fetch from http://ifconfig.co) The IPv4 address of the server
PUBLIC_IPV6 fe80::1 (fetch from http://ifconfig.co) The IPv6 address of the server
DISPLAY_TRAFFIC true true Toggle the streaming traffic graph
ENABLE_SPEEDTEST true true Toggle the speedtest feature
UTILITIES_PING true true Toggle the ping feature
UTILITIES_SPEEDTESTDOTNET true true Toggle the speedtest.net feature
UTILITIES_FAKESHELL true true Toggle the HTML Shell feature
UTILITIES_IPERF3 true true Toggle the iperf3 feature
UTILITIES_IPERF3_PORT_MIN 30000 30000 iperf3 listen port range - from
UTILITIES_IPERF3_PORT_MAX 31000 31000 iperf3 listen port range - to
SPONSOR_MESSAGE "Test message" or "/tmp/als_readme.md" or "http://some_host/114514.md" '' Show server sponsor message (support markdown file, required mapping file to container)

Features

  • HTML 5 Speed Test
  • Ping - IPv4 / IPv6
  • iPerf3 server
  • Streaming traffic graph
  • Speedtest.net Client
  • Online shell box (limited commands)
  • NextTrace Support

Thanks to

https://github.com/librespeed/speedtest

https://www.jetbrains.com/

License

Code is licensed under MIT Public License.

  • If you wish to support my efforts, keep the "Powered by WIKIHOST Opensource - ALS" link intact.

Star History

Star History Chart

als's People

Contributors

samlm0 avatar code-factor avatar max-sum avatar dependabot[bot] avatar tsosunchia avatar unknown-0054 avatar upbeat-backbone-bose avatar

Watchers

 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.