We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e96e1d1 + 667494a commit cf1d6b8Copy full SHA for cf1d6b8
61/ShubhamAshish/URLShortner.py
@@ -0,0 +1,15 @@
1
+import streamlit as st
2
+import pyperclip
3
+import pyshorteners
4
+
5
6
7
+st.title("URL Shortner")
8
+st.write("Enter the URL to shorten")
9
+url = st.text_input("URL")
10
+if st.button("Shorten"):
11
+ shortener = pyshorteners.Shortener()
12
+ x = shortener.tinyurl.short(url)
13
+ st.write(x)
14
+ pyperclip.copy(x)
15
+ st.success('Copied to clipboard')
61/ShubhamAshish/requirements.txt
@@ -0,0 +1,3 @@
+streamlit
+pyperclip
+pyshorteners
0 commit comments