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
Building an Investment Portfolio for Day Trade with Python

Montando um Portfólio de Investimentos para Day Trade com Python Instruções: Para reproduzir o projeto no Google Colab, faça o download do repositório

Paula Campigotto 9 Oct 26, 2021
Todos os exercícios do Curso de Python, do canal Curso em Vídeo, resolvidos em Python, Javascript, Java, C++, C# e mais...

Exercícios - CeV Oferecido por Linguagens utilizadas atualmente O que vai encontrar aqui? 👀 Esse repositório é dedicado a armazenar todos os enunciad

Coding in Community 43 Nov 10, 2022
Telegram bot to search quotes from brainyquote.com

Brainy Quote Bot @BrainQuoteBot A star ⭐ from you means a lot to us! Telegram bot to search quotes from brainyquote.com Usage Deploy to Heroku Tap on

21 Nov 24, 2022
Sudo type me a payload

payloadSecretary Sudo type me a payload Have you ever found yourself having to perform a test, and a client has provided you with a VM inside a VDI in

7 Jul 21, 2022
A web application (with multiple API project options) that uses MariaDB HTAP!

Bookings Bookings is a web application that, backed by the power of the MariaDB Connectors and the MariaDB X4 Platform, unleashes the power of smart t

MariaDB Corporation 4 Dec 28, 2022
A nonebot2 plugin, send news information in a picture form.

A nonebot2 plugin, send news information in a picture form.

幼稚园园长 7 Nov 18, 2022
WMIC Serial Checker For Python

WMIC Serial Checker Follow me here: Discord | Github FR: A but éducatif seulement. EN: For educational purposes only. ❓ Informations FR: WMIC Serial C

AkaTool's 0 Apr 25, 2022
Empresas do Brasil (CNPJs)

Biblioteca em Python que coleta informações cadastrais de empresas do Brasil (CNPJ) obtidas de fontes oficiais (Receita Federal) e exporta para um formato legível por humanos (CSV ou JSON).

BR-API: Democratizando dados do Brasil. 8 Aug 17, 2022
Script to calculate the italian fiscal code of a person.

fiscal_code Hi! This is my first public repository, so please be kind if it is not well formatted or it contains errors. I started learning Python abo

FrancescoDiMuro 1 Nov 20, 2021
Project issue to website data transformation toolkit

braintransform Project issue to website data transformation toolkit. Introduction The purpose of these scripts is to be able to dynamically generate t

Brainhack 1 Nov 19, 2021
Placeholders is a single-unit storage solution for your Frontend.

Placeholder Placeholders is a single-unit file storage solution for your Frontend. Why Placeholder? Generally, when a website/service requests for fil

Tanmoy Sen Gupta 1 Nov 09, 2021
Personal Finance Forecaster - An AI tool for forecasting personal expenses

Personal Finance Forecaster - An AI tool for forecasting personal expenses

2 Mar 09, 2022
Python library to natively send files to Trash (or Recycle bin) on all platforms.

Send2Trash -- Send files to trash on all platforms Send2Trash is a small package that sends files to the Trash (or Recycle Bin) natively and on all pl

Andrew Senetar 224 Jan 04, 2023
Helps to arrange nodes

Relax brush for nodes, helps to arrange nodes easier.

336 Dec 15, 2022
Addons like multipages for streamlit webapp

streamlit_pages Installation $ pip install streamlit-pages Features Adding multiple pages to streamlit Sharing specific pages Usage import streamlit

36 Dec 25, 2022
Expense Tracker is a very good tool to keep track of your expenseditures and the total money you saved.

Expense Tracker is a very good tool to keep track of your expenseditures and the total money you saved.

Shreejan Dolai 9 Dec 31, 2022
uMap lets you create maps with OpenStreetMap layers in a minute and embed them in your site.

uMap project About uMap lets you create maps with OpenStreetMap layers in a minute and embed them in your site. Because we think that the more OSM wil

771 Dec 29, 2022
Submission to the HEAR2021 Challenge

Submission to the HEAR 2021 Challenge For model evaluation, python=3.8 and cuda10.2 with cudnn7.6.5 have been tested. The work uses a mixed supervised

Heinrich Dinkel 10 Dec 08, 2022
The Python Achievements Framework!

Pychievements: The Python Achievements Framework! Pychievements is a framework for creating and tracking achievements within a Python application. It

Brian 114 Jul 21, 2022
AIO solution for SSIS students

ssis.bit AIO solution for SSIS students Hardware CircuitPython supports more than 200 different boards. Locally available is the TTGO T8 ESP32-S2 ST77

3 Jun 05, 2022