1
0
mirror of https://github.com/zu1k/nali.git synced 2025-01-22 21:29:02 +08:00
Commit Graph

72 Commits

Author SHA1 Message Date
M09Ic
d6d26f71f8 Fix the difference in output between stdin and cmd input. 2023-05-20 17:24:50 +08:00
Jason_R4bb1t
ff1449a4d1 add flag -j/--json. json format output. 2023-05-20 17:23:31 +08:00
oldshensheep
748c5cf4a8
fix crash and fix migration qqwry #161 (#162)
* fix crash #161

* fix migration qqwry
2023-05-01 20:53:49 +08:00
zu1k
de355d1f7a fix: Update qqwry download url 2023-04-24 16:39:25 +08:00
zu1k
25b0af0632 fix: auto migrate download link 2023-02-04 10:39:09 +08:00
zu1k
8aebd93126
fix: #155 2023-01-08 09:55:06 +08:00
zu1k
b29ad6fb56
chore: format 2022-10-24 09:53:42 +08:00
zu1k
b0bd2771d6
feat: check db data after download 2022-10-24 09:51:19 +08:00
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