/upload

Website

Primary LanguageHTMLApache License 2.0Apache-2.0

Upload Image to Telegra.ph

This project provides a simple HTML form that allows users to upload images to Telegra.ph. The form submits the image to Telegra.ph's upload endpoint and opens the result in a new tab.

Features

  • File Upload: Allows users to upload image files (up to 5MB) to Telegra.ph.
  • Simple Design: Clean and user-friendly interface.

Usage

  1. Open the Page: Load the HTML file in a web browser.
  2. Select an Image: Click the "Choose File" button to select an image file from your computer.
  3. Upload the Image: Click the "Click to Upload" button to upload the selected image to Telegra.ph.
  4. View the Result: The upload process will open a new tab with the image URL from Telegra.ph.

Code Overview

  • HTML Form: The form is configured to send a POST request to https://telegra.ph/upload with the selected image.
  • CSS Styling: Provides basic styling for the form and page to ensure a clean and responsive design.

Contributing

Feel free to submit issues or pull requests if you have suggestions or improvements for this project.

License

This project is licensed under the MIT License.

Contact

For any questions or feedback, please contact ME.