GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Butterroach/lost: A hosts file manager for Linux.

BranchesTags
Open more actions menu

Latest commit

 

History

18 Commits
18 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
Lost.pyproject
Lost.pyproject
 
 
README.md
README.md
 
 
README_LOCAL.md
README_LOCAL.md
 
 
app.py
app.py
 
 
form.ui
form.ui
 
 
logo.png
logo.png
 
 
requirements.txt
requirements.txt
 
 
test_hosts_validation.py
test_hosts_validation.py
 
 
validateHosts.py
validateHosts.py
 
 

Repository files navigation

Lost

Code style: black CodeQL test python

Lost is a lightweight Linux hosts manager made in Python and QT6.

Features

  • You can add sources
  • You can update your sources
  • You can remove your sources
  • ...that's pretty much all you need (no it doesn't include auto updating that's stupid!!! you shouldn't leave updates of stuff like that unattended!!! who wants broken internet cuz that one program you installed 2 weeks ago went rogue????)

How to install

  1. Download the source code of the latest release. Do NOT download the repo as a zip or git clone.
  2. Extract the archive into a directory.
  3. Go into the directory with a terminal.
  4. Create a venv: python3 -m venv .venv.
  5. Activate the venv: source .venv/bin/activate.
  6. Make sure to unset any aliases that take the name pip, python, python3, etc.. (unalias pip, unalias python, unalias python3, etc..)
  7. Install the requirements: pip install -r requirements.txt. This'll take a bit. Make sure you got good internet.
  8. Run pyside6-uic form.ui -o ui_form.py to generate ui_form.py.

You're done installing.

How to run

sudo .venv/bin/python app.py

Lost needs root to run. Don't run it without sudo.

How to update

Just download the source code of the latest release, extract into a new dir, and move the .venv folder from the old dir to the new one.

You can delete the old dir after confirming the new version works.

How to contribute

Fork the repo and make your changes! (Make sure you can Git and code Python)

For changing the UI: Use Design mode in QT Creator (open the form.ui file).

For changing the code: QT Creator is terrible for Python. Use VS Code instead of QT Creator.

After doing whatever you did, open a pull request with a detailed changelog of what you did. I'll review it.

Btw, PLEASE have clear commit messages!!!!

License

Lost is licensed under the GNU GPL v3, or (at your option) any later version. See the LICENSE file for more info.

About

A hosts file manager for Linux.

Topics

dnshostshosts-filehosts-managerhostsfilelinuxpypysidepyside6pythonpython3qtqt-appqt-for-pythonqt6qt6-appunix

Resources

Readme
GPL-3.0 license
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.