Skip to content

Instantly share code, notes, and snippets.

heldev / TagAwesomeListWithReposAndLicenses.hs
Last active July 19, 2019 17:07
Adds repositories and corresponding licenses to every line with a link of an awesome list, if it's not a GitHub link the script tries to find GitHub links in the page content
View TagAwesomeListWithReposAndLicenses.hs
#!/usr/bin/env stack
-- stack script --resolver lts-13.27
-- How to use:
-- 1. Install stack `curl -sSL | sh`
-- (alternative ways available here )
-- 2. Fill parameters like `gitHubClientId`, `gitHubClientSecret`, `readMeUrl` ...
-- (GitHub credentials can be created here )
-- 3. Run the file `./this-file.hs`
-- 4. Review newly created in your working directory