Skip to content

A lightweight web application for remotely viewing images from a remote computer through a web browser. ๐Ÿ–ผ๏ธ

License

Notifications You must be signed in to change notification settings

rafaelpadilla/telepic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

46 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Telepic

CI Status Version Python Versions License: Apache 2.0 Sponsor: Support us

Telepic (tele = distance + pic = picture) is a lightweight and easy-to-use CLI tool + Flask-based web application for sharing images from a remote machine or server (e.g. a VM or EC2 instance). With just one command, Telepic generates a shareable link or QR code, letting others instantly view your images in their browser.

No need to set up complex SSH tunnels or file syncing โ€” just run telepic <YOUR-IMAGE-FOLDER on the remote machine, and get a shareable link to view your images from anywhere!

Features โœจ

  • ๐Ÿ“ View images in any folder on a remote server
  • ๐Ÿ”„ Sort images alphabetically or shuffle them randomly
  • ๐Ÿ–ผ๏ธ Supports common formats: JPG, PNG, JPEG, etc.
  • ๐Ÿ”ข Paginate results: control how many images per page
  • ๐Ÿ”— Shareable public URL via localhost.run
  • ๐Ÿงพ Clean UI with filenames under each image

Requirements ๐Ÿ“‹

  • Python 3.11+ ๐Ÿ

โš™๏ธ Installation

Option 1: Install from PyPI

pip install telepic

Option 2: Install from source

  1. Clone this repository:
git clone https://github.com/rafaelpadilla/telepic.git
cd telepic
pip install -e .

๐Ÿš€ Usage

Run the server on your remote machine (VM, EC2, etc.):

telepic <DIRECTORY-WITH-IMAGES> [OPTIONS]

Options:
  --n INTEGER  Number of images to display per page (default: 20)
  --port INTEGER            Port to run the server on (default: 5000)
  --scrambled              Display images in random order instead of alphabetically

Example:

telepic /path/to/images --n 30 --port 5000 --scrambled

This will start the server and generate a public URL via localhost.run. Open it in your browser and you're good to go!

๐Ÿงช Testing

First, install the package with development dependencies:

pip install -e .[dev]

Then run the tests:

./bin/lint && ./bin/test

๐Ÿ“ License

This project is licensed under the Apache 2.0.

๐Ÿค Contribution

Contributions are welcome! ๐Ÿ™Œ

Found a bug or have a feature idea? Feel free to open an issue or a pull request.

Check out our CONTRIBUTING.md to get started.

About

A lightweight web application for remotely viewing images from a remote computer through a web browser. ๐Ÿ–ผ๏ธ

Resources

License

Contributing

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Contributors 2

  •  
  •