tahmidrayat / shorturl Goto Github PK
View Code? Open in Web Editor NEWURL Shortner using www.tinyurl.com
Home Page: https://linktr.ee/tahmid.rayat
License: GNU General Public License v3.0
URL Shortner using www.tinyurl.com
Home Page: https://linktr.ee/tahmid.rayat
License: GNU General Public License v3.0
Kudos to Tahmid Rayat ;-)
#!/bin/bash
#
#
# shorten
#
# January 31 2021.
#
# Usage:-
# shorten <URL>
#
## Inspired by
## https://github.com/htr-tech/shorturl
#
#
printf " \e[0m\e[1;91m[\e[0m\e[1;97m~\e[0m\e[1;91m]\e[0m\e[1;93m Shortening Url...\e[0m\n"
shorturl=$(curl -s http://tinyurl.com/api-create.php?url=$1)
sleep 2
printf "\e[0m\n"
printf " \e[0m\e[1;91m[\e[0m\e[1;97m~\e[0m\e[1;91m]\e[0m\e[1;93m Done !!\e[0m\n"
printf "\e[0m\n"
printf ' \e[0m\e[1;91m[\e[0m\e[1;97m~\e[0m\e[1;91m]\e[0m\e[1;92m Shortened Url :\e[0m\e[1;93m %s \n' ${shorturl:8}
printf "\e[0m\n"
sleep 2
printf "\e[0m\n"
printf "\e[0m\n"
exit 1
#
#
#
Welcome to Termux!
Community forum: https://termux.com/community
Gitter chat: https://gitter.im/termux/termux
IRC channel: #termux on freenode
Working with packages:
* Search packages: pkg search <query>
* Install a package: pkg install <package>
* Upgrade packages: pkg upgrade
Subscribing to additional repositories:
* Root: pkg install root-repo
* Unstable: pkg install unstable-repo
* X11: pkg install x11-repo
Report issues at https://termux.com/issues
The Google Play version of the Termux app no longer
receives updates. For more information, visit:
https://wiki.termux.com/wiki/Termux_Google_Play
~ $ ./shorten.sh https://chromium.woolyss.com/
[~] Shortening Url...
[~] Done !!
[~] Shortened Url : tinyurl.com/yy45pp6n
~ $
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.