Skip to content

Sticky-Piston-Studios/Sticky-Upload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sticky-Upload

A very simple HTTP server for uploading content used for photos sharing between phone and PC.

Image Upload with Thumbnails

This project allows you to upload images and display thumbnails using a simple web interface. It's built with TypeScript for both the server and client components.

Prerequisites

  • Node.js installed on your machine
  • Git installed on your machine

Steps to Use the Project

1. Clone the Repository

git clone https://github.com/your-username/your-repo.git
cd your-repo

2. Install Dependencies

npm install

3. Build the Project

npm run build

4. Start the Server

node dist/photo-server.js

This will start the server at http://localhost:3000.

5. Access the Web Interface

Open your web browser and go to http://localhost:3000 to access the webpage - on different devices, please replace the localhost with the IP of the PC hosting the server, e.g.: http://192.168.0.3:3000.

6. Select Images

Click on the "Choose File" button to select images from your local machine.

7. View Thumbnails

Thumbnails of the selected images will be displayed on the page immediately.

8. Upload Images

Click on the "Upload Photos" button to simulate the upload process. The thumbnails will move to the "uploaded" section.

Additional Notes

Customize the project as needed for your specific use case.

Feel free to reach out if you have any questions or encounter issues.

Happy coding! 🚀

About

A very simple HTTP server for uploading content used for photos sharing between phone and PC.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors