-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #22 from aviiciii/dev
Code Refactor and Readme added
- Loading branch information
Showing
24 changed files
with
45 additions
and
663 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,44 @@ | ||
# shortlink | ||
# Shorten! | ||
|
||
NOTE: Don't make in public. KEYS EXPOSED | ||
The Shorten Web Application allows users to generate shortened URLs for their long URLs. It is a simple and easy-to-use tool built using HTML, CSS, and JavaScript. | ||
|
||
## Features | ||
|
||
- Generates short URLs for long URLs to make them more manageable and shareable. | ||
- Uses the short.io API service to handle URL shortening and redirection. | ||
- Provides a clean and intuitive user interface for quick URL shortening. | ||
|
||
## Prerequisites | ||
|
||
Before getting started, make sure you have the following: | ||
|
||
- A domain or subdomain to host the application. | ||
- Registration of your domain/subdomain with short.io to obtain a public API key. | ||
|
||
## Installation and Setup | ||
|
||
1. Fork this repository to your GitHub account. | ||
2. Clone the forked repository to your local machine. | ||
3. Register your domain/subdomain with short.io to generate a public API key. | ||
4. Open the `assets/script.js` file in a text editor. | ||
5. Replace the placeholder API key in the `'authorization'` field with your short.io API key. | ||
6. Rename the domain `'link.laavesh.ml'` to your own domain or subdomain in the following files: | ||
- `index.html` | ||
- `assets/script.js` | ||
|
||
## Usage | ||
|
||
1. Deploy the application to your domain or subdomain. | ||
2. Visit your domain or subdomain in a web browser. | ||
3. Enter a long URL in the input field. | ||
4. Click on the "Shorten" button. | ||
5. The application will generate a shortened URL using the short.io API and display it to the user. | ||
6. Copy the shortened URL and use it wherever you need. | ||
|
||
## Contributing | ||
|
||
Contributions are welcome! If you have any suggestions, improvements, or bug fixes, feel free to create a pull request. | ||
|
||
## License | ||
|
||
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file was deleted.
Oops, something went wrong.
Empty file.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Empty file.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Empty file.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.