Metadata-Version: 2.1
Name: MyHumbleSelf
Version: 0.1.0
Summary: Show your webcam image on the desktop for presentations.
Author-email: dynobo <dynobo@mailbox.org>
Project-URL: Source, https://github.com/dynobo/myhumbleself
Keywords: webcam,camera,utility,tool,presentation,screencast
Classifier: Development Status :: 4 - Beta
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Topic :: Utilities
Classifier: Intended Audience :: End Users/Desktop
Classifier: Operating System :: POSIX :: Linux
Requires-Python: >=3.12
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: PyGObject==3.48.2
Requires-Dist: opencv-python-headless==4.10.0.84
Provides-Extra: dev
Requires-Dist: build==1.2.1; extra == "dev"
Requires-Dist: mypy==1.11.1; extra == "dev"
Requires-Dist: opencv-stubs==0.0.10; extra == "dev"
Requires-Dist: pre-commit==3.8.0; extra == "dev"
Requires-Dist: pytest==8.3.2; extra == "dev"
Requires-Dist: pytest-cov==5.0.0; extra == "dev"
Requires-Dist: pytest-xvfb==3.0.0; extra == "dev"
Requires-Dist: ruff==0.5.5; extra == "dev"
Requires-Dist: pydeps==1.12.20; extra == "dev"
Requires-Dist: code2flow==2.5.1; extra == "dev"
Requires-Dist: tbump==6.11.0; extra == "dev"

# MyHumbleSelf

**Show your webcam image on your desktop during presentations or screencasts. (Linux
only 🐧)**

<p align="center"><br>
<img alt="Tests passing" src="https://github.com/dynobo/myhumbleself/workflows/Test/badge.svg">
<a href="https://github.com/dynobo/myhumbleself/blob/main/LICENSE"><img alt="License: MIT" src="https://img.shields.io/badge/License-GPL3-blue.svg"></a>
<a href="https://github.com/psf/black"><img alt="Code style: black" src="https://img.shields.io/badge/Code%20style-black-%23000000"></a>
<a href='https://coveralls.io/github/dynobo/myhumbleself'><img src='https://coveralls.io/repos/github/dynobo/myhumbleself/badge.svg' alt='Coverage Status' /></a>
</p>

![MyHumbleSelf Screenshot](https://raw.githubusercontent.com/dynobo/myhumbleself/main/resources/screenshot-00.png)

## Installation

- [Python Package from PyPi](https://pypi.org/project/myhumbleself/) and its
  [prerequisites](#prerequisites)!

## Usage

✨
**[Watch the screencast](https://raw.githubusercontent.com/dynobo/myhumbleself/main/resources/screencast.webm)**
✨

**Quick start:**

- Launch MyHumbleSelf
- Resize the window and move it to the desired location
- Set it to "always on top" via your window manager (right-click on titlebar)
- Hover the webcam image and click the "eye"-button on top right to hide the window
  controls

**Some notable features:**

- Use face tracking to keep your head in the center
- Choose from a variety of shape-masks to add some style

## Frequently Asked Questions

**1) How can I display my webcam stream in MyHumbleSelf _and_ in a video conferencing
tool at the same time?**

You can use [v4l2loopback](https://github.com/umlaeute/v4l2loopback) to create a virtual
webcam that you can access by multiple applications at the same time.

**2) What should I do if I need more features?**

If you think it is an important basic feature, open a
[feature request](https://github.com/dynobo/myhumbleself/issues/new). Otherwise,
consider using a tool like [OBS Studio](https://obsproject.com/), which is much more
powerful (but a bit more difficult to use).

## Contributing

You are very welcome to contribute to this project! However, before you invest a lot of
time in a contribution, it might be worth
[sharing your idea in advance](https://github.com/dynobo/myhumbleself/issues) to avoid
an unnecessary disappointment.

### Development Setup

**Prerequisites:** <a name="prerequisites"></a>

- Python 3.12+
- GTK 4.6+ and related dev packages:
  ```sh
  sudo apt-get install \
     libgirepository1.0-dev \
     libcairo2-dev \
     python3-gi \
     gobject-introspection \
     libgtk-4-dev
  ```

**Setup your version of the repository:**

1. [Fork the project's repository](https://github.com/dynobo/myhumbleself/fork).
2. Copy your fork to the local file system: \
   `git clone https://github.com/<YOUR-USERNAME>/myhumbleself.git`

**Setup Virtual Environment:**

1. Navigate into the repository root directory: \
   `cd myhumbleself`
2. Create the virtual environment: \
   `python -m venv .venv`
3. Activate the environement: \ `source .venv/bin/activate`

**Install dependencies:**

1. Install the package, it's dependencies, and development dependencies in editable
   mode: \
   `pip install -e '.[dev]'`
2. Verify installation by launching MyHumbleSelf: \
   `python myhumbleself/app.py`

**Run checks and tests:**

1. Run all project checks locally, to verify a correct setup of the dev environment: \
   `pre-commit run --all-files`
2. You should run those checks before doing any `git commit` to ensure your change
   doesn't break anything. You can do this automatically by installing them as git hook:
   \
   `pre-commit install`

## Design Principles

- **No network connection**<br>Everything should run locally without any network
  communication.
- **Simplicity**<br>Focus on key features. Keep the UI simple. Avoid text in the UI if
  possible.
- **Dependencies**<br>The less dependencies, the better.

## Certification

![WOMM](https://raw.githubusercontent.com/dynobo/myhumbleself/main/resources/badge.png)
