Skip to content

After years of issues with CLPCR, the headache is finally gone. No need for heavy personal computing or paying for global connectivity—make it free!

License

Notifications You must be signed in to change notification settings

Lee020/ConnectLinuxPCRemotely-CLPCR-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ConnectLinuxPCRemotely-CLPCR-

After years of struggling with CLPCR, relief finally comes, but the real question is: Do we need to rely on high personal computing power or pay for global connectivity? The answer is no. Instead, we should be able to build our own powerful PC as a globally accessible server, ensuring complete privacy of life and data. Big LLMs are often trained on publicly scraped data, including licensed content and personal blogs, but user interactions and private data are excluded unless explicitly shared. However, social media and big data carriers often have confusing privacy policies that users don’t fully read, leaving them vulnerable. The goal is to empower individuals to take control over their own data and privacy by setting up their own servers, not relying on centralized systems that profit off our data without full transparency.

AIM:This project starts with a simple, tested flow to make your PC globally accessible, then transitions into a privacy-focused goal of migrating from proprietary to open-source systems. By hosting your own services and using open-source tools, you regain control of your data and reduce reliance on centralized, commercial platforms.

components: 1)ngrok-freetire 2)ttyd ->Linux Package 3)Gmail App password 4)APP.py file.

Remote Access Setup

  1. ngrok

INSTALLATION

curl -sSL https://ngrok-agent.s3.amazonaws.com/ngrok.asc
| sudo tee /etc/apt/trusted.gpg.d/ngrok.asc >/dev/null
&& echo "deb https://ngrok-agent.s3.amazonaws.com bookworm main"
| sudo tee /etc/apt/sources.list.d/ngrok.list
&& sudo apt update
&& sudo apt install ngrok

CONFIGURATION

ngrok config add-authtoken

START SERVING

ngrok http 9988

  1. ttyd

INSTALLATION

sudo apt install ttyd

START SERVING

ttyd -p 9988 bash

  1. Create SMTP Server to Send ngrok URL via Mail

a) Create file ".msmtprc" in home directory and add lines

defaults auth on tls on tls_trust_file /etc/ssl/certs/ca-certificates.crt logfile ~/.msmtp.log

account gmail host smtp.gmail.com port 587 from example@gmail.com user example@gmail.com password password

account default : gmail

b) Place files in Home directory

  • app.py
  • ttyd-ngrok-gmail.sh

Change permission to executable mode.

c) Make app.py as system service

sudo nano /etc/systemd/system/app.service

[Unit] Description=App2 Python Service After=network.target [Service] Type=simple ExecStart=/usr/bin/python3 /home/path/app2.py WorkingDirectory=/home/path Restart=on-failure User=user_name Environment=PYTHONUNBUFFERED=1 [Install] WantedBy=multi-user.target


How to Use

  1. Send mail message "trigger" to mail configured in app.py
  2. After some time you will get URL reply from your system to your Gmail
  3. Use that URL to access your PC globally

Targets

  1. Replacement for ngrok service with open source tunneling service
  2. Development of VS Code plugin
  3. Android application for secure remote connection

Your contribution makes connectivity free, easy, and fast.

About

After years of issues with CLPCR, the headache is finally gone. No need for heavy personal computing or paying for global connectivity—make it free!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published