summaryrefslogtreecommitdiff
path: root/config-example.json
AgeCommit message (Collapse)Author
2024-08-15Docs: add configuration explanationLoyalsoldier
2024-08-10Feat: support JSON data as input formatLoyalsoldier
For the arg `jsonPath` in config, see syntax explanation here: https://github.com/tidwall/gjson/blob/master/SYNTAX.md
2024-08-09Feat: support MaxMind GeoLite2 ASN CSV data as inputLoyalsoldier
2024-08-06Feat: support to customize output file extension in all plaintext formatsLoyalsoldier
2024-08-06Feat: support extended text format with prefix & suffix in line as outputLoyalsoldier
Output plaintext CIDR with prefix and suffix in one line by using `text` format as output, specified by args `addPrefixInLine` and `addSuffixInLine`
2024-08-06Feat: support extended text format with prefix & suffix in line as inputLoyalsoldier
IP and CIDR with prefix and suffix in one line now can be processed by using `text` format as input, specified by args `removePrefixesInLine` and `removeSuffixesInLine`.
2024-07-04Feat: support stdout as outputLoyalsoldier
stdout stands for standard output, which means geoip now supports pipe operator
2024-07-04Feat: support stdin as inputLoyalsoldier
stdin stands for standard input, which means geoip now supports pipe operator
2024-06-23Feat: support sing-box SRS format as input & outputLoyalsoldier
2022-09-17Feat: support maxmindMMDB type as input formatLoyalsoldier
2022-08-29Fix: add option overwriteListLoyalsoldier
Due to MaxMind mmdb file format constraint, the IPs and/or CIDRs of the latter written list will overwrite those of the former one when duplicated data is found. To make sure that the lists you added include all their own IPs and/or CIDRs, you must place the name of the most important list at last in option wantedList and option overwriteList of type maxmindMMDB in config file. The option overwriteList of type maxmindMMDB is used when the IPs and/or CIDRs of some lists in generated mmdb file overlap. For example, if you change the CIDRs of the list "cn", and generate the full version of Country.mmdb file which is with all countries(lists), the option overwriteList must include "cn", so that the "cn" list will be written at last, which ensures it includes all the CIDRs you specify. If the option wantedList of type maxmindMMDB is specified, no need for option overwriteList.
2021-11-21Fix: use cutter to remove entryLoyalsoldier
2021-11-21Feat: support v2rayGeoIPDat as input formatLoyalsoldier
2021-11-21Feat: introduce cutter as an input format to remove data from previous stepsLoyalsoldier
2021-08-29Refactor: use plugin architecture to support multiple I/O formatsloyalsoldier