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 (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
- 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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file telepic-1.1.0.tar.gz.
File metadata
- Download URL: telepic-1.1.0.tar.gz
- Upload date:
- Size: 171.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
86c4a367141f60317aa5e426e56915ed28650c51db86e95847109e737b5b1f56
|
|
| MD5 |
7a7972c7460e6a04681fdb78a18b1054
|
|
| BLAKE2b-256 |
7c32e10f32cc92fc4a1443d8bc3b2162271d92855f1b206c50827846538c23a9
|
File details
Details for the file telepic-1.1.0-py3-none-any.whl.
File metadata
- Download URL: telepic-1.1.0-py3-none-any.whl
- Upload date:
- Size: 167.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
44b673f64f7fe37fdb017edb488b786cf5f0d712a24d21f1f773e46ce3f5c24b
|
|
| MD5 |
3c65fb8c62e5007a88a299bb0650cde7
|
|
| BLAKE2b-256 |
e4ca0880cf2df7a266447fdbea5a0f8dc47e22966da9b40f9fe7b3471466a1e0
|