An open API service indexing awesome lists of open source software.

https://github.com/apneduniya/vity-device

An AI assistant for cross-device control, automating actions seamlessly between devices.
https://github.com/apneduniya/vity-device

bot capx capxai capxai-hackquest claude computer-control gemeni hackquest js openai python telegram-bot websocket

Last synced: about 2 months ago
JSON representation

An AI assistant for cross-device control, automating actions seamlessly between devices.

Awesome Lists containing this project

README

        

Vity Device ๐Ÿค–

A telegram bot which will help you to connect your devices and automate its actions seamlessly between devices ๐Ÿ”ฅ

## ๐Ÿ“‹ Table of Contents
- [Demo](#-demo)
- [Features](#-features)
- [Prerequisites](#-prerequisites)
- [Steps to Run](#-steps-to-run)
- [Project structure](#%EF%B8%8F-project-structure)
- [Contributing](#-contributing)
- [Acknowledgments](#-acknowledgments)
- [License](#-license)

## ๐ŸŽฅ DEMO

[![demo video](https://img.youtube.com/vi/PL2cr0tVX1U/0.jpg)](https://www.youtube.com/watch?v=PL2cr0tVX1U)

## ๐Ÿ“™ Features
This telegram bot agent can:

- Interact with nearly all apps and browsers.
- Integrated with **GPT-4o, Gemini Pro Vision, Claude 3 and LLaVa.**
- **Future plan:** Send response back to the commander.
- **Future plan:** Connect multiple mobile phones and tablets remotely at once.

## ๐Ÿซณ Prerequisites
You should have

- [Python 3.11 or higher](https://www.python.org/downloads/)
- API key of any model from **GPT-4o, Gemini Pro Vision, Claude 3 and LLaVa.**

## ๐Ÿ‘ฃ Steps to Run
**Navigate to the Project Directory:**
Change to the directory where the project files are located. For example:
```shell
cd path/to/project/directory
```

1. Change the directory.

```bash
cd host
```

2. Create a virtual environment.

```bash
python3 virtualenv venv
```

3. Activate the virtual environment.

```bash
source ./venv/bin/activate
```

4. Install dependencies from `requirements.txt`

```bash
pip install -r requirements.txt
```

5. Configure environment variables

1. Copy `.env.example` to `.env`.
2. Fill in the `.env` file with the necessary environment variables.

6. Start the server

```bash
python3 main.py
```

## ๐Ÿ›๏ธ Project structure

```bash
โ”œโ”€โ”€ .env.local.example
โ”œโ”€โ”€ .eslintrc.json
โ”œโ”€โ”€ .gitignore
โ”œโ”€โ”€ README.md
โ”œโ”€โ”€ bun.lockb
โ”œโ”€โ”€ components.json
โ”œโ”€โ”€ host
โ”‚ โ”œโ”€โ”€ .env.example
โ”‚ โ”œโ”€โ”€ .gitignore
โ”‚ โ”œโ”€โ”€ agent.py
โ”‚ โ”œโ”€โ”€ listner.py
โ”‚ โ”œโ”€โ”€ main.py
โ”‚ โ”œโ”€โ”€ operate
โ”‚ โ”‚ โ”œโ”€โ”€ __init__.py
โ”‚ โ”‚ โ”œโ”€โ”€ config.py
โ”‚ โ”‚ โ”œโ”€โ”€ exceptions.py
โ”‚ โ”‚ โ”œโ”€โ”€ main.py
โ”‚ โ”‚ โ”œโ”€โ”€ models
โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ __init__.py
โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ apis.py
โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ prompts.py
โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ weights
โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ __init__.py
โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ best.pt
โ”‚ โ”‚ โ”œโ”€โ”€ operate.py
โ”‚ โ”‚ โ””โ”€โ”€ utils
โ”‚ โ”‚ โ”œโ”€โ”€ __init__.py
โ”‚ โ”‚ โ”œโ”€โ”€ label.py
โ”‚ โ”‚ โ”œโ”€โ”€ misc.py
โ”‚ โ”‚ โ”œโ”€โ”€ ocr.py
โ”‚ โ”‚ โ”œโ”€โ”€ operating_system.py
โ”‚ โ”‚ โ”œโ”€โ”€ screenshot.py
โ”‚ โ”‚ โ””โ”€โ”€ style.py
โ”‚ โ”œโ”€โ”€ requirements.txt
โ”‚ โ”œโ”€โ”€ screenshots
โ”‚ โ”œโ”€โ”€ test.py
โ”‚ โ””โ”€โ”€ temp.py
โ”œโ”€โ”€ next-env.d.ts
โ”œโ”€โ”€ next.config.ts
โ”œโ”€โ”€ package.json
โ”œโ”€โ”€ postcss.config.mjs
โ”œโ”€โ”€ public
โ”‚ โ”œโ”€โ”€ file.svg
โ”‚ โ”œโ”€โ”€ globe.svg
โ”‚ โ”œโ”€โ”€ next.svg
โ”‚ โ”œโ”€โ”€ vercel.svg
โ”‚ โ””โ”€โ”€ window.svg
โ”œโ”€โ”€ src
โ”‚ โ”œโ”€โ”€ app
โ”‚ โ”‚ โ”œโ”€โ”€ api
โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ prompt
โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ route.ts
โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ verify
โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ route.ts
โ”‚ โ”‚ โ”œโ”€โ”€ favicon.ico
โ”‚ โ”‚ โ”œโ”€โ”€ fonts
โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ GeistMonoVF.woff
โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ GeistVF.woff
โ”‚ โ”‚ โ”œโ”€โ”€ globals.css
โ”‚ โ”‚ โ”œโ”€โ”€ layout.tsx
โ”‚ โ”‚ โ””โ”€โ”€ page.tsx
โ”‚ โ”œโ”€โ”€ components
โ”‚ โ”‚ โ”œโ”€โ”€ blocks
โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ expandable-card-demo-grid.jsx
โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ expandable-card-demo-standard.jsx
โ”‚ โ”‚ โ”œโ”€โ”€ common
โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ DotBackground.tsx
โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ InputWithButton.tsx
โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ Loader.tsx
โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ PromptSuggestionButtton.tsx
โ”‚ โ”‚ โ”œโ”€โ”€ theme-provider.tsx
โ”‚ โ”‚ โ””โ”€โ”€ ui
โ”‚ โ”‚ โ”œโ”€โ”€ alert.tsx
โ”‚ โ”‚ โ”œโ”€โ”€ animated-modal.tsx
โ”‚ โ”‚ โ”œโ”€โ”€ badge.tsx
โ”‚ โ”‚ โ”œโ”€โ”€ button.tsx
โ”‚ โ”‚ โ”œโ”€โ”€ dialog.tsx
โ”‚ โ”‚ โ”œโ”€โ”€ flip-words.tsx
โ”‚ โ”‚ โ”œโ”€โ”€ input.tsx
โ”‚ โ”‚ โ”œโ”€โ”€ select.tsx
โ”‚ โ”‚ โ”œโ”€โ”€ toast.tsx
โ”‚ โ”‚ โ””โ”€โ”€ toaster.tsx
โ”‚ โ”œโ”€โ”€ context
โ”‚ โ”‚ โ”œโ”€โ”€ PrivyProvider.tsx
โ”‚ โ”‚ โ””โ”€โ”€ UserAuthContext.tsx
โ”‚ โ”œโ”€โ”€ hooks
โ”‚ โ”‚ โ”œโ”€โ”€ use-outside-click.js
โ”‚ โ”‚ โ”œโ”€โ”€ use-toast.js
โ”‚ โ”‚ โ””โ”€โ”€ use-toast.ts
โ”‚ โ”œโ”€โ”€ lib
โ”‚ โ”‚ โ”œโ”€โ”€ ably.ts
โ”‚ โ”‚ โ””โ”€โ”€ utils.ts
โ”‚ โ”œโ”€โ”€ providers
โ”‚ โ”‚ โ””โ”€โ”€ index.tsx
โ”‚ โ””โ”€โ”€ utils
โ”‚ โ”œโ”€โ”€ api.ts
โ”‚ โ””โ”€โ”€ setTokenCookies.ts
โ”œโ”€โ”€ tailwind.config.ts
โ””โ”€โ”€ tsconfig.json
```

## ๐Ÿค— Contributing
1. Fork the repository.
2. Create a new branch: `git checkout -b feature-name`.
3. Make your changes.
4. Push your branch: `git push origin feature-name`.
5. Create a pull request.

## โœ Acknowledgments
This project couldn't be possible if [CapxAI](https://www.capx.ai/) didn't be there!

Even I had many issues while making this project and this was my first time to make a telegram bot but there team helped me a lot to over come the issues, gave me suggestions and I am really thankful to it โค๏ธโ€๐Ÿฉน!

## ๐Ÿงพ License
This project is licensed under the [MIT License](LICENSE).