1
0
mirror of https://github.com/agarrharr/awesome-cli-apps synced 2024-06-03 11:58:05 +02:00

Remove deprecated projects and update script for checking deprecations

This commit is contained in:
Jonathan Neidel 2023-08-03 10:45:18 +02:00
parent a50265b94d
commit 8a3875953b
2 changed files with 27 additions and 22 deletions

View File

@ -14,11 +14,12 @@ EOF
exit exit
fi fi
APPS=$(cat readme.md | grep -e "- \[.\+\]\(.\+\)\s" | grep 'github.com' | awk -F "(" '{ print $2 }' | cut -d ")" -f1) check_if_archived_on_github() {
APPS=$(grep -e "- \[.\+\]\(.\+\)\s" readme.md | grep 'github.com' | awk -F "(" '{ print $2 }' | cut -d ")" -f1)
check_deprecation() { check_deprecation() {
REPO="$1" REPO="$1"
if nice curl -SsL "$REPO" | grep "This repository has been archived by the owner. It is now read-only." >/dev/null; then if nice curl -SsL "$REPO" | grep "This repository has been archived by the owner on" >/dev/null; then
echo "DEPRECATED $REPO" | tee -a $OUT_FILE echo "DEPRECATED $REPO" | tee -a $OUT_FILE
else else
echo "CHECKED $REPO" echo "CHECKED $REPO"
@ -30,5 +31,15 @@ for app in $(echo $APPS); do
((i=i%J)); ((i++==0)) && wait ((i=i%J)); ((i++==0)) && wait
check_deprecation "$app" & check_deprecation "$app" &
done done
}
deadlink check readme check_if_link_is_dead() {
command -v deadlink >/dev/null || { echo "deadlink is not installed" 1>&2; exit 127; }
tmp=$(mktemp)
grep -Po "http[^)]+" readme.md | grep -v "https://github.com" >$tmp
deadlink check $tmp
}
check_if_archived_on_github
check_if_link_is_dead

View File

@ -112,7 +112,6 @@ Inspired by the [awesome](https://github.com/sindresorhus/awesome) list thing.
### Social Media ### Social Media
- [facebook-cli](https://github.com/specious/facebook-cli) - Facebook command line interface. - [facebook-cli](https://github.com/specious/facebook-cli) - Facebook command line interface.
- [TTYtter](https://github.com/oysttyer/oysttyer) - Twitter client.
- [Rainbowstream](https://github.com/DTVD/rainbowstream) - A smart and nice Twitter client on the terminal. - [Rainbowstream](https://github.com/DTVD/rainbowstream) - A smart and nice Twitter client on the terminal.
- [tuir](https://gitlab.com/ajak/tuir) - Reddit TUI. - [tuir](https://gitlab.com/ajak/tuir) - Reddit TUI.
- [WeeChat](https://weechat.org/) - Fast, light and extensible chat client. - [WeeChat](https://weechat.org/) - Fast, light and extensible chat client.
@ -203,8 +202,7 @@ Inspired by the [awesome](https://github.com/sindresorhus/awesome) list thing.
- [s3cmd](https://github.com/s3tools/s3cmd) - Fully-Featured S3 client. - [s3cmd](https://github.com/s3tools/s3cmd) - Fully-Featured S3 client.
- [pm2](https://github.com/Unitech/pm2) - Production Process Manager for Node.js. - [pm2](https://github.com/Unitech/pm2) - Production Process Manager for Node.js.
- [ops](https://github.com/nanovms/ops) - Unikernel compilation and orchestration tool. - [ops](https://github.com/nanovms/ops) - Unikernel compilation and orchestration tool.
- [flog](http://github.com/mingrammer/flog) - A fake log generator for log formats such as apache-common, apache error and RFC3164 syslog. - [flog](https://github.com/mingrammer/flog) - A fake log generator for log formats such as apache-common, apache error and RFC3164 syslog.
- [isitfit](http://github.com/autofitcloud/isitfit) - Manage AWS EC2 rightsizing.
- [k9s](https://github.com/derailed/k9s) - Manage Kubernetes Clusters. - [k9s](https://github.com/derailed/k9s) - Manage Kubernetes Clusters.
- [PingMe](https://github.com/kha7iq/pingme) - Send messages/alerts to multiple messaging platforms & email. - [PingMe](https://github.com/kha7iq/pingme) - Send messages/alerts to multiple messaging platforms & email.
- [ipfs-deploy](https://github.com/agentofuser/ipfs-deploy) - Deploy static websites to [IPFS](https://github.com/ipfs/ipfs#overviewhttps://github.com/ipfs/ipfs#overview). - [ipfs-deploy](https://github.com/agentofuser/ipfs-deploy) - Deploy static websites to [IPFS](https://github.com/ipfs/ipfs#overviewhttps://github.com/ipfs/ipfs#overview).
@ -242,7 +240,7 @@ Inspired by the [awesome](https://github.com/sindresorhus/awesome) list thing.
- [yo](https://github.com/yeoman/yo) - Scaffolding tool for running Yeoman generators. - [yo](https://github.com/yeoman/yo) - Scaffolding tool for running Yeoman generators.
- [boilr](https://github.com/tmrts/boilr) - Create projects from boilerplate templates. - [boilr](https://github.com/tmrts/boilr) - Create projects from boilerplate templates.
- [cookiecutter](https://github.com/audreyr/cookiecutter) - Create projects from templates. - [cookiecutter](https://github.com/audreyr/cookiecutter) - Create projects from templates.
- [mevn-cli](http://github.com/madlabsinc/mevn-cli) - Light speed setup for MEVN (Mongo Express Vue Node) Apps. - [mevn-cli](https://github.com/madlabsinc/mevn-cli) - Light speed setup for MEVN (Mongo Express Vue Node) Apps.
- [scaffold-static](https://github.com/jamesgeorge007/scaffold-static) - Scaffolding utility for vanilla JS. - [scaffold-static](https://github.com/jamesgeorge007/scaffold-static) - Scaffolding utility for vanilla JS.
### HTTP Server ### HTTP Server
@ -539,7 +537,6 @@ Inspired by the [awesome](https://github.com/sindresorhus/awesome) list thing.
### Directory Navigation ### Directory Navigation
- [autojump](https://github.com/wting/autojump) - A cd command that learns - easily navigate directories from the command line. - [autojump](https://github.com/wting/autojump) - A cd command that learns - easily navigate directories from the command line.
- [fasd](https://github.com/clvv/fasd) - Command-line productivity booster, offers quick access to files and directories, inspired by autojump, z and v.
- [pm](https://github.com/Angelmmiguel/pm) - The easy way to switch to your projects on the shell. - [pm](https://github.com/Angelmmiguel/pm) - The easy way to switch to your projects on the shell.
- [z](https://github.com/rupa/z) - z is the new j, yo. - [z](https://github.com/rupa/z) - z is the new j, yo.
- [PathPicker](https://github.com/facebook/pathpicker/) - After parsing the output from a command, PathPicker presents you with a nice UI to select which files you're interested in. - [PathPicker](https://github.com/facebook/pathpicker/) - After parsing the output from a command, PathPicker presents you with a nice UI to select which files you're interested in.
@ -589,7 +586,6 @@ Inspired by the [awesome](https://github.com/sindresorhus/awesome) list thing.
### GitHub ### GitHub
- [CLI GitHub](https://github.com/IonicaBizau/cli-github) - Fancy GitHub client. - [CLI GitHub](https://github.com/IonicaBizau/cli-github) - Fancy GitHub client.
- [Gistup](https://github.com/mbostock/gistup) - Manage GitHub gists.
- [hub](https://github.com/github/hub) - Make git easier to use with GitHub. - [hub](https://github.com/github/hub) - Make git easier to use with GitHub.
- [git-labelmaker](https://github.com/himynameisdave/git-labelmaker) - Edit GitHub labels. - [git-labelmaker](https://github.com/himynameisdave/git-labelmaker) - Edit GitHub labels.
@ -637,7 +633,6 @@ Inspired by the [awesome](https://github.com/sindresorhus/awesome) list thing.
## Just for Fun ## Just for Fun
- [cowsay](https://github.com/tnalpgge/rank-amateur-cowsay) - A configurable talking cow (and other animals).
- [quote-cli](https://github.com/riyadhalnur/quote-cli) - Get a random quote or the quote of the day in your CLI. - [quote-cli](https://github.com/riyadhalnur/quote-cli) - Get a random quote or the quote of the day in your CLI.
- [fortune](https://github.com/shlomif/fortune-mod) - Shows a random fortune. - [fortune](https://github.com/shlomif/fortune-mod) - Shows a random fortune.
- [ponysay](https://github.com/erkin/ponysay) - Pony rewrite of cowsay. - [ponysay](https://github.com/erkin/ponysay) - Pony rewrite of cowsay.
@ -646,7 +641,6 @@ Inspired by the [awesome](https://github.com/sindresorhus/awesome) list thing.
- [text-meme](https://github.com/beatfreaker/text-meme-cli) - Generate text memes. - [text-meme](https://github.com/beatfreaker/text-meme-cli) - Generate text memes.
- [dankcli](https://github.com/sggts04/dankcli) - Add text to meme image templates. - [dankcli](https://github.com/sggts04/dankcli) - Add text to meme image templates.
- [ricksay](https://github.com/roma-guru/ricksay) - Quotes from Rick and Morty. - [ricksay](https://github.com/roma-guru/ricksay) - Quotes from Rick and Morty.
- [pokeget](https://github.com/talwat/pokeget) - Display sprites of pokemon.
### Emoji ### Emoji