Skip to content

1337Xcode/localhost

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Localhost

A production-grade, decentralized portfolio hosting system using Tor hidden service and Kademlia DHT-based P2P CDN.

Features

  • Dynamic Configuration: Automatically detects installation path.
  • Tor Hidden Service (v3): Anonymous, secure hosting.
  • Kademlia DHT: Distributed peer discovery.
  • P2P CDN: WebRTC-based asset delivery.
  • Resource Optimized: <150MB RAM, battery-aware.

Prerequisites

  • Android Device with Termux.
  • Packages: tor, nginx, nodejs-lts.

Installation

  1. Copy Project: Place the project folder anywhere in Termux (e.g., ~/localhost).

  2. Install Dependencies:

    chmod +x scripts/*.sh
    ./scripts/install-deps.sh

Usage

Start

./scripts/start.sh

This will:

  • Generate nginx.conf with correct paths.
  • Start Tor and Nginx.
  • Display your .onion address.

Stop

./scripts/stop.sh

Status

./scripts/status.sh

Directory Structure

  • config/: Config templates.
  • www/: Static website (place your site build here).
  • scripts/: Management scripts.

About

A decentralized portfolio hosting system using just your Android device on TOR

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published