# muhamad-idris/seofast architecture

> Architecture diagram of the GitHub repository muhamad-idris/seofast, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-12-04). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/muhamad-idris/seofast
- Repository: https://github.com/muhamad-idris/seofast

## Overview

SeoFast combines Python account/task automation with browser-side task auto-clicking. The Python workflow authenticates to SeoFast, fetches work, waits or performs a supported task, then submits completion; the multi-account runner also uses device profiles and student email data. Separately, the browser scripts click transition tasks and handle their timer/ad-tab flow. The README gives no further product description, and the Python excerpts are partial, so links reflect only shown calls or explicit references.

Main entry points: [`seofast.py`](https://github.com/muhamad-idris/seofast/blob/main/seofast.py) (Multi-account bot), [`seofast_single.py`](https://github.com/muhamad-idris/seofast/blob/main/seofast_single.py) (Single-account bot), [`extensi/scripts/content.js`](https://github.com/muhamad-idris/seofast/blob/main/extensi/scripts/content.js) (Task clicker), [`extensi/scripts/background.js`](https://github.com/muhamad-idris/seofast/blob/main/extensi/scripts/background.js) (Ad-tab manager)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_python["Python automation"]
  node_python_bot["Multi-account bot<br/>[seofast.py]"]
  node_single_bot["Single-account bot<br/>[seofast_single.py]"]
  node_device_profiles["Device profiles<br/>[devices.py]"]
end

subgraph group_browser["Browser automation"]
  node_extension_content["Task clicker<br/>[content.js]"]
  node_extension_background["Ad-tab manager<br/>[background.js]"]
  node_extension_popup["Extension popup<br/>[popup.js]"]
  node_userscript["Userscript clicker"]
end

subgraph group_data["Local data"]
  node_student_csv["Student email CSV"]
end

node_operator(("Operator"))
node_web_service["SeoFast service"]

node_python_bot -->|"imports profiles"| node_device_profiles
node_python_bot -->|"reads emails"| node_student_csv
node_python_bot -->|"authenticates and requests tasks"| node_web_service
node_python_bot -->|"submits completion"| node_web_service
node_single_bot -->|"authenticates and requests tasks"| node_web_service
node_single_bot -->|"submits completion"| node_web_service
node_extension_content -->|"clicks site tasks"| node_web_service
node_extension_background -->|"detects site tabs"| node_web_service
node_userscript -->|"clicks and validates tasks"| node_web_service
node_extension_popup -->|"accepts button action"| node_operator

click node_python_bot "https://github.com/muhamad-idris/seofast/blob/main/seofast.py"
click node_single_bot "https://github.com/muhamad-idris/seofast/blob/main/seofast_single.py"
click node_device_profiles "https://github.com/muhamad-idris/seofast/blob/main/devices.py"
click node_student_csv "https://github.com/muhamad-idris/seofast/blob/main/daftar_id_belajar_siswa.csv"
click node_extension_content "https://github.com/muhamad-idris/seofast/blob/main/extensi/scripts/content.js"
click node_extension_background "https://github.com/muhamad-idris/seofast/blob/main/extensi/scripts/background.js"
click node_extension_popup "https://github.com/muhamad-idris/seofast/blob/main/extensi/popup/popup.js"
click node_userscript "https://github.com/muhamad-idris/seofast/blob/main/extensi/seofast-autoclicker.user.js"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_python_bot,node_single_bot,node_device_profiles toneBlue
class node_extension_content,node_extension_background,node_extension_popup,node_userscript toneAmber
class node_student_csv toneMint
class node_operator,node_web_service toneIndigo
```

## Components

### Python automation

- [Multi-account bot](https://github.com/muhamad-idris/seofast/blob/main/seofast.py): `seofast.py`
- [Single-account bot](https://github.com/muhamad-idris/seofast/blob/main/seofast_single.py): `seofast_single.py`
- [Device profiles](https://github.com/muhamad-idris/seofast/blob/main/devices.py): `devices.py`

### Browser automation

- [Task clicker](https://github.com/muhamad-idris/seofast/blob/main/extensi/scripts/content.js): `extensi/scripts/content.js`
- [Ad-tab manager](https://github.com/muhamad-idris/seofast/blob/main/extensi/scripts/background.js): `extensi/scripts/background.js`
- [Extension popup](https://github.com/muhamad-idris/seofast/blob/main/extensi/popup/popup.js): `extensi/popup/popup.js`
- [Userscript clicker](https://github.com/muhamad-idris/seofast/blob/main/extensi/seofast-autoclicker.user.js): `extensi/seofast-autoclicker.user.js`

### Local data

- [Student email CSV](https://github.com/muhamad-idris/seofast/blob/main/daftar_id_belajar_siswa.csv): `daftar_id_belajar_siswa.csv`

### Other components

- **Operator**
- **SeoFast service**

## Connections

- Multi-account bot → Device profiles: imports profiles (evidence: `seofast.py`)
- Multi-account bot → Student email CSV: reads emails (evidence: `seofast.py`)
- Multi-account bot → SeoFast service: authenticates and requests tasks (evidence: `seofast.py`)
- Multi-account bot → SeoFast service: submits completion (evidence: `seofast.py`)
- Single-account bot → SeoFast service: authenticates and requests tasks (evidence: `seofast_single.py`)
- Single-account bot → SeoFast service: submits completion (evidence: `seofast_single.py`)
- Task clicker → SeoFast service: clicks site tasks (evidence: `extensi/scripts/content.js`)
- Ad-tab manager → SeoFast service: detects site tabs (evidence: `extensi/scripts/background.js`)
- Userscript clicker → SeoFast service: clicks and validates tasks (evidence: `extensi/seofast-autoclicker.user.js`)
- Extension popup → Operator: accepts button action (evidence: `extensi/popup/popup.js`)
