Web站点选优工具 - 优化GitHub的打开速度、高效Clone

Overview

QWebSiteOptimizer - Web站点速度选优工具

Downloads GitHub forks GitHub Repo stars GitHub

在访问GitHub等网站时,DNS解析到的IP地址可能并不是最快,过慢的节点会严重影响我们的访问情况,故制作出这样的工具来进一步优化网络质量。

  • 由于该方案并非为VPN等方式进行的速度优化,以下几点需要您注意:

    1. 后续访问对应网站时仍可能需要您重新启动该程序进行优化。
    2. 优化情况取决与您的DNS配置情况以及网络本身质量,必要时请自行搜索如何修改本机DNS。
    3. 这些方式并不如专有VPN稳定,也并非科学上网,仅仅是速度优化而已。换句话就是政策不允许访问的依旧不会让您访问。
  • 目前仅提供修改Hosts方式,后续版本将增加镜像源加速功能。

本程序源码完全开源开放,默认仅优化GitHub站点,后续将提供自定义网站优化教程。

安装方式

python -m pip install qwebsite

or

python -m pip install qwebsite -i https://mirrors.bfsu.edu.cn/pypi/web/simple

使用教程

还没做GUI和镜像源优化方式,目前仅提供以下操作,勉强够用

  • 优化命令
    • Windows
    python -m qwebsite
    
    • Linux or MacOS
    sudo python -m qwebsite
    
  • 恢复命令
    • Windows[建议管理员模式运行]
    python -m qwebsite -r True
    
    • Linux or MacOS
    sudo python -m qwebsite -r True
    

开源协议

本项目使用GNU General Public License v3.0(GPL)开源协议。

You might also like...
Comments
  • 遇到无法启动bug

    遇到无法启动bug

    遇到无法启动bug (p2) PS C:\Users\livingbody> python -m qwebsite -g Flase 当前操作系统: Windows Traceback (most recent call last): File "C:\Users\livingbody\miniconda3\envs\p2\lib\runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "C:\Users\livingbody\miniconda3\envs\p2\lib\runpy.py", line 85, in _run_code exec(code, run_globals) File "C:\Users\livingbody\miniconda3\envs\p2\lib\site-packages\qwebsite\__main__.py", line 34, in <module> cli([]) File "C:\Users\livingbody\miniconda3\envs\p2\lib\site-packages\click\core.py", line 1128, in __call__ return self.main(*args, **kwargs) File "C:\Users\livingbody\miniconda3\envs\p2\lib\site-packages\click\core.py", line 1053, in main rv = self.invoke(ctx) File "C:\Users\livingbody\miniconda3\envs\p2\lib\site-packages\click\core.py", line 1395, in invoke return ctx.invoke(self.callback, **ctx.params) File "C:\Users\livingbody\miniconda3\envs\p2\lib\site-packages\click\core.py", line 754, in invoke return __callback(*args, **kwargs) File "C:\Users\livingbody\miniconda3\envs\p2\lib\site-packages\qwebsite\__main__.py", line 25, in cli QWebSiteOptGUI().run() File "C:\Users\livingbody\miniconda3\envs\p2\lib\site-packages\qwebsite\submethod\github.py", line 95, in __init__ self.gui = CreateQGUI(title=title) File "C:\Users\livingbody\miniconda3\envs\p2\lib\site-packages\qgui\factory.py", line 52, in __init__ self.root.style = Style(**QStyle.default) File "C:\Users\livingbody\miniconda3\envs\p2\lib\site-packages\ttkbootstrap\__init__.py", line 81, in __init__ self._load_themes(themes_file) File "C:\Users\livingbody\miniconda3\envs\p2\lib\site-packages\ttkbootstrap\__init__.py", line 119, in _load_themes themetype=settings['type'], TypeError: list indices must be integers or slices, not str

    opened by livingbody 1
Releases(Release)
Owner
QPT Family
QPT软件包家族 - 在这里不仅有QPT核心框架和其生态组件,还欢迎开发者贡献的优质开箱即用开源项目
QPT Family
A totally unrealistic cell growth/reproduction simulation.

A totally unrealistic cell growth/reproduction simulation.

Andrien Wiandyano 1 Oct 24, 2021
:snake: Complete C99 parser in pure Python

pycparser v2.20 Contents 1 Introduction 1.1 What is pycparser? 1.2 What is it good for? 1.3 Which version of C does pycparser support? 1.4 What gramma

Eli Bendersky 2.8k Dec 29, 2022
py2dis - A disassembly engine & library for Python

py2dis - A disassembly engine & library for Python. py2dis is a disassembly library for Python that does not use any modules/libraries other than colo

3 Feb 04, 2022
An OBS script to fuze files together

OBS TEXT FUZE Fuze text files and inject the output into a text source. The Index file directory should be a list of file directorys for the text file

SuperZooper3 1 Dec 27, 2021
Python pyside2 kütüphanesi ile oluşturduğum drone için yer kontrol istasyonu yazılımı.

Ground Control Station (Yer Kontrol İstasyonu) Teknofest yarışmasında yerlilik kısmında Yer Kontrol İstasyonu yazılımı seçeneği bulunuyordu. Bu yüzden

Emirhan Bülbül 4 May 14, 2022
Mdisk - 🚧 On Construction 🚧

Mdisk Install For Package pip install mdisk pip install git+https://github.com/HeimanPictures/Mdisk.git Usage You can use this as python module or via

AkKiL 6 Aug 08, 2022
Python-Roadmap - Дорожная карта по изучению Python

Python Roadmap Я решил сделать что-то вроде дорожной карты (Roadmap) для изучения языка Python. Возможно, если найдутся желающие дополнять ее, модифиц

Ruslan Prokhorov 1.2k Dec 28, 2022
An app that mirrors your phone to your compute and maps controller input to the screen

What is 'Dragalia Control'? An app that mirrors your phone to your compute and maps controller input to the screen. Inputs are mapped specifically for

1 May 03, 2022
Driving lessons made simpler. Custom scheduling API built with Python.

NOTE This is a mirror of a GitLab repository. Dryvo Dryvo is a unique solution for the driving lessons industry. Our aim is to save the teacher’s time

Adam Goldschmidt 595 Dec 05, 2022
Python library for datamining glitch information from Gen 1 Pokémon GameBoy ROMs

g1utils This is a Python library for datamining information about various glitches (glitch Pokémon, glitch maps, etc.) from Gen 1 Pokémon ROMs. TODO A

1 Jan 13, 2022
To lazy to read your homework ? Get it done with LOL

LOL To lazy to read your homework ? Get it done with LOL Needs python 3.x L:::::::::L OO:::::::::OO L:::::::::L L:::::::

KorryKatti 4 Dec 08, 2022
1. 네이버 카페 댓글을 빨리 다는 기능

naver_autoprogram 기능 설명 네이버 카페 댓글을 빨리 다는 기능 네이버 카페 자동 출석 체크 기능 동작 방식 카페 댓글 기능 기본 동작은 주기적인 스케쥴 동작으로 해당 카페 ID 와 특정 API 주소로 대상이 새글을 작성했는지 체크. 해당 대상이 새글 등

1 Dec 22, 2021
A StarkNet project template based on a Pythonic environment

StarkNet Project Template This is an opinionated StarkNet project template. It is based around the Python's ecosystem and best practices. tox to manag

Francesco Ceccon 5 Apr 21, 2022
PhD document for navlab

PhD_document_for_navlab The project contains the relative software documents which I developped or used during my PhD period. It includes: FLVIS. A st

ZOU YAJING 9 Feb 21, 2022
An alternative app for core Armoury Crate functions.

NoROG DISCLAIMER: Use at your own risk. This is alpha-quality software. It has not been extensively tested, though I personally run it daily on my lap

12 Nov 29, 2022
Feature engineering library that helps you keep track of feature dependencies, documentation and schema

Feature engineering library that helps you keep track of feature dependencies, documentation and schema

28 May 31, 2022
Курс про техническое совершенство для нетехнарей

Technical Excellence 101 Курс про техническое совершенство для нетехнарей. Этот курс представлят из себя серию воркшопов, при помощи которых можно объ

Anton Bevzuk 11 Nov 13, 2022
Comprehensive Python Cheatsheet

Comprehensive Python Cheatsheet

Jure Šorn 31.3k Dec 30, 2022
flake8 plugin which checks that there is no use of sleep in the code.

flake8-sleep flake8 plugin which checks for use of sleep function. installation Using Pypi: pip install flake8-sleep flake8 codes Code Description SLP

1 Nov 26, 2021
Run unpatched binaries on Nix/NixOS

Run unpatched binaries on Nix/NixOS

Thiago Kenji Okada 160 Jan 08, 2023