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 Python package that provides astronomical constants.

AstroConst A Python package that provides astronomical constants. The code is being developed by Marc van der Sluys of the department of Astrophysics

Marc van der Sluys 1 Jan 10, 2022
Small scripts to learn about GNOME internals

gnome-hacks This is a collection of APIs that allow programmatic manipulation of the GNOME shell. If you use GNOME (the default graphical shell in Ubu

Alex Nichol 5 Oct 22, 2021
Notebook researcher - Notebook researcher with python

notebook_researcher To run the server, you must follow these instructions: At th

4 Sep 02, 2022
Better Giveaways is a bot that will change the experience of using a giveaway bot forever.

Better-Giveaways Better Giveaways is a bot that will change the experience of using a giveaway bot forever. VoxelBotUtils/Novus, latest PyPi releases

Lightning 2 Jan 12, 2022
Generic NDJSON importer for hashlookup server

Generic NDJSON importer for hashlookup server Usage usage: hashlookup-json-importer.py [-h] [-v] [-s SOURCE] [-p PARENT] [--parent-meta PARENT_META [P

hashlookup 2 Jan 19, 2022
Demo repository for Saltconf21 talk - Testing strategies for Salt states

Saltconf21 testing strategies Demonstration repository for my Saltconf21 talk "Strategies for testing Salt states" Talk recording Slides and demos Get

Barney Sowood 3 Mar 31, 2022
Taichi is a parallel programming language for high-performance numerical computations.

Taichi is a parallel programming language for high-performance numerical computations.

Taichi Developers 22k Jan 04, 2023
Runtime Type Checking in Python 3

typo This package intends to provide run-time type checking for functions annotated with argument type hints (standard library typing module in Python

Ivan Smirnov 26 Dec 13, 2022
Annotates sequences with Eggnog-mapper and hhblits against PDB70

Annotating "hypothetical" proteins with the PDB See config/ for configuration information. This workflow takes as input a set of protein sequences. It

1 Apr 05, 2022
A code base for python programs the goal is to integrate all the useful and essential functions

Base Dev EN This GitHub will be available in French and English FR Ce GitHub sera disponible en français et en anglais Author License Screen EN 🇬🇧 D

Pikatsuto 1 Mar 07, 2022
Create an application to visualize single/multiple Xandar Kardian people counting sensors detection result for a indoor area.

Program Design Purpose: We want to create an application to visualize single/multiple Xandar Kardian people counting sensors detection result for a indoor area.

2 Dec 28, 2022
Rock 💎 Paper 📝 Scissors ✂️ Lizard 🦎 Spock 🖖

Rock 💎 Paper 📝 Scissors ✂️ Lizard 🦎 Spock 🖖 If you’ve seen The Big Bang Theory, you’ve heard of a game called “Rock, Paper, Scissors, Lizard, Spoc

AmirHossein Mohammadi 16 Jun 19, 2022
A Tool to validate domestic New Zealand vaccine passes

Vaccine Validator Tool to validate domestic New Zealand vaccine passes Create a new virtual environment: python3 -m venv ./venv Activate virtual envi

8 May 01, 2022
This is a Python 3.10 port of mock, a library for manipulating human-readable message strings.

This is a Python 3.10 port of mock, a library for manipulating human-readable message strings.

Alexander Bartolomey 1 Dec 31, 2021
Example python package with pybind11 cpp extension

Developing C++ extension in Python using pybind11 This is a summary of the commands used in the tutorial.

55 Sep 04, 2022
BestBuy Script Designed to purchase any item when it becomes available.

prerequisites: Selnium; undetected-chromedriver. This Script is designed to order an Item provided a link from BestBuy.com only.

Bransen Smith 0 Jan 12, 2022
tool to automate exploitation of android degubg bridge vulnerability

DISCLAIMER DISCLAIMER: ANY MALICIOUS USE OF THE CONTENTS FROM THIS ARTICLE WILL NOT HOLD THE AUTHOR RESPONSIBLE HE CONTENTS ARE SOLELY FOR EDUCATIONAL

6 Feb 12, 2022
Wisdom Tree is a concentration app i am working on.

Wisdom Tree Wisdom Tree is a tui concentration app I am working on. Inspired by the wisdom tree in Plants vs. Zombies which gives in-game tips when it

NO ONE 241 Jan 01, 2023
A Microsoft reward automator, designed to work headless on a raspberry pi

MsReward A Microsoft reward automator, designed to work headless on a raspberry pi. Tested with a pi 3b+ and a pi 4 2Gb . Using a discord bot to log e

10 Dec 21, 2022
A toolkit for developing and deploying serverless Python code in AWS Lambda.

Python-lambda is a toolset for developing and deploying serverless Python code in AWS Lambda. A call for contributors With python-lambda and pytube bo

Nick Ficano 1.4k Jan 03, 2023