StopModReposts / List-Utils

🔧 Utilities for maintaining the list of repost sites

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

🔧 Utilities for maintaining the list of repost sites

License:GNU General Public License v3.0


Languages

Language:Go 96.2%Language:Shell 3.8%