semvec/pypi-packages huggingface dataset:
tg-webm-converter 0.1.1
Convert images to Telegram WebM stickers.
License: MIT
Requires Python: <4.0,>=3.12
Keywords: webm, sticker, icon, conversion, ffmpeg

# Telegram WebM Converter

> This project started off as
> a [shell script](https://github.com/7591yj/converts/blob/main/batch_convert_telegram_webm.sh) for my own personal
> needs
> , so please do expect some rough edges.<br>
> If you find any bugs or have suggestions, please open an issue.
> Thank you for your feedback!

Convert images to Telegram WebM stickers.

## Features

- Convert an image to 100x100 WebM icon (max 32KB)
- Convert images to 512x512 WebM stickers (max 256KB)
- Batch processing support
- Automatic size optimization

## Requirements

- Python 3.8+
- FFmpeg

This application requires [FFmpeg](https://ffmpeg.org/) to be installed on your system.
FFmpeg is open-source software licensed under the LGPLv2.1/GPLv2 (or later).
Please refer to the FFmpeg website for more details on its licensing.

## Installation

```bash
pip install tg-webm-converter
```

## Usage

```bash
# Convert all images in current directory
tg-webm-converter

# Convert specific file to icon, others to stickers
tg-webm-converter -i icon.png

# Convert only one file to sticker
tg-webm-converter -f image.jpg

# Convert only one file to icon
tg-webm-converter --icon-file icon.png
```

## Build from Source

### Prerequisites

- Python 3.8+
- Poetry: `curl -sSL https://install.python-poetry.org | python3 -`
- [FFmpeg](https://ffmpeg.org/): As mentioned above, FFmpeg is a core dependency. Ensure it's installed and accessible
  in your system's PATH.

### Setup

1. Clone the repository

    ```bash
    git clone https://github.com/7591yj/tg-webm-converter.git
    cd tg-webm-converter
    ```

2. Install Dependencies with Poetry

   Poetry will automatically create a virtual environment for the project and install all required dependencies.

    ```bash
    poetry install
    ```

### Running from Source

Once the development environment is set up, you can run the tg-webm-converter command directly using Poetry's run
command:

```bash
# Run the application (same as `tg-webm-converter` if installed via pip)
poetry run tg-webm-converter

# Example: Convert all images in current directory
poetry run tg-webm-converter

# Example: Convert specific file to icon
poetry run tg-webm-converter --icon-file icon.png

# Run tests
poetry run pytest
```

## Future Plans

- Consider a GUI version for easier use.
- Optimize performance for large batch conversions. 
- Explore options for even smaller file sizes.

## License

MIT License
offline-chat 0.1.1
Offline P2P chat with AES end-to-end encryption, cross-platform.
License: MIT
Requires Python: >=3.8

# Offline Chat

Offline Chat adalah sistem komunikasi peer-to-peer (P2P) **100% offline** dengan AES end-to-end encryption.  
Dirancang agar bisa dijalankan di **Android (Termux)** atau **Linux/PC** masih versi beta mungkin pesan tidak terkirim atau gagal aku akan mengupdate nya seiring waktu tapi untuk complain silakan lewat email jika anda menemukan kendala. 

### Fitur
- Offline P2P, tanpa internet, Wi-Fi, Bluetooth, NFC, USB, atau SD card  
- User register/login dengan AES key unik  
- Mutual contact → hanya bisa kirim ke teman  
- Listener realtime → pesan masuk langsung muncul  
- Notifikasi cross-platform:
  - Termux Android → termux-notification  
  - Linux → notify-send  
  - Fallback → terminal print  

##Cara pakai

- offline_chat

- Pilih Register atau Login

- Tambah teman /add USERID

- Kirim pesan /send USERID pesanmu

- Lihat daftar teman /list

- Keluar /exit

### Cara install
```bash
pip install offline_chat