Git Product home page Git Product logo

daily's Introduction

Hi, I'm Sing Yu Chan

When history witnesses a great change, Razgriz reveals itself...
First, as a dark demon. As a demon, it uses its power to rain death upon the land, and then it dies.
However, after a period of slumber, Razgriz returns, this time, as a great hero.

Pacman

Sing Yu Chan's GitHub Stats

daily's People

Contributors

pexcn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

daily's Issues

A better way to cut whitelist domains

Improve todo list: TODO#L3.
These way can be avoid this type of error: dnsmasq-china-list@f0a2385

# use awk better than sed
cat accelerated-domains.china.conf | awk '{split($0, arr, "/"); print arr[2]}'
#cat accelerated-domains.china.conf | awk '{split($0, arr, "[//]"); print arr[2]}'

# use sed
cat accelerated-domains.china.conf | sed -E 's/.*\/(.*)\/.*/\1/'

update ignore ip list

append those lines to PAC list:

# data source from:
# https://github.com/shadowsocks/luci-app-shadowsocks/blob/master/files/root/usr/bin/ss-rules
192.0.0.0/24
192.31.196.0/24
192.52.193.0/24
192.175.48.0/24
224.0.0.0/3 -> 224.0.0.0/4
240.0.0.0/4
255.255.255.255/32


127.0.0.1/32 ?

update and check shadowrocket config template:
https://github.com/pexcn/daily/blob/master/template/shadowrocket/whitelist.conf#L8
https://github.com/pexcn/daily/blob/master/template/shadowrocket/gfwlist.conf#L8

How to get data from Alexa?

Excuse me. Could you tell me where to get data like top-1m.csv.zip file in scripts/_pre_/01-toplist.sh? Is it from Alexa? How to get other kind of data?

Performance issue in `scripts/gfwlist/gfwlist.sh`

It seems there are more than 700,000 lines in toplist.txt generated from /scripts/_pre_/01-toplist.sh

The following script in /scripts/gfwlist/gfwlist.sh is CPU intensive.

# find intersection set
grep -Fx -f gfwlist.tmp toplist.txt > gfwlist_head.tmp
# find difference set
grep -Fxv -f toplist.txt gfwlist.tmp > gfwlist_tail.tmp
# merge to gfwlist
cat gfwlist_head.tmp gfwlist_tail.tmp > gfwlist.txt

But why does the merged gfwlist.txt only have less than 10,000 lines eventually?

Safe list

Based on gfwlist.txt:

# 127.0.0.1:5300 is non-polluting DNS port
sed -e 's/^/server=\//' -e 's/$/\/127.0.0.1#5300/' gfwlist.txt > safelist-exp.conf
sed -i "1i#\n# Safe list (experimental)\n#\n# Update: $(date +'%Y-%m-%d %T')\n#\n" safelist-exp.conf

Put it into /etc/dnsmasq.d folder.

列表排列顺序对性能的影响?

是否应该将 adlist, chinalist, gfwlist 等里面的域名按照 alexa 排名来排序,这样性能会不会比较好一点?因为放在头部的都是高频访问的域名。

还有一点需要改进的:
sort | uniq 操作不应该在需要生成的最终要使用的文件里面操作,而应该在它所需要的 列表里面操作。

pac: whitelist can't be used

When I use whitelist pac,I can only visit China's websites. No foreign websites like Goole,Facebook or Twitter are accessible.What should I do? I have reloaded the pac and checked my proxy and when I use gfwlist pac,everything is Ok. Is the problem of whitelist pac?

distribution clean up

  • remove safelist and blacklist
  • remove unused openwrt scripts
  • update readme
  • add chinalist-lite
  • add google.china.conf ?

add ublacklist

# add ?
*://*/so.php
*://*/so.php?s=*
*://*/cha.php?s=*
*://*/list.php?s=*
*://*/?s=*
*://*/so/*

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.