├── .browserslistrc
├── .editorconfig
├── .eslintrc.js
├── .github
└── ISSUE_TEMPLATE
│ ├── bug_report.md
│ └── feature_request.md
├── .gitignore
├── Dockerfile
├── LICENSE.md
├── README.md
├── README.pt_BR.md
├── bin
└── evolution-manager
├── docker-compose.yml
├── docs
├── en
│ ├── cli.md
│ ├── docker.md
│ ├── general
│ │ └── node-install.md
│ └── index.md
└── pt_br
│ ├── cli.md
│ ├── docker.md
│ ├── general
│ └── node-install.md
│ └── index.md
├── index.html
├── jsconfig.json
├── lib
├── api
│ ├── changeVersion.js
│ ├── index.js
│ ├── migrateToMongo
│ │ ├── index.js
│ │ └── migrators
│ │ │ ├── chats.js
│ │ │ ├── contacts.js
│ │ │ ├── instance.js
│ │ │ ├── messageUpdate.js
│ │ │ └── newMessage.js
│ ├── setup.js
│ ├── uninstall.js
│ └── view.router.ts.patch
├── cli.js
├── help.js
├── pm2
│ ├── delete.js
│ ├── index.js
│ ├── reset.js
│ ├── setup.js
│ ├── start.js
│ └── stop.js
├── postinstall.js
├── server.js
└── utils
│ ├── build.js
│ ├── detectPm2ProcessId.js
│ ├── revertToVersion.js
│ ├── verbose.js
│ ├── verifyEvolutionInstallation.js
│ └── verifyPm2Installation.js
├── package-lock.json
├── package.json
├── public
└── favicon.ico
├── src
├── App.vue
├── assets
│ ├── chatwoot
│ │ ├── chatwoot_api.png
│ │ ├── chatwoot_api_1.png
│ │ ├── chatwoot_api_2.png
│ │ └── chatwoot_api_3.png
│ ├── logo.png
│ └── pix.svg
├── components
│ ├── HelloWorld.vue
│ ├── global
│ │ ├── EventsSelect.vue
│ │ └── HelpTooltip.vue
│ ├── instance
│ │ ├── InstanceBody.vue
│ │ ├── InstanceHeader.vue
│ │ ├── message
│ │ │ ├── HasWhatsapp.vue
│ │ │ ├── MyChats.vue
│ │ │ ├── MyContacts.vue
│ │ │ ├── MyGroups.vue
│ │ │ └── OpenSendMessage.vue
│ │ ├── profile
│ │ │ ├── BasicInfo.vue
│ │ │ ├── ConnectionAlert.vue
│ │ │ ├── Privacy.vue
│ │ │ └── ProfilePhoto.vue
│ │ └── settings
│ │ │ ├── Chatwoot.vue
│ │ │ ├── Options.vue
│ │ │ ├── Rabbitmq.vue
│ │ │ ├── Typebot.vue
│ │ │ ├── Webhook.vue
│ │ │ └── Websocket.vue
│ └── modal
│ │ ├── About.vue
│ │ ├── ChatwootConfig.vue
│ │ ├── ConnectPhone.vue
│ │ ├── Contribute.vue
│ │ ├── CreateInstance.vue
│ │ ├── GroupAddParticipantModal.vue
│ │ ├── GroupModal.vue
│ │ ├── InstanceApiKey.vue
│ │ ├── SendMessage.vue
│ │ ├── Settings.vue
│ │ ├── ShareConnection.vue
│ │ └── TypebotSessions.vue
├── helpers
│ ├── copyToClipboard.js
│ ├── deepMerge.js
│ └── mappers
│ │ ├── status.js
│ │ └── typebotStatus.js
├── http-common.js
├── i18n
│ ├── en.js
│ ├── es.js
│ └── pt.js
├── layouts
│ ├── default
│ │ ├── AppBar.vue
│ │ ├── AppFooter.vue
│ │ ├── Default.vue
│ │ └── View.vue
│ └── doc
│ │ ├── AppBar.vue
│ │ ├── AppFooter.vue
│ │ ├── Index.vue
│ │ └── View.vue
├── main.js
├── plugins
│ ├── index.js
│ └── vuetify.js
├── router
│ └── index.js
├── services
│ ├── instanceChatController.js
│ ├── instanceController.js
│ ├── instanceGroupController.js
│ ├── instanceProfileController.js
│ └── instanceSettingsController.js
├── store
│ ├── app.js
│ ├── doc.js
│ └── index.js
├── styles
│ └── settings.scss
└── views
│ ├── Doc.vue
│ ├── Home.vue
│ └── Instance.vue
├── vercel.json
└── vite.config.js
/.browserslistrc:
--------------------------------------------------------------------------------
1 | > 1%
2 | last 2 versions
3 | not dead
4 | not ie 11
5 |
--------------------------------------------------------------------------------
/.editorconfig:
--------------------------------------------------------------------------------
1 | [*.{js,jsx,ts,tsx,vue}]
2 | indent_style = space
3 | indent_size = 2
4 | trim_trailing_whitespace = true
5 | insert_final_newline = true
6 |
--------------------------------------------------------------------------------
/.eslintrc.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | root: true,
3 | env: {
4 | node: true,
5 | },
6 | extends: [
7 | 'plugin:vue/vue3-essential',
8 | 'eslint:recommended',
9 | ],
10 | }
11 |
--------------------------------------------------------------------------------
/.github/ISSUE_TEMPLATE/bug_report.md:
--------------------------------------------------------------------------------
1 | ---
2 | name: Bug report
3 | about: Create a report to help us improve
4 | title: ''
5 | labels: ''
6 | assignees: ''
7 |
8 | ---
9 |
10 | **Describe the bug**
11 | A clear and concise description of what the bug is.
12 |
13 | **To Reproduce**
14 | Steps to reproduce the behavior:
15 | 1. Go to '...'
16 | 2. Click on '....'
17 | 3. Scroll down to '....'
18 | 4. See error
19 |
20 | **Expected behavior**
21 | A clear and concise description of what you expected to happen.
22 |
23 | **Screenshots**
24 | If applicable, add screenshots to help explain your problem.
25 |
26 | **Desktop (please complete the following information):**
27 | - OS: [e.g. iOS]
28 | - Browser [e.g. chrome, safari]
29 | - Version [e.g. 22]
30 |
31 | **Smartphone (please complete the following information):**
32 | - Device: [e.g. iPhone6]
33 | - OS: [e.g. iOS8.1]
34 | - Browser [e.g. stock browser, safari]
35 | - Version [e.g. 22]
36 |
37 | **Additional context**
38 | Add any other context about the problem here.
39 |
--------------------------------------------------------------------------------
/.github/ISSUE_TEMPLATE/feature_request.md:
--------------------------------------------------------------------------------
1 | ---
2 | name: Feature request
3 | about: Suggest an idea for this project
4 | title: ''
5 | labels: ''
6 | assignees: ''
7 |
8 | ---
9 |
10 | **Is your feature request related to a problem? Please describe.**
11 | A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12 |
13 | **Describe the solution you'd like**
14 | A clear and concise description of what you want to happen.
15 |
16 | **Describe alternatives you've considered**
17 | A clear and concise description of any alternative solutions or features you've considered.
18 |
19 | **Additional context**
20 | Add any other context or screenshots about the feature request here.
21 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | node_modules
3 | /dist
4 |
5 | # local env files
6 | .env.local
7 | .env.*.local
8 |
9 | # Log files
10 | npm-debug.log*
11 | yarn-debug.log*
12 | yarn-error.log*
13 | pnpm-debug.log*
14 |
15 | # Editor directories and files
16 | .idea
17 | .vscode
18 | *.suo
19 | *.ntvs*
20 | *.njsproj
21 | *.sln
22 | *.sw?
23 | .vercel
24 |
--------------------------------------------------------------------------------
/Dockerfile:
--------------------------------------------------------------------------------
1 | # Use a imagem oficial do Node.js 20 como base
2 | FROM node:20-slim
3 |
4 | WORKDIR /usr/src/app
5 |
6 | RUN npm install -g vite
7 |
8 | RUN ln -s /usr/local/bin/node /usr/bin/node
9 |
10 | ENTRYPOINT ["npx", "evolution-manager", "server", "start"]
11 |
12 | EXPOSE 9615
13 |
--------------------------------------------------------------------------------
/LICENSE.md:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2023 Gabriel Pastori
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Evolution Manager
2 |
3 | ## Introduction
4 |
5 | Evolution Manager is an open-source management tool for the Evolution API, designed to streamline the administration and monitoring of instances. It can be accessed online at [Evolution Manager](https://github.com/gabrielpastori1/evolution-manager).
6 |
7 | ---
8 |
9 | 🇧🇷 **Atenção, Comunidade Brasileira!** 🇧🇷
10 |
11 | Se você é um desenvolvedor ou usuário brasileiro interessado no Evolution Manager, temos boas notícias! Agora você pode acessar a documentação completa do projeto em português. Isso facilitará seu entendimento e uso desta ferramenta incrível. Clique no link abaixo para ler o README em português:
12 |
13 | 🔗 [Leia o README em Português](https://github.com/gabrielpastori1/evolution-manager/blob/main/README.pt_BR.md)
14 |
15 | ---
16 |
17 | ## Features
18 |
19 | - **Instance Management**: Create, manage, and delete instances.
20 | - **Instance Settings**: Customize behavior settings (e.g., disabling calls, always-online mode), webhook integration, RabbitMQ, WebSocket, Chatwoot, and Typebot configurations.
21 | - **User Utilities**: Check user numbers, search for conversations, and find groups.
22 |
23 | ## Limitations
24 |
25 | - The version hosted on Vercel requires the server to have an SSL certificate.
26 |
27 | ## Technology
28 |
29 | - The project is built using Vue.js v3 and Vuetify.
30 |
31 | ## Evolution-Manager CLI - Documentation
32 |
33 | For detailed information on how to use the Evolution-Manager CLI, please refer to the documentation available at the following links:
34 |
35 | 🔗 Full Documentation: [Documentation in English](https://github.com/gabrielpastori1/evolution-manager/blob/main/docs/en/cli.md)
36 |
37 | ## Docker Image - Documentation
38 |
39 | For detailed information on using the Docker image, including configurations and examples, please refer to our comprehensive documentation. You will find step-by-step instructions, as well as helpful tips to make the most of the Evolution Manager's Docker image.
40 |
41 | 🔗 Full Documentation: [Documentation in English](https://github.com/gabrielpastori1/evolution-manager/tree/main/docs/en/docker.md)
42 |
43 | ## Self-Hosted - Evolution Manager CLI and PM2
44 |
45 | ### Straight to the Point: Quick Setup with PM2
46 |
47 | To quickly install Evolution Manager globally and set it up with PM2, follow these commands:
48 |
49 | 1. **Install Evolution Manager Globally**:
50 |
51 | ```bash
52 | npm install -g evolution-manager
53 | ```
54 |
55 | 2. **Set Up PM2 for Evolution Manager**:
56 |
57 | ```bash
58 | evolution-manager pm2 setup
59 | ```
60 |
61 | These two steps will install the Evolution Manager CLI globally on your system and configure it to run with PM2, a powerful process manager.
62 |
63 | ### Installation and Configuration
64 |
65 | These two steps will install the Evolution Manager CLI globally on your system and configure it to run with PM2, a powerful process manager.
66 |
67 | 1. **Install Evolution Manager Globally**:
68 | - Ensure Node.js and NPM are installed on your system.
69 | - Install Evolution Manager globally using NPM to access the CLI (Command Line Interface):
70 |
71 | ```bash
72 | npm install -g evolution-manager
73 | ```
74 |
75 | 2. **Using the CLI**:
76 | - After installation, access the CLI commands by typing `evolution-manager` in your terminal.
77 | - Available commands include:
78 | - `help`: Displays a list of available commands and their descriptions.
79 | - `server`: Server-related operations.
80 | - `start [--port=9615]`: Starts the server on the specified port (default: 9615).
81 | - `build`: Builds the project.
82 | - `pm2`: Manages the process with PM2.
83 | - `setup`: Sets up PM2 for the project.
84 | - `start`: Starts the service with PM2.
85 | - `stop`: Stops the service in PM2.
86 | - `restart`: Restarts the service in PM2.
87 | - `delete`: Removes the service from PM2.
88 |
89 | 3. **Running the Project with PM2**:
90 | - To set up and manage the service with PM2, start with the setup command:
91 |
92 | ```bash
93 | evolution-manager pm2 setup
94 | ```
95 |
96 | - Then, you can start, stop, restart, or delete the service using the respective `pm2` commands in the CLI.
97 |
98 | These instructions provide a streamlined method for managing Evolution Manager across various systems, utilizing PM2 for efficient service start-up, maintenance, and control.
99 |
100 | ## Development Setup
101 |
102 | 1. **Prerequisites**: Ensure you have `yarn` installed on your system.
103 | 2. **Clone the Repository**:
104 |
105 | ```bash
106 | git clone https://github.com/gabrielpastori1/evolution-manager.git
107 | cd evolution-manager
108 | ```
109 |
110 | 3. **Install Dependencies**:
111 |
112 | ```bash
113 | yarn install
114 | ```
115 |
116 | 4. **Run Development Server**:
117 |
118 | ```bash
119 | yarn dev
120 | ```
121 |
122 | This will start a local development server. You can access the app at `localhost:8080`.
123 |
124 | ## Building the Project
125 |
126 | To build the project for production, run:
127 |
128 | ```bash
129 | yarn build
130 | ```
131 |
132 | This will create a `dist` folder with the compiled assets.
133 |
134 | ## Contributing
135 |
136 | Contributions are an essential part of the Evolution Manager project. Whether you're contributing code, suggestions, or feedback, your input is invaluable. To facilitate contributions, we have included a direct means for donations:
137 |
138 | ### Making a Donation
139 |
140 | If you wish to support the project financially, we have provided a QR code for Pix donations. Your generosity helps in maintaining and evolving this open-source tool.
141 |
142 |
143 |
144 | ### Contributing Code or Ideas
145 |
146 | We also welcome code contributions and innovative ideas. If you're interested in contributing in this way, please read our contributing guidelines for more information on how to get started.
147 |
148 | Your support, in any form, makes a significant difference and is greatly appreciated. Thank you for being a part of the Evolution Manager community!
149 |
150 | ## License
151 |
152 | This project is open-source and available under the [MIT License](LICENSE.md).
153 |
--------------------------------------------------------------------------------
/README.pt_BR.md:
--------------------------------------------------------------------------------
1 | # Evolution Manager
2 |
3 | ## Introdução
4 |
5 | O Evolution Manager é uma ferramenta de gerenciamento open-source para a Evolution API, projetada para facilitar a administração e monitoramento de instâncias. Pode ser acessada online em [Evolution Manager](https://github.com/gabrielpastori1/evolution-manager).
6 |
7 | ## Funcionalidades
8 |
9 | - **Gerenciamento de Instâncias**: Criação, gerenciamento e exclusão de instâncias.
10 | - **Configurações de Instância**: Personalização das configurações de comportamento (por exemplo, desativar chamadas, modo sempre online), integração com webhook, RabbitMQ, WebSocket, Chatwoot e configurações do Typebot.
11 | - **Utilitários para Usuários**: Verificação de números de usuários, busca por conversas e grupos.
12 |
13 | ## Limitações
14 |
15 | - A versão hospedada na Vercel requer que o servidor tenha um certificado SSL.
16 |
17 | ## Tecnologia
18 |
19 | - O projeto é desenvolvido usando Vue.js v3 e Vuetify.
20 |
21 | ## Evolution-Manager CLI - Documentação
22 |
23 | Para informações detalhadas sobre como usar o Evolution-Manager CLI, consulte a documentação disponível nos seguintes links:
24 |
25 | 🔗 Documentação completa: [Documentação em Português](https://github.com/gabrielpastori1/evolution-manager/blob/main/docs/pt_br/cli.md)
26 |
27 | ## Imagem Docker - Documentação
28 |
29 | Para obter informações detalhadas sobre como usar a imagem Docker, incluindo configurações e exemplos, acesse a nossa documentação completa. Você encontrará instruções passo a passo, bem como dicas úteis para maximizar o uso da imagem Docker do Evolution Manager.
30 |
31 | 🔗 Documentação completa: [Documentação em Português](https://github.com/gabrielpastori1/evolution-manager/tree/main/docs/pt_br/docker.md)
32 |
33 | ---
34 |
35 | ## Auto-Hospedagem - CLI e PM2 do Evolution Manager
36 |
37 | ### Direto ao Ponto: Configuração Rápida com PM2
38 |
39 | Para instalar rapidamente o Evolution Manager globalmente e configurá-lo com o PM2, siga estes comandos:
40 |
41 | 1. **Instalar o Evolution Manager Globalmente**:
42 |
43 | ```bash
44 | npm install -g evolution-manager
45 | ```
46 |
47 | 2. **Configurar PM2 para o Evolution Manager**:
48 |
49 | ```bash
50 | evolution-manager pm2 setup
51 | ```
52 |
53 | Estes dois passos instalarão o CLI do Evolution Manager globalmente em seu sistema e o configurarão para funcionar com o PM2, um gerenciador de processos poderoso.
54 |
55 | ### Instalação e Configuração
56 |
57 | Esses dois passos instalarão o CLI do Evolution Manager globalmente em seu sistema e o configurarão para funcionar com o PM2, um gerenciador de processos poderoso.
58 |
59 | 1. **Instalar o Evolution Manager Globalmente**:
60 | - Certifique-se de ter o Node.js e o NPM instalados em seu sistema.
61 | - Instale o Evolution Manager globalmente usando o NPM para acessar o CLI (Interface de Linha de Comando):
62 |
63 | ```bash
64 | npm install -g evolution-manager
65 | ```
66 |
67 | 2. **Usando o CLI**:
68 | - Após a instalação, acesse os comandos do CLI digitando `evolution-manager` em seu terminal.
69 | - Os comandos disponíveis incluem:
70 | - `help`: Exibe uma lista de comandos disponíveis e suas descrições.
71 | - `server`: Operações relacionadas ao servidor.
72 | - `start [--port=9615]`: Inicia o servidor na porta especificada (padrão: 9615).
73 | - `build`: Constrói o projeto.
74 | - `pm2`: Gerencia o processo com o PM2.
75 | - `setup`: Configura o PM2 para o projeto.
76 | - `start`: Inicia o serviço com o PM2.
77 | - `stop`: Para o serviço no PM2.
78 | - `restart`: Reinicia o serviço no PM2.
79 | - `delete`: Remove o serviço do PM2.
80 |
81 | 3. **Executando o Projeto com o PM2**:
82 | - Para configurar e gerenciar o serviço com o PM2, comece com o comando de configuração:
83 |
84 | ```bash
85 | evolution-manager pm2 setup
86 | ```
87 |
88 | - Em seguida, você pode iniciar, parar, reiniciar ou excluir o serviço usando os respectivos comandos `pm2` no CLI.
89 |
90 | Estas instruções fornecem um método simplificado para gerenciar o Evolution Manager em vários sistemas, utilizando o PM2 para um eficiente início de serviço
91 |
92 | ## Configuração para Desenvolvimento
93 |
94 | 1. **Pré-requisitos**: Certifique-se de ter o `yarn` instalado no seu sistema.
95 | 2. **Clonar o Repositório**:
96 |
97 | ```bash
98 | git clone https://github.com/gabrielpastori1/evolution-manager.git
99 | cd evolution-manager
100 | ```
101 |
102 | 3. **Instalar Dependências**:
103 |
104 | ```bash
105 | yarn install
106 | ```
107 |
108 | 4. **Executar o Servidor de Desenvolvimento**:
109 |
110 | ```bash
111 | yarn dev
112 | ```
113 |
114 | Isso iniciará um servidor de desenvolvimento local. Você pode acessar o aplicativo em `localhost:8080`.
115 |
116 | ## Construção do Projeto
117 |
118 | Para construir o projeto para produção, execute:
119 |
120 | ```bash
121 | yarn build
122 | ```
123 |
124 | Isso criará uma pasta `dist` com os ativos compilados.
125 |
126 | ## Contribuindo
127 |
128 | As contribuições são uma parte essencial do projeto Evolution Manager. Seja contribuindo com código, sugestões ou feedback, sua participação é inestimável. Para facilitar as contribuições, incluímos um meio direto para doações:
129 |
130 | ### Fazendo uma Doação
131 |
132 | Se desejar apoiar o projeto financeiramente, disponibilizamos um QR code para doações via Pix. Sua generosidade ajuda na manutenção e evolução desta ferramenta de código aberto.
133 |
134 |
135 |
136 | ### Contribuindo com Código ou Ideias
137 |
138 | Também recebemos contribuições de código e ideias inovadoras. Se você tem interesse em contribuir dessa forma, por favor, leia nossas diretrizes de contribuição para mais informações sobre como começar.
139 |
140 | Seu apoio, de qualquer forma, faz uma grande diferença e é muito apreciado. Obrigado por fazer parte da comunidade Evolution Manager!
141 |
142 | ## Licença
143 |
144 | Este projeto é de código aberto e está disponível sob a [Licença MIT](LICENSE.md).
145 |
--------------------------------------------------------------------------------
/bin/evolution-manager:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env node
2 | require('./../lib/cli.js');
--------------------------------------------------------------------------------
/docker-compose.yml:
--------------------------------------------------------------------------------
1 | # Use this compose with traefik proxy manager
2 | version: '3'
3 | services:
4 | evolution-manager:
5 | image: "gabrielpastori1/evolution-manager:latest"
6 | ports:
7 | - "9615:9615"
8 | labels:
9 | - traefik.enable=true
10 | - traefik.http.routers.evolution-manager.service=evolution-manager
11 | - traefik.http.services.evolution-manager.loadbalancer.server.port=9615
12 | - traefik.http.routers.evolution-manager.rule=Host(`manager.yourdomain.com`) #Replace this with the subdomain that you wishes, dont forget to point the domain to your VPS ip address
13 | - traefik.http.routers.evolution-manager.entrypoints=https # Some people name the entrypoint as "websecure" look at your original traefik compose file to find the correct entrypoint name
14 | - traefik.http.routers.evolution-manager.tls.certresolver=letsencrypt # Some people name the certResolver as "le" look at your original traefik compose file to find the correct certResolver name
15 | networks:
16 | - traefik_public_example_network
17 | networks:
18 | traefik_public_example_network:
19 | external: true
20 |
--------------------------------------------------------------------------------
/docs/en/cli.md:
--------------------------------------------------------------------------------
1 | [title]: \\ "CLI"
2 |
3 | # Evolution-Manager CLI
4 |
5 | ## Description
6 | The Evolution-Manager CLI is a command-line tool designed to manage servers, PM2 processes, and interact with the "evolution-api" project.
7 |
8 | ## Installation
9 | To install the Evolution-Manager CLI, run the following command:
10 | ```
11 | npm install -g evolution-manager
12 | ```
13 |
14 | ## Available Commands
15 |
16 | ### General
17 | - `help`: Displays a list of available commands. Refer to this document for additional details on each command.
18 |
19 | ### Server
20 | - `server start [--port=9615]`: Starts a temporary server in the terminal, ideal for local use. The `--port` parameter allows specifying the port, with `9615` as the default.
21 | - `server build`: Executes the server build but does not start it. (Currently without specific use).
22 |
23 | ### PM2
24 | Interacts with PM2 to manage Evolution Manager processes:
25 | - `pm2 setup`: Configures PM2 to host the Evolution Manager. Automatically installs PM2 if not present.
26 | - `pm2 start`: Starts the Evolution Manager process in PM2.
27 | - `pm2 stop`: Stops the Evolution Manager process in PM2.
28 | - `pm2 restart`: Restarts the Evolution Manager process in PM2.
29 | - `pm2 delete`: Removes the Evolution Manager process from PM2.
30 |
31 | ### API
32 |
33 | The API section of the Evolution-Manager CLI includes various functions for managing the installation and versions of the Evolution Manager within the API. The available commands are:
34 |
35 | - `setup` or `install`: Installs the manager inside the Evolution API at the path `/manager`. This command can also be accessed using the shorthand `i`.
36 | - `uninstall`: Uninstalls the manager from the Evolution API.
37 | - `changeVersion` or `cv`: Switches to a specific version of the Evolution API, whether newer or older. Example usage: `changeVersion --v=1.5.0`.
38 |
39 | These commands provide a flexible and powerful command-line interface for managing the versions and configuration of the manager in your Evolution API installation.
40 |
41 | ## Typical Usage Flow
42 | 1. Install the CLI globally.
43 | 2. Use `help` to view available commands.
44 | 3. Use PM2 commands to host the Evolution Manager.
45 | 4. Run `server start` for a local temporary server.
46 | 5. Within the "evolution-api" installation, use `api setup` to update to the new manager.
47 |
--------------------------------------------------------------------------------
/docs/en/docker.md:
--------------------------------------------------------------------------------
1 | # Docker Image of Evolution Manager
2 |
3 | This README file describes how to use the Evolution Manager Docker image and set up a domain using [Traefik](#configuring-the-domain-with-traefik) or [NGINX](#configuring-the-domain-with-nginx).
4 |
5 | ## Using the Docker Image
6 |
7 | The Evolution Manager Docker image provides an easy and automated setup and updating of the system. When the container is started, the latest version of the Evolution Manager will be downloaded and installed.
8 |
9 | ### Prerequisites
10 |
11 | - Docker installed on your machine.
12 | - Basic knowledge of Docker operations.
13 |
14 | ### Running the Container
15 |
16 | To start a container with the Evolution Manager, execute the following command:
17 |
18 | ```sh
19 | docker run -d -p 9615:9615 gabrielpastori1/evolution-manager:latest
20 | ```
21 |
22 | This command runs the container in detached mode and maps port 9615 of the container to port 9615 of the host.
23 |
24 | ### Exposed Port
25 |
26 | The image exposes port `9615`, which should be mapped to the corresponding port on the host.
27 |
28 | ## Configuring the Domain with Traefik
29 |
30 | To configure a domain and make the Evolution Manager accessible via the web, you can use Traefik as a reverse proxy.
31 |
32 | ### Prerequisites
33 |
34 | - Traefik configured on your server.
35 | - A domain pointing to the server where Traefik is running.
36 |
37 | ### Traefik Configuration
38 |
39 | 1. **Create a `docker-compose.yml` file** in the directory where you want to start the Evolution Manager, with the following content:
40 |
41 | ```yaml
42 | version: '3'
43 |
44 | services:
45 | evolution-manager:
46 | image: gabrielpastori1/evolution-manager:latest
47 | restart: unless-stopped
48 | ports:
49 | - "9615:9615"
50 | labels:
51 | - "traefik.enable=true"
52 | - "traefik.http.routers.evolution-manager.rule=Host(`your-domain.com`)"
53 | - "traefik.http.routers.evolution-manager.entrypoints=web"
54 | # Add other label configurations as necessary for Traefik
55 |
56 | networks:
57 | default:
58 | external:
59 | name: traefik_default
60 | ```
61 |
62 | 2. **Replace** `your-domain.com` with the domain you want to use.
63 |
64 | 3. **Ensure** that the specified external network (`traefik_default`) matches the network used by Traefik in its setup.
65 |
66 | ### Starting the Service
67 |
68 | With the `docker-compose.yml` file configured, start the service with the following command:
69 |
70 | ```sh
71 | docker-compose up -d
72 | ```
73 |
74 | Traefik will automatically detect the service and apply the rules defined in the container's labels.
75 |
76 | ## Configuring the Domain with NGINX
77 |
78 | If you prefer using NGINX as a reverse proxy instead of Traefik, follow the steps below.
79 |
80 | ### Prerequisites
81 |
82 | - NGINX installed on your server.
83 | - A domain pointing to your server's IP where NGINX is running.
84 |
85 | ### NGINX Configuration
86 |
87 | 1. **Create an NGINX Configuration File**: To redirect requests from your domain to the container, you need to create a configuration file in `/etc/nginx/conf.d/` with the following content:
88 |
89 | ```nginx
90 | server {
91 | listen 80;
92 | server_name your-domain.com;
93 |
94 | location / {
95 | proxy_pass http://localhost:9615;
96 | proxy_http_version 1.1;
97 | proxy_set_header Upgrade $http_upgrade;
98 | proxy_set_header Connection 'upgrade';
99 | proxy_set_header Host $host;
100 | proxy_cache_bypass $http_upgrade;
101 | }
102 | }
103 | ```
104 |
105 | 2. **Replace** `your-domain.com` with your actual domain.
106 |
107 | 3. **Check the NGINX Configuration**: Run `nginx -t` to ensure there are no errors in the configuration.
108 |
109 | 4. **Reload NGINX**: After verifying the configuration, reload the NGINX service with `service nginx reload` or `systemctl reload nginx`.
110 |
111 | Now NGINX will redirect requests from your domain to port `9615`, where your Docker container is listening.
112 |
113 | ## Support and Contributions
114 |
115 | For support, questions, or contributions, open an issue or send a pull request on the [GitHub repository](https://github.com/gabrielpastori1/evolution-manager). Your participation is very welcome!
--------------------------------------------------------------------------------
/docs/en/general/node-install.md:
--------------------------------------------------------------------------------
1 | [title]: \\ "Installing Node Using NVM"
2 |
3 | # Installing Node.js with NVM
4 |
5 | This guide provides step-by-step instructions on how to install Node.js on Linux using NVM (Node Version Manager).
6 |
7 | ## Prerequisites
8 |
9 | - Access to a terminal in Linux.
10 | - Permissions to execute installation commands (usually as a root user or with `sudo`).
11 |
12 | ## Step 1: Install NVM
13 |
14 | NVM is a tool that allows you to manage multiple versions of Node.js. To install it, execute the following command in your terminal:
15 |
16 | ```bash
17 | curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash
18 | ```
19 |
20 | *Note: You can check the latest version of NVM on their [GitHub page](https://github.com/nvm-sh/nvm).*
21 |
22 | After installation, close and reopen the terminal, and then run the following command to check if NVM was installed correctly:
23 |
24 | ```bash
25 | nvm --version
26 | ```
27 |
28 | ## Step 2: Install Node.js
29 |
30 | With NVM installed, you can now install Node.js. To install the latest version, use the command:
31 |
32 | ```bash
33 | nvm install node
34 | ```
35 |
36 | To install a specific version of Node.js, you can do:
37 |
38 | ```bash
39 | nvm install 18
40 | ```
41 |
42 | After installation, verify the Node.js version with:
43 |
44 | ```bash
45 | node -v
46 | ```
47 |
48 | ## Step 3: Use a Specific Version of Node.js
49 |
50 | You can switch between installed versions of Node.js with the `nvm use` command:
51 |
52 | ```bash
53 | nvm use 18 # replace 18 with the version you want to use
54 | ```
55 |
56 | ## Conclusion
57 |
58 | You now have NVM installed on your Linux system, allowing you to install and manage multiple versions of Node.js. This is particularly useful for developers working on multiple projects that may require different versions of Node.js.
59 |
--------------------------------------------------------------------------------
/docs/en/index.md:
--------------------------------------------------------------------------------
1 | [title]: \\ "About"
2 |
3 | # Evolution Manager
4 |
5 | ## Introduction
6 |
7 | Evolution Manager is an open-source management tool for the Evolution API, designed to streamline the administration and monitoring of instances. It can be accessed online at [Evolution Manager](https://github.com/gabrielpastori1/evolution-manager).
8 |
9 | ---
10 |
11 | 🇧🇷 **Atenção, Comunidade Brasileira!** 🇧🇷
12 |
13 | Se você é um desenvolvedor ou usuário brasileiro interessado no Evolution Manager, temos boas notícias! Agora você pode acessar a documentação completa do projeto em português. Isso facilitará seu entendimento e uso desta ferramenta incrível. Clique no link abaixo para ler o README em português:
14 |
15 | 🔗 [Leia o README em Português](https://github.com/gabrielpastori1/evolution-manager/blob/main/README.pt_BR.md)
16 |
17 | ---
18 |
19 | ## Features
20 |
21 | - **Instance Management**: Create, manage, and delete instances.
22 | - **Instance Settings**: Customize behavior settings (e.g., disabling calls, always-online mode), webhook integration, RabbitMQ, WebSocket, Chatwoot, and Typebot configurations.
23 | - **User Utilities**: Check user numbers, search for conversations, and find groups.
24 |
25 | ## Limitations
26 |
27 | - The version hosted on Vercel requires the server to have an SSL certificate.
28 |
29 | ## Technology
30 |
31 | - The project is built using Vue.js v3 and Vuetify.
32 |
33 | ## Evolution-Manager CLI - Documentation
34 |
35 | For detailed information on how to use the Evolution-Manager CLI, please refer to the documentation available at the following links:
36 |
37 | 🔗 Full Documentation: [Documentation in English](https://github.com/gabrielpastori1/evolution-manager/blob/main/docs/en/cli.md)
38 |
39 | ## Docker Image - Documentation
40 |
41 | For detailed information on using the Docker image, including configurations and examples, please refer to our comprehensive documentation. You will find step-by-step instructions, as well as helpful tips to make the most of the Evolution Manager's Docker image.
42 |
43 | 🔗 Full Documentation: [Documentation in English](https://github.com/gabrielpastori1/evolution-manager/tree/main/docs/en/docker.md)
44 |
45 | ## Self-Hosted - Evolution Manager CLI and PM2
46 |
47 | ### Straight to the Point: Quick Setup with PM2
48 |
49 | To quickly install Evolution Manager globally and set it up with PM2, follow these commands:
50 |
51 | 1. **Install Evolution Manager Globally**:
52 |
53 | ```bash
54 | npm install -g evolution-manager
55 | ```
56 |
57 | 2. **Set Up PM2 for Evolution Manager**:
58 |
59 | ```bash
60 | evolution-manager pm2 setup
61 | ```
62 |
63 | These two steps will install the Evolution Manager CLI globally on your system and configure it to run with PM2, a powerful process manager.
64 |
65 | ### Installation and Configuration
66 |
67 | These two steps will install the Evolution Manager CLI globally on your system and configure it to run with PM2, a powerful process manager.
68 |
69 | 1. **Install Evolution Manager Globally**:
70 | - Ensure Node.js and NPM are installed on your system.
71 | - Install Evolution Manager globally using NPM to access the CLI (Command Line Interface):
72 |
73 | ```bash
74 | npm install -g evolution-manager
75 | ```
76 |
77 | 2. **Using the CLI**:
78 | - After installation, access the CLI commands by typing `evolution-manager` in your terminal.
79 | - Available commands include:
80 | - `help`: Displays a list of available commands and their descriptions.
81 | - `server`: Server-related operations.
82 | - `start [--port=9615]`: Starts the server on the specified port (default: 9615).
83 | - `build`: Builds the project.
84 | - `pm2`: Manages the process with PM2.
85 | - `setup`: Sets up PM2 for the project.
86 | - `start`: Starts the service with PM2.
87 | - `stop`: Stops the service in PM2.
88 | - `restart`: Restarts the service in PM2.
89 | - `delete`: Removes the service from PM2.
90 |
91 | 3. **Running the Project with PM2**:
92 | - To set up and manage the service with PM2, start with the setup command:
93 |
94 | ```bash
95 | evolution-manager pm2 setup
96 | ```
97 |
98 | - Then, you can start, stop, restart, or delete the service using the respective `pm2` commands in the CLI.
99 |
100 | These instructions provide a streamlined method for managing Evolution Manager across various systems, utilizing PM2 for efficient service start-up, maintenance, and control.
101 |
102 | ## Development Setup
103 |
104 | 1. **Prerequisites**: Ensure you have `yarn` installed on your system.
105 | 2. **Clone the Repository**:
106 |
107 | ```bash
108 | git clone https://github.com/gabrielpastori1/evolution-manager.git
109 | cd evolution-manager
110 | ```
111 |
112 | 3. **Install Dependencies**:
113 |
114 | ```bash
115 | yarn install
116 | ```
117 |
118 | 4. **Run Development Server**:
119 |
120 | ```bash
121 | yarn dev
122 | ```
123 |
124 | This will start a local development server. You can access the app at `localhost:8080`.
125 |
126 | ## Building the Project
127 |
128 | To build the project for production, run:
129 |
130 | ```bash
131 | yarn build
132 | ```
133 |
134 | This will create a `dist` folder with the compiled assets.
135 |
136 | ## Contributing
137 |
138 | Contributions are an essential part of the Evolution Manager project. Whether you're contributing code, suggestions, or feedback, your input is invaluable. To facilitate contributions, we have included a direct means for donations:
139 |
140 | ### Making a Donation
141 |
142 | If you wish to support the project financially, we have provided a QR code for Pix donations. Your generosity helps in maintaining and evolving this open-source tool.
143 |
144 |
145 |
146 | ### Contributing Code or Ideas
147 |
148 | We also welcome code contributions and innovative ideas. If you're interested in contributing in this way, please read our contributing guidelines for more information on how to get started.
149 |
150 | Your support, in any form, makes a significant difference and is greatly appreciated. Thank you for being a part of the Evolution Manager community!
151 |
152 | ## License
153 |
154 | This project is open-source and available under the [MIT License](LICENSE.md).
155 |
--------------------------------------------------------------------------------
/docs/pt_br/cli.md:
--------------------------------------------------------------------------------
1 | [title]: \\ "CLI"
2 |
3 | # Evolution-Manager CLI
4 |
5 | ## Instalação
6 |
7 | Para instalar o Evolution-Manager CLI, execute o seguinte comando:
8 |
9 | ```
10 | npm install -g evolution-manager
11 | ```
12 |
13 | ## Comandos Disponíveis
14 |
15 | ### Geral
16 |
17 | - `help`: Exibe uma lista de comandos disponíveis. Para mais detalhes sobre cada comando, consulte este documento.
18 |
19 | ### Server
20 |
21 | - `server start [--port=9615]`: Inicia um servidor temporário no terminal, ideal para execução local. O parâmetro `--port` define a porta do servidor, sendo `9615` o valor padrão.
22 | - `server build`: Realiza o build do servidor, mas não o executa. (Atualmente sem uso específico).
23 |
24 | ### PM2
25 |
26 | O CLI interage com o PM2 para gerenciar processos do Evolution Manager.
27 |
28 | - `pm2 setup`: Configura o PM2 para hospedar o Evolution Manager. Se o PM2 não estiver instalado, o CLI o instalará automaticamente.
29 | - `pm2 start`: Inicia o processo do Evolution Manager no PM2.
30 | - `pm2 stop`: Para o processo do Evolution Manager no PM2.
31 | - `pm2 restart`: Reinicia o processo do Evolution Manager no PM2.
32 | - `pm2 delete`: Remove o processo do Evolution Manager do PM2.
33 |
34 | ## API
35 |
36 | A seção API do Evolution-Manager CLI inclui várias funções para gerenciar a instalação e as versões do Evolution Manager na API. Os comandos disponíveis são:
37 |
38 | - `setup` ou `install`: Instala o manager dentro da Evolution API no caminho `/manager`. Este comando também pode ser acessado usando a abreviação `i`.
39 | - `uninstall`: Desinstala o manager da Evolution API.
40 | - `changeVersion` ou `cv`: Altera para uma versão específica da Evolution API, seja ela mais nova ou mais antiga. Exemplo de uso: `changeVersion --v=1.5.0`.
41 |
42 | Esses comandos fornecem uma interface de linha de comando flexível e poderosa para gerenciar as versões e a configuração do manager na sua instalação da Evolution API.
43 |
44 | ## Fluxo de Uso Típico
45 |
46 | 1. Instale o CLI globalmente.
47 | 2. Utilize o comando `help` para ver a lista de comandos disponíveis.
48 | 3. Para hospedar o Evolution Manager, use os comandos sob `PM2`.
49 | 4. Use o comando `server start` para rodar um servidor temporário localmente.
50 | 5. Utilize `api setup` para interagir com o projeto "evolution-api" e configurar o manager.
51 |
--------------------------------------------------------------------------------
/docs/pt_br/docker.md:
--------------------------------------------------------------------------------
1 | # Imagem Docker do Evolution Manager
2 |
3 | Este arquivo README descreve como usar a imagem Docker do Evolution Manager e configurar um domínio utilizando o [Traefik](#configurando-o-domínio-com-o-traefik) ou [NGINX](#configurando-o-domínio-com-o-nginx).
4 |
5 | ## Usando a Imagem Docker
6 |
7 | A imagem Docker do Evolution Manager permite uma instalação e atualização fáceis e automatizadas do sistema. Ao iniciar o container, a versão mais recente do Evolution Manager será baixada e instalada.
8 |
9 | ### Pré-requisitos
10 |
11 | - Docker instalado em sua máquina.
12 | - Conhecimento básico de operações do Docker.
13 |
14 | ### Executando o Container
15 |
16 | Para iniciar o container com o Evolution Manager, execute o seguinte comando:
17 |
18 | ```sh
19 | docker run -d -p 9615:9615 gabrielpastori1/evolution-manager:latest
20 | ```
21 |
22 | Este comando executa o container em modo detached e mapeia a porta 9615 do container para a porta 9615 do host.
23 |
24 | ### Porta Exposta
25 |
26 | A imagem expõe a porta `9615`, que deve ser mapeada para a porta correspondente no host.
27 |
28 | ## Configurando o Domínio com o Traefik
29 |
30 | Para configurar um domínio e deixar o Evolution Manager acessível via web, você pode usar o Traefik como um proxy reverso.
31 |
32 | ### Pré-requisitos
33 |
34 | - Ter o Traefik configurado em seu servidor.
35 | - Possuir um domínio apontando para o servidor onde o Traefik está rodando.
36 |
37 | ### Configuração do Traefik
38 |
39 | 1. **Crie um arquivo `docker-compose.yml`** no diretório onde você deseja iniciar o Evolution Manager, com o seguinte conteúdo:
40 |
41 | ```yaml
42 | version: '3'
43 |
44 | services:
45 | evolution-manager:
46 | image: gabrielpastori1/evolution-manager:latest
47 | restart: unless-stopped
48 | ports:
49 | - "9615:9615"
50 | labels:
51 | - "traefik.enable=true"
52 | - "traefik.http.routers.evolution-manager.rule=Host(`seu-dominio.com`)"
53 | - "traefik.http.routers.evolution-manager.entrypoints=web"
54 | # Adicione outras configurações de labels conforme necessário para o Traefik
55 |
56 | networks:
57 | default:
58 | external:
59 | name: traefik_default
60 | ```
61 |
62 | 2. **Substitua** `seu-dominio.com` pelo domínio que você deseja usar.
63 |
64 | 3. **Certifique-se** de que a rede externa especificada (`traefik_default`) corresponda à rede usada pelo Traefik em sua configuração.
65 |
66 | ### Iniciando o Serviço
67 |
68 | Com o arquivo `docker-compose.yml` configurado, inicie o serviço com o seguinte comando:
69 |
70 | ```sh
71 | docker-compose up -d
72 | ```
73 |
74 | O Traefik automaticamente detectará o serviço e aplicará as regras definidas nas labels do container.
75 |
76 | ## Configurando o Domínio com o NGINX
77 |
78 | Se preferir usar o NGINX como um proxy reverso em vez do Traefik, siga os passos abaixo.
79 |
80 | ### Pré-requisitos
81 |
82 | - NGINX instalado no seu servidor.
83 | - Domínio apontando para o IP do seu servidor onde o NGINX está rodando.
84 |
85 | ### Configuração do NGINX
86 |
87 | 1. **Crie um Arquivo de Configuração do NGINX**: Para redirecionar as requisições do seu domínio para o container, você precisará criar um arquivo de configuração do NGINX em `/etc/nginx/conf.d/` com o seguinte conteúdo:
88 |
89 | ```nginx
90 | server {
91 | listen 80;
92 | server_name seu-dominio.com;
93 |
94 | location / {
95 | proxy_pass http://localhost:9615;
96 | proxy_http_version 1.1;
97 | proxy_set_header Upgrade $http_upgrade;
98 | proxy_set_header Connection 'upgrade';
99 | proxy_set_header Host $host;
100 | proxy_cache_bypass $http_upgrade;
101 | }
102 | }
103 | ```
104 |
105 | 2. **Substitua** `seu-dominio.com` pelo seu domínio real.
106 |
107 | 3. **Verifique a Configuração do NGINX**: Execute `nginx -t` para verificar se não há erros na configuração.
108 |
109 | 4. **Recarregue o NGINX**: Após verificar a configuração, recarregue o serviço do NGINX com `service nginx reload` ou `systemctl reload nginx`.
110 |
111 | Agora o NGINX redirecionará as requisições do seu domínio para a porta `9615`, onde o seu container Docker está escutando.
112 |
113 | ## Suporte e Contribuições
114 |
115 | Para suporte, dúvidas ou contribuições, abra uma issue ou envie um pull request no [repositório do GitHub](https://github.com/gabrielpastori1/evolution-manager). Sua participação é muito bem-vinda!
116 |
--------------------------------------------------------------------------------
/docs/pt_br/general/node-install.md:
--------------------------------------------------------------------------------
1 | [title]: \\ "Instalar Node usando NVM"
2 |
3 | # Instalando Node.js com NVM
4 |
5 | Este guia fornece instruções passo a passo sobre como instalar o Node.js no Linux usando o NVM (Node Version Manager).
6 |
7 | ## Pré-requisitos
8 |
9 | - Acesso a um terminal no Linux.
10 | - Permissões para executar comandos de instalação (geralmente como usuário root ou com `sudo`).
11 |
12 | ## Passo 1: Instalar NVM
13 |
14 | NVM é uma ferramenta que permite gerenciar múltiplas versões do Node.js. Para instalá-lo, execute o seguinte comando no seu terminal:
15 |
16 | ```bash
17 | curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash
18 | ```
19 |
20 | *Nota: Você pode verificar a versão mais recente do NVM na [página do GitHub](https://github.com/nvm-sh/nvm).*
21 |
22 | Após a instalação, feche e reabra o terminal, e então execute o seguinte comando para verificar se o NVM foi instalado corretamente:
23 |
24 | ```bash
25 | nvm --version
26 | ```
27 |
28 | ## Passo 2: Instalar Node.js
29 |
30 | Com o NVM instalado, você pode instalar o Node.js. Para instalar a versão mais recente, use o comando:
31 |
32 | ```bash
33 | nvm install node
34 | ```
35 |
36 | Para instalar uma versão específica do Node.js, você pode fazer:
37 |
38 | ```bash
39 | nvm install 18 # substitua 18 pela versão que você quer instalar
40 | ```
41 |
42 | Após a instalação, verifique a versão do Node.js com:
43 |
44 | ```bash
45 | node -v
46 | ```
47 |
48 | ## Passo 3: Usar uma Versão Específica do Node.js
49 |
50 | Você pode alternar entre as versões instaladas do Node.js com o comando `nvm use`:
51 |
52 | ```bash
53 | nvm use 18 # substitua 18 pela versão que você quer usar
54 | ```
55 |
56 | ## Conclusão
57 |
58 | Agora você tem o NVM instalado no seu sistema Linux, permitindo que você instale e gerencie múltiplas versões do Node.js. Isso é especialmente útil para desenvolvedores trabalhando em múltiplos projetos que podem requerer diferentes versões do Node.js.
59 |
--------------------------------------------------------------------------------
/docs/pt_br/index.md:
--------------------------------------------------------------------------------
1 | [title]: \\ "Sobre"
2 |
3 |
4 | # Evolution Manager
5 |
6 | ## Introdução
7 |
8 | O Evolution Manager é uma ferramenta de gerenciamento open-source para a Evolution API, projetada para facilitar a administração e monitoramento de instâncias. Pode ser acessada online em [Evolution Manager](https://github.com/gabrielpastori1/evolution-manager).
9 |
10 | ## Funcionalidades
11 |
12 | - **Gerenciamento de Instâncias**: Criação, gerenciamento e exclusão de instâncias.
13 | - **Configurações de Instância**: Personalização das configurações de comportamento (por exemplo, desativar chamadas, modo sempre online), integração com webhook, RabbitMQ, WebSocket, Chatwoot e configurações do Typebot.
14 | - **Utilitários para Usuários**: Verificação de números de usuários, busca por conversas e grupos.
15 |
16 | ## Limitações
17 |
18 | - A versão hospedada na Vercel requer que o servidor tenha um certificado SSL.
19 |
20 | ## Tecnologia
21 |
22 | - O projeto é desenvolvido usando Vue.js v3 e Vuetify.
23 |
24 | ## Evolution-Manager CLI - Documentação
25 |
26 | Para informações detalhadas sobre como usar o Evolution-Manager CLI, consulte a documentação disponível nos seguintes links:
27 |
28 | 🔗 Documentação completa: [Documentação em Português](https://github.com/gabrielpastori1/evolution-manager/blob/main/docs/pt_br/cli.md)
29 |
30 | ## Imagem Docker - Documentação
31 |
32 | Para obter informações detalhadas sobre como usar a imagem Docker, incluindo configurações e exemplos, acesse a nossa documentação completa. Você encontrará instruções passo a passo, bem como dicas úteis para maximizar o uso da imagem Docker do Evolution Manager.
33 |
34 | 🔗 Documentação completa: [Documentação em Português](https://github.com/gabrielpastori1/evolution-manager/tree/main/docs/pt_br/docker.md)
35 |
36 | ---
37 |
38 | ## Auto-Hospedagem - CLI e PM2 do Evolution Manager
39 |
40 | ### Direto ao Ponto: Configuração Rápida com PM2
41 |
42 | Para instalar rapidamente o Evolution Manager globalmente e configurá-lo com o PM2, siga estes comandos:
43 |
44 | 1. **Instalar o Evolution Manager Globalmente**:
45 |
46 | ```bash
47 | npm install -g evolution-manager
48 | ```
49 |
50 | 2. **Configurar PM2 para o Evolution Manager**:
51 |
52 | ```bash
53 | evolution-manager pm2 setup
54 | ```
55 |
56 | Estes dois passos instalarão o CLI do Evolution Manager globalmente em seu sistema e o configurarão para funcionar com o PM2, um gerenciador de processos poderoso.
57 |
58 | ### Instalação e Configuração
59 |
60 | Esses dois passos instalarão o CLI do Evolution Manager globalmente em seu sistema e o configurarão para funcionar com o PM2, um gerenciador de processos poderoso.
61 |
62 | 1. **Instalar o Evolution Manager Globalmente**:
63 | - Certifique-se de ter o Node.js e o NPM instalados em seu sistema.
64 | - Instale o Evolution Manager globalmente usando o NPM para acessar o CLI (Interface de Linha de Comando):
65 |
66 | ```bash
67 | npm install -g evolution-manager
68 | ```
69 |
70 | 2. **Usando o CLI**:
71 | - Após a instalação, acesse os comandos do CLI digitando `evolution-manager` em seu terminal.
72 | - Os comandos disponíveis incluem:
73 | - `help`: Exibe uma lista de comandos disponíveis e suas descrições.
74 | - `server`: Operações relacionadas ao servidor.
75 | - `start [--port=9615]`: Inicia o servidor na porta especificada (padrão: 9615).
76 | - `build`: Constrói o projeto.
77 | - `pm2`: Gerencia o processo com o PM2.
78 | - `setup`: Configura o PM2 para o projeto.
79 | - `start`: Inicia o serviço com o PM2.
80 | - `stop`: Para o serviço no PM2.
81 | - `restart`: Reinicia o serviço no PM2.
82 | - `delete`: Remove o serviço do PM2.
83 |
84 | 3. **Executando o Projeto com o PM2**:
85 | - Para configurar e gerenciar o serviço com o PM2, comece com o comando de configuração:
86 |
87 | ```bash
88 | evolution-manager pm2 setup
89 | ```
90 |
91 | - Em seguida, você pode iniciar, parar, reiniciar ou excluir o serviço usando os respectivos comandos `pm2` no CLI.
92 |
93 | Estas instruções fornecem um método simplificado para gerenciar o Evolution Manager em vários sistemas, utilizando o PM2 para um eficiente início de serviço
94 |
95 | ## Configuração para Desenvolvimento
96 |
97 | 1. **Pré-requisitos**: Certifique-se de ter o `yarn` instalado no seu sistema.
98 | 2. **Clonar o Repositório**:
99 |
100 | ```bash
101 | git clone https://github.com/gabrielpastori1/evolution-manager.git
102 | cd evolution-manager
103 | ```
104 |
105 | 3. **Instalar Dependências**:
106 |
107 | ```bash
108 | yarn install
109 | ```
110 |
111 | 4. **Executar o Servidor de Desenvolvimento**:
112 |
113 | ```bash
114 | yarn dev
115 | ```
116 |
117 | Isso iniciará um servidor de desenvolvimento local. Você pode acessar o aplicativo em `localhost:8080`.
118 |
119 | ## Construção do Projeto
120 |
121 | Para construir o projeto para produção, execute:
122 |
123 | ```bash
124 | yarn build
125 | ```
126 |
127 | Isso criará uma pasta `dist` com os ativos compilados.
128 |
129 | ## Contribuindo
130 |
131 | As contribuições são uma parte essencial do projeto Evolution Manager. Seja contribuindo com código, sugestões ou feedback, sua participação é inestimável. Para facilitar as contribuições, incluímos um meio direto para doações:
132 |
133 | ### Fazendo uma Doação
134 |
135 | Se desejar apoiar o projeto financeiramente, disponibilizamos um QR code para doações via Pix. Sua generosidade ajuda na manutenção e evolução desta ferramenta de código aberto.
136 |
137 |
138 |
139 | ### Contribuindo com Código ou Ideias
140 |
141 | Também recebemos contribuições de código e ideias inovadoras. Se você tem interesse em contribuir dessa forma, por favor, leia nossas diretrizes de contribuição para mais informações sobre como começar.
142 |
143 | Seu apoio, de qualquer forma, faz uma grande diferença e é muito apreciado. Obrigado por fazer parte da comunidade Evolution Manager!
144 |
145 | ## Licença
146 |
147 | Este projeto é de código aberto e está disponível sob a [Licença MIT](LICENSE.md).
148 |
--------------------------------------------------------------------------------
/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
7 |
8 | Ao compartilhar sua conexão, você estará compartilhando todos os
9 | dados da conexão, incluindo a URL e a chave de API global.
10 |
11 |
12 |
13 |