/leninec

Primary LanguagePythonGNU Affero General Public License v3.0AGPL-3.0

Interactive interpreter for Syberian Leninec II

DeepSource

DeepSource

GitHub code size in bytes GitHub repo size License Forks Stars Code Style: Black

demo

Installation

Docker

docker run --name leninec -d -p 2931:2931 ghcr.io/hikariatama/leninec:latest

Manual

git clone https://github.com/hikariatama/leninec
cd leninec
pip install -r requirements.txt
cd server
uvicorn app:app --host 0.0.0.0 --port 2931

Proxy-passing

In order for websockets to works correctly, copy the following router config to your server:

    location /ws {
        proxy_pass http://127.0.0.1:2931;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "upgrade";
        proxy_read_timeout 86400;
    }