Skip to main content

A lightweight CLI tool + web app for remotely viewing images from any machine in your browser. It is well-suited for sharing your images remotely.

Project description

Telepic

Telepic

CI Status Sponsor: Support this project Version Python Versions License: Apache 2.0

Telepic – "tele" (distance) + "pic" (picture) – is a lightweight and easy-to-use CLI tool + Flask web app that allows you to remotely visualize images from a server (e.g. a VM or EC2) in your browser – wherever you are 🌍.

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.):

python 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:

python 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 MIT License.

🤝 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

telepic-0.1.0.tar.gz (12.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

telepic-0.1.0-py3-none-any.whl (11.5 kB view details)

Uploaded Python 3

File details

Details for the file telepic-0.1.0.tar.gz.

File metadata

  • Download URL: telepic-0.1.0.tar.gz
  • Upload date:
  • Size: 12.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for telepic-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0345292f1c9819c7e78089dbe223197bc6cac07b841602f92aeabb3f60378671
MD5 41cfbe4f7e2cec8f743b8bb964257e5b
BLAKE2b-256 613a4b656a721224818b8c73b8c7d0a49d2bb2e99ff060c2ca1d21f4ec46686b

See more details on using hashes here.

File details

Details for the file telepic-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: telepic-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 11.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for telepic-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7da8cecec486bb7238f2da821b4e1d59de17d98dcfe2b50cfacfd6c0eed4bfc0
MD5 77b7229d93ee2bc90ddae43d0e2f64aa
BLAKE2b-256 37e2f84c4870d5497d5584707e153d1ce954cb9f110a274fbe8ddf4a09dbbadb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page