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
This speeds up PyCharm's package index processes and avoids CPU & memory overloading

This speeds up PyCharm's package index processes and avoids CPU & memory overloading

1 Feb 09, 2022
Aesthetic NFT Generator

A E S T H E T I C Dependencies Pillow numpy OpenCV You can use pip to install any missing dependencies. Basic Usage Vaporwave artwork can be generated

Mentor Elezi 4 Mar 13, 2022
Purge your likes and wall comments from VKontakte. Set yourself free from your digital footprint.

vk_liberator Regain liberty in the cruel social media world. This program assists you with purging your metadata from Russian social network VKontakte

20 Jun 11, 2021
Cairo-bloom - A naive bloom filter implementation in Cairo

🥀 cairo-bloom A naive bloom filter implementation in Cairo. A Bloom filter is a

Sam Barnes 37 Oct 01, 2022
Python Programmma DarkMap.py

DarkMap Python Programmma DarkMap.py O'rganish va rasmlarni ko'riosh https://drive.google.com/drive/folders/1l1zybs_0Zy9z_trZYz5R72WrwsE6mFOh?usp=shar

Og'abek 0 May 06, 2022
Geodesic Dome Math

dome Geodesic Dome Math Python dome tool dome.py calculates an icosahedron or 2v geodesic dome and creates 3d printable hubs as OpenSCAD sources. usag

Brian Olson 2 Feb 09, 2022
Team Hash Brown Science4Cast Submission

Team Hash Brown Science4Cast Submission This code reproduces Team Hash Brown's (@princengoc, @Xieyangxinyu) best submission (ee5a) for the competition

3 Feb 02, 2022
firefox session recovery

firefox session recovery

Ahmad Sadraei 5 Nov 29, 2022
LOC-FLOW is an “hands-free” earthquake location workflow to process continuous seismic records

LOC-FLOW is an “hands-free” earthquake location workflow to process continuous seismic records: from raw waveforms to well located earthquakes with magnitude calculations. The package assembles sever

Miao Zhang 71 Jan 09, 2023
This is a simple leaderboard for 30 days of Google Cloud program for students of ASIET

30daysleaderboard #Hacktoberfest - Please don't make changes in readme file. Only improvement in the project will be accepted. Update - Now if you run

5 Oct 29, 2021
Live tracking, flight database and competition framework

SkyLines SkyLines is a web platform where pilots can share their flights with others after, or even during flight via live tracking. SkyLines is a sor

SkyLines 367 Dec 27, 2022
Implent of Oracle Base line and Lea-3 Baseline

Oracle-Baseline Implent of Oracle Base line and Lea-3 Baseline Oracle Oracle : This model is used to obtain an oracle with a greedy algorithm similar

Andrew Zeng 2 Nov 12, 2021
Gerador de dafaces

🎴 DefaceGenerator Obs: esse script foi criado com a intenção de ajudar pessoas iniciantes no hacking que ainda não conseguem criar suas próprias defa

LordShinigami 3 Jan 09, 2022
Replay Felica Exchange For Python

FelicaReplay Replay Felica Exchange Description Standalone Replay Module Usage Save FelicaRelay (=2.0) output to file, then python replay.py [FILE].

3 Jul 14, 2022
Wrapper for the undocumented CodinGame API. Can be used both synchronously and asynchronlously.

codingame API wrapper Pythonic wrapper for the undocumented CodinGame API. Installation Python 3.6 or higher is required. Install codingame with pip:

Takos 19 Jun 20, 2022
NES development tool made with Python and Lua

NES Builder NES development and romhacking tool made with Python and Lua Current Stage: Alpha Features Open source "Build" project, which exports vari

10 Aug 19, 2022
A script to download all the challenges and files from the CTFd instance.

Python CTFd Downloader A script to download all the challenges and files from the CTFd instance. Installation Clone this repo: git clone https://githu

Jacob Elliott 19 Dec 16, 2022
Given an array of integers, calculate the ratios of its elements that are positive, negative, and zero.

Given an array of integers, calculate the ratios of its elements that are positive, negative, and zero. Print the decimal value of each fraction on a new line with places after the decimal.

Shruti Dhave 2 Nov 29, 2021
一个IDA脚本,可以检测出哈希算法(无论是否魔改常数)并生成frida hook 代码。

findhash 在哈希算法上,比Findcrypt更好的检测工具,同时生成Frida hook代码。 使用方法 把findhash.xml和findhash.py扔到ida plugins目录下 ida -edit-plugin-findhash 试图解决的问题 哈希函数的初始化魔数被修改 想快速

266 Dec 29, 2022
Runs macOS on linux with qemu.

mac-on-linux-with-qemu Runs macOS on linux with qemu. Pre-requisites qemu-system-x86_64 dmg2img pulseaudio python[click] Usage After cloning the repos

Arindam Das 177 Dec 26, 2022