zu1k
|
0631804e00
|
fix: migration move db to data dir
Signed-off-by: zu1k <i@zu1k.com>
|
2022-10-06 13:09:41 +08:00 |
|
zu1k
|
5039161a5c
|
fix: migration find old dir path
Signed-off-by: zu1k <i@zu1k.com>
|
2022-10-06 13:05:35 +08:00 |
|
zu1k
|
462503377c
|
feat: auto migrate to new dir
Signed-off-by: zu1k <i@zu1k.com>
|
2022-10-06 11:23:27 +08:00 |
|
zu1k
|
0062ad914e
|
change default dataDir and configDir
https://github.com/adrg/xdg
Signed-off-by: zu1k <i@zu1k.com>
|
2022-10-05 22:16:55 +08:00 |
|
zu1k
|
e1af0bc383
|
feat: get ConfigDir and DataDir path from XDG env
Signed-off-by: zu1k <i@zu1k.com>
|
2022-10-05 21:58:27 +08:00 |
|
henry
|
45953fcac5
|
fix concurrent map write
|
2022-07-28 09:53:59 +08:00 |
|
zu1k
|
faf39c246f
|
Remove deprecated code
Signed-off-by: zu1k <i@zu1k.com>
|
2022-07-21 14:11:27 +08:00 |
|
zu1k
|
40e1623c4b
|
fix: gen nil config file
Signed-off-by: zu1k <i@zu1k.com>
|
2022-07-21 10:53:26 +08:00 |
|
zu1k
|
c2a1ad8565
|
chore: Update qqwry.date download url
Signed-off-by: zu1k <i@zu1k.com>
|
2022-07-21 10:36:47 +08:00 |
|
zu1k
|
8e280304bb
|
feat: Add migration
Signed-off-by: zu1k <i@zu1k.com>
|
2022-07-06 09:01:29 +08:00 |
|
zu1k
|
4599c0593a
|
chore: Add Aur release action:
Signed-off-by: zu1k <i@zu1k.com>
|
2022-06-29 22:15:58 +08:00 |
|
zu1k
|
6bf5d94920
|
fix: CDN support regex
Signed-off-by: zu1k <i@zu1k.com>
|
2022-06-29 17:00:34 +08:00 |
|
zu1k
|
673e5f4ef7
|
feat: Support ip2region xdb
Signed-off-by: zu1k <i@zu1k.com>
|
2022-06-27 17:03:09 +08:00 |
|
zu1k
|
f391935999
|
feat: Support update db by direct download
Signed-off-by: zu1k <i@zu1k.com>
|
2022-05-24 15:16:48 +08:00 |
|
zu1k
|
4482839a05
|
fix: ip2location language only support en
Signed-off-by: zu1k <i@zu1k.com>
|
2022-05-17 13:50:30 +08:00 |
|
zu1k
|
44606cde27
|
docs: Update readme zh
Signed-off-by: zu1k <i@zu1k.com>
|
2022-05-17 13:35:48 +08:00 |
|
fengdelan
|
31fe43c46a
|
Added support for IP2Location DB3 LITE
|
2022-05-17 11:22:30 +08:00 |
|
zu1k
|
a92f6ff718
|
chore: Update readme
Signed-off-by: zu1k <i@zu1k.com>
|
2022-05-09 15:17:11 +08:00 |
|
zu1k
|
c0643f7731
|
feat: Database from config
Signed-off-by: zu1k <i@zu1k.com>
|
2022-05-09 14:48:28 +08:00 |
|
biwenliang
|
303e23590a
|
feat: make update module flex
|
2022-05-05 11:49:11 +08:00 |
|
zu1k
|
fe447a34f8
|
chore: Update cdn database url
Signed-off-by: zu1k <i@zu1k.com>
|
2022-04-03 17:25:55 +08:00 |
|
zu1k
|
6bc863cc69
|
refactor: project structure
Signed-off-by: zu1k <i@lgf.im>
|
2022-03-02 12:43:41 +08:00 |
|
zu1k
|
d1b584c3e7
|
refactor: better download and error handle
Signed-off-by: zu1k <i@lgf.im>
|
2022-03-02 12:34:11 +08:00 |
|
zu1k
|
b21c9b6728
|
feat: Support ip2region
Signed-off-by: zu1k <i@lgf.im>
|
2022-02-20 11:28:25 +08:00 |
|
zpcc
|
75d8173f77
|
fix color print in cmd.exe (#78)
|
2022-02-08 18:01:55 +08:00 |
|
zu1k
|
57ecaa8591
|
fix ipv4 in ipv6 parse
Signed-off-by: zu1k <i@lgf.im>
|
2021-12-17 13:31:08 +08:00 |
|
zu1k
|
4e22a5cf2b
|
fix: Match IPv4 in IPv6 #70
Signed-off-by: zu1k <i@lgf.im>
|
2021-12-16 13:01:32 +08:00 |
|
zu1k
|
e4b0253ec6
|
fix: Trim result
|
2021-10-26 13:23:05 +08:00 |
|
zu1k
|
8e87230fa8
|
fix: Prevent domain name matching IP #64
|
2021-10-26 13:17:33 +08:00 |
|
zu1k
|
ebb97d662c
|
fix: ipv6 geoip init
|
2021-08-12 06:14:27 +08:00 |
|
zu1k
|
bf5c917155
|
update deps
|
2021-08-11 17:54:10 +08:00 |
|
zu1k
|
6b76f4a50b
|
feat: support db select
|
2021-08-11 10:02:54 +08:00 |
|
zu1k
|
2d99679810
|
fix entity parse
|
2021-08-03 08:33:26 +08:00 |
|
zu1k
|
fa2bab49c7
|
fix entity parse
|
2021-08-03 08:31:27 +08:00 |
|
zu1k
|
592a2eabb5
|
color print
|
2021-08-03 07:54:35 +08:00 |
|
zu1k
|
40274f64a4
|
go fmt
|
2021-08-02 12:03:06 +08:00 |
|
zu1k
|
8cb2d500f1
|
feat: Define DB interface
|
2021-08-02 12:01:25 +08:00 |
|
zu1k
|
7a03f1589f
|
Add ParseLine
|
2021-07-30 22:30:27 +08:00 |
|
zu1k
|
e7ea663d27
|
Add type Entity
|
2021-07-30 21:46:06 +08:00 |
|
zu1k
|
fb7cb77806
|
Fix: nil pointer when use GeoIP2 to find IPv6 #43
|
2021-04-10 14:23:57 +08:00 |
|
zu1k
|
710597802b
|
fix domain re
|
2021-03-26 16:28:41 +08:00 |
|
zu1k
|
1607184601
|
better ValidIP
|
2020-09-28 08:26:08 +08:00 |
|
hyliang96
|
2d7d50b7b8
|
fix issue 22: replace ip4/ip6/domain with regexp with lookahead and lookback
|
2020-09-27 00:37:55 +08:00 |
|
zu1k
|
4e2b4719a7
|
Fix #18
|
2020-09-09 09:58:52 +08:00 |
|
louisehong
|
40c8fbdba4
|
Optimized ip checking algorithm for ipv6
IPv6 parser should fail with 8 groups plus one blank
|
2020-09-07 19:47:53 +08:00 |
|
zu1k
|
9752db597b
|
Optimized ip checking algorithm
|
2020-09-07 10:23:35 +08:00 |
|
zu1k
|
df01496609
|
no use syscall
|
2020-08-10 13:29:21 +08:00 |
|
zu1k
|
ac1ca3f661
|
move system related code to app
|
2020-08-10 13:01:43 +08:00 |
|
zu1k
|
d5d766f536
|
update all db
|
2020-07-22 07:25:01 +08:00 |
|
zu1k
|
ace8309f64
|
add trim for result
|
2020-07-21 17:54:57 +08:00 |
|