2 minutes
StarwarsAPI
./star_Wars.sh
#!/bin/bash
which jq pv gawk base64 zcat gzip 1>/dev/null
if [ $? -eq 1 ];
then
echo "$? Missing LIBS"
exit
fi
# TODO ADD CHECKS for required Apps
# TODO ADD Error checks for curl and jq
# TODO ADD Lookup for ship ART
NOW=$(date +%s) #START TIME
URL="https://swapi.co/api/starships/" #ENTRY URL
NEXT=$(curl -s $URL |jq -r -c .next) #NEXT URL
. data.sh
echo -e "\n\n\n\n\e[1;34m\t[ $(echo $cont | base64 -d | zcat) ] \a\n\n\t[ STARWARS STATIC API ] \n\n\t[ The playback has been slowed down for your viewing enjoyment! ]\e[0m" | pv -L10 2>/dev/null
## LOGO for added cinematic output
echo -e "\e[2m" #SET TEXT COLOR
echo $logo | base64 -d | zcat |pv -L800 2>/dev/null #READ LOGO at bytes/s
echo -e "\e[0m" #RESET TERM COLOR
printf "\n\t\e[1;31m [ Initializing; Subspace transceiver.. ]\n\n\t [ Transceiver: [\e[1;5;32mREADY\e[0m\e[1;31m] ]\n\n\t [ Receiving long range transmission.. ]\n\n\n\e[0m" | pv -L12 2>/dev/null
processing() #processing function; slow character for added cinematic effect 15/20 bytes/s
{
curl -s $1 |jq -r -c '.results[] | select((.name) and .pilots!=[]) | {name, pilots}'\
|while read line;
do
echo -e "\e[33mStarship: $(echo $line | jq -c '.name')\e[0m"\
|pv -L15 2>/dev/null
echo -e "\e[178mPilots: \t\t\n$(echo $line | jq -c '.pilots' \
|while read url; do curl -s $(echo $url |tr -d '["]' | tr ',' '\n')\
|jq '.name' ;done) \e[0m"\
|pv -L20 2>/dev/null
done
}
while true
do
if [[ "$NEXT" =~ ^https://*/ ]] && [[ "$NEXT" != null ]]; #if next has https and is not null then run processing function and set NEXT to NEXT url
then
#echo "NEXT-> $NEXT"
processing $NEXT
NEXT=$(curl -s $NEXT |jq '.next | @text' | tr -d '"')
else
#echo DONE
processing $URL # Process first URL ENTRY Page
break
fi
done
DONE=$(date +%s)
echo -e "\a\n\t[ TRANSMISSION TIME: $(expr $DONE - $NOW)/seconds]\n" #Time ship/pilots api with out effect 22 seconds with effects 90 seconds
read -p "Press Return/Enter for extra content" #If interactive docker run -it NAME
#added cinematic effect 300 bytes/s and just for fun because I want you to remember me =) Rex
echo -e "\e[178m"
echo $intro |base64 -d |zcat |pv -L 300 2>/dev/null
echo -e "\e[0m"
data.sh
#!/bin/bash
logo='H4sIAMYJqFsCA31Uy27EIAy88xUoqOqB4NzpZhWp1956RUrUXiv1B/zx9YsQstl6k4ANHsaDtc6fbbIRuqEz6Gd1pzsnTcMyTn6Dp+ner2Y6tYC7SBBa2xUbWZ+8ZSNPffHoeTgjvbXpJRYdfpdkSlcIjyilPLDKXSVbgrWvDqWuiUakGH/ppadwGF2/WXnd5nH9hnGF3zl99XKt9TnI5M9yQeVF9j6Xubwtt2E4S0VEJl+4xKNSIBLuxAyHea3frz/Lzed7WR4FQzsWT2KxitIRSkrCBdY5EZ+ybMN1PxTSq5hmB7VIRnc80G9f//Tkg+OqG55nXHf2eXVnEWwPWNd4gJR8Sik3Iw/slupuZ8gQarsB6OY69sbRYSBkADgiOfJhHH9DCDNLCpoOZjnHiBjoiQFjjA8HEDETZd1eBvAtMbcZQTAGG0H0BAmUgtbzWlZ6BdAqd4TcsISQoXHENuRY0dgSFUYwjHCklHeo/WzCosqQaNEKR6LEdUlYB/k7AiHEe07C1pCcHIRZNISIuSLxgsK5SideglViUkcIUTQjL7BjQUUTMFaTszDma4sVixKz4OxsED8+FSsKmnsK0Bxig9WUyEI/m5KzBLtqp50Cet2x6a182lVpW+wN0oCbNc0MJsc9PagwHVjMdg7X2wHxx7k/GRy2R6sGAAA=' #LOGO
intro='H4sIAGYpqFsCA+w8a3PjuJHf9SuwVOlohyS4uWSzPmo48c4+4tk40dR67mrnRAmkLdqWVxYdShqPL4h+e7rxIMGXJHv2ruquDiNTFIhudDe6ge4GOIQQ9quUHiE8oJS8qMRxEAQDUc7OOKKCuwBLO8a3ZEnWJCdZOzYBicgEqrMzgVih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wMo2H7V/h/LxlnZT9QRi5zl6fzucPt6e/P7Gfjuf33S12C6IbhXNS9we7Hl93N6c/Th9uMNQIU+geb9n+uvju+dOnTiUbk3yCLsj1r43nl3+k8pxD3Y9XCG+SO7DQubV8uXnbNBFL04FOx8ZanUlMHvY73fm3ucERqxoLKnaAAzococ0hD1Jua1VTiwxxYltJlC8R5ooB/GpYvJZZNkQLo9OSOHHCD1uUB5W9OrM06tiyV017dnCcGIbrWu2Z4cEnq3UX/PWkcNFmPkT5zA7qE1fsG/pbl5dKOqjrZ49BUB4oykDWFpUzwLexpgYvyBKZkcEng+UaYFTqxPei+cik+1v9D8nx1VICFBXrWHmcIHsHbhNePsSMj4VlFBVuge2T+O540HZq3CYw+8tH7ll0EzBF49y03s6iM3iK8EimceG98KuVLjDVzK9HFUGAZNL4YpQ8y+WNFcHDTdZNkz7UtMMwDMA1IIfulHBMeFh14JJwUpYA2UnuCFQza9UaFIYAtDTmJruOnxCVCPB50ohsPsJ+4jLcaOOJiAj6WRY25kDxuTBak2S7JHVuk2O86E12ut5W4G5DOb80BNp4TwZkdsnDxwMq81z4UCnfyofAAgJrVprbB2ChhTTc92E7OFuZC9tGpnzrh1NwK4ePE8Dv1//L7J9UfmS/pOELXy37578RSyeq0GoAAA=='
cont='H4sIAM+XY1wAA1NwqizKz1MISq1Q8E0sKclILS9WiFWIVrAwMNQ1NTTQNTEwNgELBOcH5+SX67mnpmZXObjnJmbm6Dnn5ypwAQAb2zQ9QQAAAA=='
Dockerfile
FROM ubuntu:18.04
RUN apt-get update
RUN apt -y install curl jq bash grep pv gzip gawk
COPY star_Wars.sh /
COPY data.sh /
RUN chmod +x star_Wars.sh
ENTRYPOINT ./star_Wars.sh
393 Words
2019-11-05 01:39 +0000
Read other posts