Skip to content
This repository has been archived by the owner on Mar 24, 2023. It is now read-only.

StopModReposts/List-Utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SMR List Utils

This is a Go CLI tool that helps with managing the StopModReposts blacklist.

Install

Use GitHub Releases and download binary.

Linux Install

wget https://github.com/StopModReposts/List-Utils/releases/latest/download/smr-list-utils.elf -O ~/.local/bin/smr-list-utils
chmod +x ~/.local/bin/smr-list-utils

Windows Install

Download binary from releases, place in any folder. Run via cmd/powershell

Usage

smr-list-utils <command> <list_file>

Commands

issue - adds all the sites that have the accepted label on their issue to the end of the list.
sort - sorts sites alphabetically.

Examples

smr-list-utils issue ../Illegal-Mod-Sites/lists/minecraft.yaml
smr-list-utils sort ../Illegal-Mod-Sites/lists/minecraft.yaml

Workflow

First, add approved label to all issues that are good
Then run the issue command
In your IDE, change the domains that weren't parsed successfully
Then run sort