Skip to content

Commit 185a1e1

Browse files
committed
2 parents c8d1910 + b36ccba commit 185a1e1

3 files changed

Lines changed: 119 additions & 0 deletions

File tree

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2025 devs café community
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.

README.md

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
# 🚀 ScriptPilot
2+
3+
ScriptPilot é uma plataforma self-hosted para **agendamento, execução e monitoramento de scripts** em múltiplos dispositivos da sua rede local. Com uma interface leve construída em Next.js, você pode criar tarefas programadas, executar scripts sob demanda (em Bash, Python, Node.js, etc.) e visualizar o status detalhado de cada agente conectado — tudo isso sem necessidade de login, sem dependência de serviços externos e com total controle local.
4+
5+
---
6+
7+
## 🧩 Principais Recursos
8+
9+
- ✅ Agendamento de tarefas com suporte a cron
10+
- 📜 Execução de scripts Bash, Python, Node.js e mais
11+
- 🔄 Comunicação entre interface e agentes via HTTP
12+
- 🖥️ Visualização de status, informações do sistema e logs dos agentes
13+
- 💻 Interface local, leve e responsiva (Next.js + TailwindCSS)
14+
- 🔐 Zero login, zero dependência externa – 100% local
15+
16+
---
17+
18+
## 🧱 Arquitetura
19+
20+
```
21+
┌────────────────────────────┐
22+
│ Interface Web (Next.js)│
23+
│ - Criação e controle de │
24+
│ tarefas agendadas │
25+
│ - Conexão com agentes │
26+
└────────────┬───────────────┘
27+
|
28+
| HTTP (REST)
29+
v
30+
┌────────────────────┐
31+
│ Agente ScriptPilot │ ← Rodando em cada dispositivo
32+
│ - Executa scripts │
33+
│ - Reporta status │
34+
│ - Expõe endpoints │
35+
└────────────────────┘
36+
```
37+
38+
---
39+
40+
## 📦 Instalação
41+
42+
### 1. Clone o repositório
43+
44+
```bash
45+
git clone https://github.com/seuusuario/scriptpilot.git
46+
cd scriptpilot
47+
```
48+
2. Instale as dependências do painel
49+
```bash
50+
cd interface
51+
npm install
52+
```
53+
3. Rode a interface
54+
```bash
55+
npm run dev
56+
```
57+
4. Configure os agentes remotos
58+
59+
Cada agente pode ser um pequeno servidor (em Python, Node, etc.) rodando na máquina-alvo. Exemplo de estrutura será incluído em /agents/.
60+
61+
📂 Estrutura esperada
62+
63+
```
64+
scriptpilot/
65+
├── interface/ # Interface web (Next.js)
66+
├── agents/ # Exemplos de agentes remotos
67+
├── scripts/ # Scripts disponíveis para agendamento
68+
├── logs/ # Logs das execuções
69+
└── README.md
70+
```
71+
72+
📃 Licença
73+
74+
Distribuído sob a licença MIT. Consulte LICENSE para mais informações.
75+
✨ Contribuindo
76+
77+
Pull requests são bem-vindos. Para grandes mudanças, por favor abra uma issue primeiro para discutir o que você gostaria de alterar.

SECURITY.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Security Policy
2+
3+
## Supported Versions
4+
5+
Use this section to tell people about which versions of your project are
6+
currently being supported with security updates.
7+
8+
| Version | Supported |
9+
| ------- | ------------------ |
10+
| 5.1.x | :white_check_mark: |
11+
| 5.0.x | :x: |
12+
| 4.0.x | :white_check_mark: |
13+
| < 4.0 | :x: |
14+
15+
## Reporting a Vulnerability
16+
17+
Use this section to tell people how to report a vulnerability.
18+
19+
Tell them where to go, how often they can expect to get an update on a
20+
reported vulnerability, what to expect if the vulnerability is accepted or
21+
declined, etc.

0 commit comments

Comments
 (0)