# sushen/indianvisaslotbooking architecture

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

- Interactive diagram: https://gitdiagram.com/sushen/indianvisaslotbooking
- Repository: https://github.com/sushen/indianvisaslotbooking

## Overview

This repository is a collection of browser-automation tools for Facebook and LinkedIn, alongside scripts for handling profile data and Google Sheets. A visible workflow opens a browser, navigates to a profile, and can compose or send a message; other modules cover Facebook groups and LinkedIn feeds, profiles, and groups. Database creation and synchronization scripts are present, but their internal flows are not established by the excerpts. The README is empty, so coverage of those branches relies on filenames and the source index; uncertain connections are omitted.

Main entry points: [`Bots/AllPageBot.py`](https://github.com/sushen/indianvisaslotbooking/blob/master/Bots/AllPageBot.py) (Page bot mixin), [`Pages/BasePage.py`](https://github.com/sushen/indianvisaslotbooking/blob/master/Pages/BasePage.py) (Page interaction layer), [`PersonalTouch/GoogleSheetToDatabase.py`](https://github.com/sushen/indianvisaslotbooking/blob/master/PersonalTouch/GoogleSheetToDatabase.py) (Sheet-driven messaging), [`Pages/LoginPage.py`](https://github.com/sushen/indianvisaslotbooking/blob/master/Pages/LoginPage.py) (Facebook login page)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["Entry and orchestration"]
  node_main["Script entry<br/>[main.py]"]
  node_allbot["Page bot mixin<br/>[AllPageBot.py]"]
end

subgraph group_facebook["Facebook automation"]
  node_loginbot["Login bot<br/>[bot_LoginPage.py]"]
  node_groupbot["Group bot<br/>[bot_GropusPage.py]"]
  node_memberbot["Group-member bot"]
  node_profilebot["Profile bot<br/>[bot_ProfilePage.py]"]
  node_messagebot["Message bot<br/>[bot_MessagePage.py]"]
  node_loginpage["Facebook login page<br/>[LoginPage.py]"]
  node_grouppage["Facebook group page<br/>[GroupPage.py]"]
  node_memberpage["Group-member page<br/>[GroupMemberPage.py]"]
  node_profilepage["Facebook profile page<br/>[ProfilePage.py]"]
  node_messagepage["Facebook message page<br/>[MessagePage.py]"]
end

subgraph group_linkedin["LinkedIn automation"]
  node_linkedinbot["LinkedIn page controller<br/>[bot_Linkedin.py]"]
  node_linkedinpage["LinkedIn feed page<br/>[LinkedinPage.py]"]
  node_linkedinprofile["LinkedIn profile page"]
  node_linkedingroup["LinkedIn group page"]
  node_linkedinmember["LinkedIn member page"]
end

subgraph group_data["Data operations"]
  node_sheetworkflow["Sheet-driven messaging"]
  node_membercollection["Comment member collection"]
  node_communication["Communication workflow"]
  node_sheetimport["Sheet import"]
  node_dedup["Duplicate removal"]
  node_datasync["Data synchronization<br/>[SyncData.py]"]
  node_dbsync["Local-central sync"]
  node_dbcreate["Database creation<br/>[create_database.py]"]
end

subgraph group_browser["Browser foundation"]
  node_basepage["Page interaction layer<br/>[BasePage.py]"]
  node_basebot["Browser driver setup<br/>[bot_base.py]"]
  node_config["Facebook settings<br/>[config.py]"]
  node_botconfig["Bot settings<br/>[bot_config.py]"]
end

node_operator(("Operator"))
node_facebook(("Facebook"))
node_linkedin(("LinkedIn"))
node_sheets(("Google Sheets"))
node_sqlite[("SQLite database")]

node_operator -->|"runs"| node_main
node_main -->|"creates"| node_allbot
node_allbot -->|"mixes in"| node_loginbot
node_allbot -->|"mixes in"| node_groupbot
node_allbot -->|"mixes in"| node_memberbot
node_allbot -->|"mixes in"| node_profilebot
node_allbot -->|"mixes in"| node_messagebot
node_loginbot -->|"inherits"| node_basebot
node_loginbot -->|"uses"| node_loginpage
node_loginbot -->|"reads settings"| node_botconfig
node_groupbot -->|"uses"| node_loginpage
node_loginpage -->|"inherits"| node_basepage
node_loginpage -->|"reads settings"| node_config
node_loginpage -->|"imports"| node_grouppage
node_grouppage -->|"inherits"| node_basepage
node_memberpage -->|"inherits"| node_basepage
node_profilepage -->|"inherits"| node_basepage
node_messagepage -->|"inherits"| node_basepage
node_messagebot -->|"uses"| node_messagepage
node_messagebot -->|"uses"| node_profilepage
node_main -->|"opens site"| node_facebook
node_sheetworkflow -->|"uses"| node_allbot
node_sheetworkflow -->|"reads locators"| node_messagepage
node_sheetworkflow -->|"reads locators"| node_profilepage
node_sheetworkflow -->|"reads links"| node_sheets
node_sheetworkflow -->|"updates records"| node_sqlite
node_membercollection -->|"uses"| node_allbot
node_communication -->|"uses"| node_allbot
node_communication -->|"uses"| node_messagepage
node_communication -->|"uses"| node_profilepage
node_linkedinbot -->|"uses"| node_linkedinpage
node_linkedinbot -->|"uses"| node_linkedinprofile
node_linkedinbot -->|"uses"| node_linkedingroup
node_linkedinbot -->|"uses"| node_linkedinmember
node_linkedinpage -->|"inherits"| node_basepage
node_linkedinpage -->|"reads settings"| node_config
node_linkedinprofile -->|"inherits"| node_basepage
node_linkedingroup -->|"inherits"| node_basepage
node_linkedinmember -->|"inherits"| node_basepage

click node_main "https://github.com/sushen/indianvisaslotbooking/blob/master/main.py"
click node_allbot "https://github.com/sushen/indianvisaslotbooking/blob/master/Bots/AllPageBot.py"
click node_loginbot "https://github.com/sushen/indianvisaslotbooking/blob/master/Bots/bot_LoginPage.py"
click node_groupbot "https://github.com/sushen/indianvisaslotbooking/blob/master/Bots/bot_GropusPage.py"
click node_memberbot "https://github.com/sushen/indianvisaslotbooking/blob/master/Bots/bot_GroupMemberPage.py"
click node_profilebot "https://github.com/sushen/indianvisaslotbooking/blob/master/Bots/bot_ProfilePage.py"
click node_messagebot "https://github.com/sushen/indianvisaslotbooking/blob/master/Bots/bot_MessagePage.py"
click node_loginpage "https://github.com/sushen/indianvisaslotbooking/blob/master/Pages/LoginPage.py"
click node_grouppage "https://github.com/sushen/indianvisaslotbooking/blob/master/Pages/GroupPage.py"
click node_memberpage "https://github.com/sushen/indianvisaslotbooking/blob/master/Pages/GroupMemberPage.py"
click node_profilepage "https://github.com/sushen/indianvisaslotbooking/blob/master/Pages/ProfilePage.py"
click node_messagepage "https://github.com/sushen/indianvisaslotbooking/blob/master/Pages/MessagePage.py"
click node_sheetworkflow "https://github.com/sushen/indianvisaslotbooking/blob/master/PersonalTouch/GoogleSheetToDatabase.py"
click node_membercollection "https://github.com/sushen/indianvisaslotbooking/blob/master/PersonalTouch/CollectMemberFromComment.py"
click node_communication "https://github.com/sushen/indianvisaslotbooking/blob/master/PersonalTouch/99.deep_communication_8th.py"
click node_sheetimport "https://github.com/sushen/indianvisaslotbooking/blob/master/DatabaseCreation/GetDataFromGoogleSheet.py"
click node_dedup "https://github.com/sushen/indianvisaslotbooking/blob/master/DatabaseCreation/RemoveDuplicates.py"
click node_datasync "https://github.com/sushen/indianvisaslotbooking/blob/master/DatabaseCreation/SyncData.py"
click node_dbsync "https://github.com/sushen/indianvisaslotbooking/blob/master/DatabaseCreation/Sync_Local_Central_DB.py"
click node_dbcreate "https://github.com/sushen/indianvisaslotbooking/blob/master/DatabaseCreation/create_database.py"
click node_linkedinbot "https://github.com/sushen/indianvisaslotbooking/blob/master/Bots/bot_Linkedin.py"
click node_linkedinpage "https://github.com/sushen/indianvisaslotbooking/blob/master/Pages/LinkedinPage.py"
click node_linkedinprofile "https://github.com/sushen/indianvisaslotbooking/blob/master/Pages/Linkedin_Profile.py"
click node_linkedingroup "https://github.com/sushen/indianvisaslotbooking/blob/master/Pages/LinkedingroupPage.py"
click node_linkedinmember "https://github.com/sushen/indianvisaslotbooking/blob/master/Pages/LinkedinGroupmamber.py"
click node_basepage "https://github.com/sushen/indianvisaslotbooking/blob/master/Pages/BasePage.py"
click node_basebot "https://github.com/sushen/indianvisaslotbooking/blob/master/Bots/bot_base.py"
click node_config "https://github.com/sushen/indianvisaslotbooking/blob/master/Config/config.py"
click node_botconfig "https://github.com/sushen/indianvisaslotbooking/blob/master/Config/bot_config.py"

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_main,node_allbot toneBlue
class node_loginbot,node_groupbot,node_memberbot,node_profilebot,node_messagebot,node_loginpage,node_grouppage,node_memberpage,node_profilepage,node_messagepage,node_sqlite toneAmber
class node_linkedinbot,node_linkedinpage,node_linkedinprofile,node_linkedingroup,node_linkedinmember toneMint
class node_sheetworkflow,node_membercollection,node_communication,node_sheetimport,node_dedup,node_datasync,node_dbsync,node_dbcreate toneRose
class node_basepage,node_basebot,node_config,node_botconfig,node_operator,node_facebook,node_linkedin,node_sheets toneIndigo
```

## Components

### Entry and orchestration

- [Script entry](https://github.com/sushen/indianvisaslotbooking/blob/master/main.py): `main.py`
- [Page bot mixin](https://github.com/sushen/indianvisaslotbooking/blob/master/Bots/AllPageBot.py): `Bots/AllPageBot.py`

### Facebook automation

- [Login bot](https://github.com/sushen/indianvisaslotbooking/blob/master/Bots/bot_LoginPage.py): `Bots/bot_LoginPage.py`
- [Group bot](https://github.com/sushen/indianvisaslotbooking/blob/master/Bots/bot_GropusPage.py): `Bots/bot_GropusPage.py`
- [Group-member bot](https://github.com/sushen/indianvisaslotbooking/blob/master/Bots/bot_GroupMemberPage.py): `Bots/bot_GroupMemberPage.py`
- [Profile bot](https://github.com/sushen/indianvisaslotbooking/blob/master/Bots/bot_ProfilePage.py): `Bots/bot_ProfilePage.py`
- [Message bot](https://github.com/sushen/indianvisaslotbooking/blob/master/Bots/bot_MessagePage.py): `Bots/bot_MessagePage.py`
- [Facebook login page](https://github.com/sushen/indianvisaslotbooking/blob/master/Pages/LoginPage.py): `Pages/LoginPage.py`
- [Facebook group page](https://github.com/sushen/indianvisaslotbooking/blob/master/Pages/GroupPage.py): `Pages/GroupPage.py`
- [Group-member page](https://github.com/sushen/indianvisaslotbooking/blob/master/Pages/GroupMemberPage.py): `Pages/GroupMemberPage.py`
- [Facebook profile page](https://github.com/sushen/indianvisaslotbooking/blob/master/Pages/ProfilePage.py): `Pages/ProfilePage.py`
- [Facebook message page](https://github.com/sushen/indianvisaslotbooking/blob/master/Pages/MessagePage.py): `Pages/MessagePage.py`

### LinkedIn automation

- [LinkedIn page controller](https://github.com/sushen/indianvisaslotbooking/blob/master/Bots/bot_Linkedin.py): `Bots/bot_Linkedin.py`
- [LinkedIn feed page](https://github.com/sushen/indianvisaslotbooking/blob/master/Pages/LinkedinPage.py): `Pages/LinkedinPage.py`
- [LinkedIn profile page](https://github.com/sushen/indianvisaslotbooking/blob/master/Pages/Linkedin_Profile.py): `Pages/Linkedin_Profile.py`
- [LinkedIn group page](https://github.com/sushen/indianvisaslotbooking/blob/master/Pages/LinkedingroupPage.py): `Pages/LinkedingroupPage.py`
- [LinkedIn member page](https://github.com/sushen/indianvisaslotbooking/blob/master/Pages/LinkedinGroupmamber.py): `Pages/LinkedinGroupmamber.py`

### Data operations

- [Sheet-driven messaging](https://github.com/sushen/indianvisaslotbooking/blob/master/PersonalTouch/GoogleSheetToDatabase.py): `PersonalTouch/GoogleSheetToDatabase.py`
- [Comment member collection](https://github.com/sushen/indianvisaslotbooking/blob/master/PersonalTouch/CollectMemberFromComment.py): `PersonalTouch/CollectMemberFromComment.py`
- [Communication workflow](https://github.com/sushen/indianvisaslotbooking/blob/master/PersonalTouch/99.deep_communication_8th.py): `PersonalTouch/99.deep_communication_8th.py`
- [Sheet import](https://github.com/sushen/indianvisaslotbooking/blob/master/DatabaseCreation/GetDataFromGoogleSheet.py): `DatabaseCreation/GetDataFromGoogleSheet.py`
- [Duplicate removal](https://github.com/sushen/indianvisaslotbooking/blob/master/DatabaseCreation/RemoveDuplicates.py): `DatabaseCreation/RemoveDuplicates.py`
- [Data synchronization](https://github.com/sushen/indianvisaslotbooking/blob/master/DatabaseCreation/SyncData.py): `DatabaseCreation/SyncData.py`
- [Local-central sync](https://github.com/sushen/indianvisaslotbooking/blob/master/DatabaseCreation/Sync_Local_Central_DB.py): `DatabaseCreation/Sync_Local_Central_DB.py`
- [Database creation](https://github.com/sushen/indianvisaslotbooking/blob/master/DatabaseCreation/create_database.py): `DatabaseCreation/create_database.py`

### Browser foundation

- [Page interaction layer](https://github.com/sushen/indianvisaslotbooking/blob/master/Pages/BasePage.py): `Pages/BasePage.py`
- [Browser driver setup](https://github.com/sushen/indianvisaslotbooking/blob/master/Bots/bot_base.py): `Bots/bot_base.py`
- [Facebook settings](https://github.com/sushen/indianvisaslotbooking/blob/master/Config/config.py): `Config/config.py`
- [Bot settings](https://github.com/sushen/indianvisaslotbooking/blob/master/Config/bot_config.py): `Config/bot_config.py`

### Other components

- **Operator**
- **Facebook**
- **LinkedIn**
- **Google Sheets**
- **SQLite database**

## Connections

- Operator → Script entry: runs (evidence: `main.py`)
- Script entry → Page bot mixin: creates (evidence: `main.py`)
- Page bot mixin → Login bot: mixes in (evidence: `Bots/AllPageBot.py`)
- Page bot mixin → Group bot: mixes in (evidence: `Bots/AllPageBot.py`)
- Page bot mixin → Group-member bot: mixes in (evidence: `Bots/AllPageBot.py`)
- Page bot mixin → Profile bot: mixes in (evidence: `Bots/AllPageBot.py`)
- Page bot mixin → Message bot: mixes in (evidence: `Bots/AllPageBot.py`)
- Login bot → Browser driver setup: inherits (evidence: `Bots/bot_LoginPage.py`)
- Login bot → Facebook login page: uses (evidence: `Bots/bot_LoginPage.py`)
- Login bot → Bot settings: reads settings (evidence: `Bots/bot_LoginPage.py`)
- Group bot → Facebook login page: uses (evidence: `Bots/bot_GropusPage.py`)
- Facebook login page → Page interaction layer: inherits (evidence: `Pages/LoginPage.py`)
- Facebook login page → Facebook settings: reads settings (evidence: `Pages/LoginPage.py`)
- Facebook login page → Facebook group page: imports (evidence: `Pages/LoginPage.py`)
- Facebook group page → Page interaction layer: inherits (evidence: `Pages/GroupPage.py`)
- Group-member page → Page interaction layer: inherits (evidence: `Pages/GroupMemberPage.py`)
- Facebook profile page → Page interaction layer: inherits (evidence: `Pages/ProfilePage.py`)
- Facebook message page → Page interaction layer: inherits (evidence: `Pages/MessagePage.py`)
- Message bot → Facebook message page: uses (evidence: `Bots/bot_MessagePage.py`)
- Message bot → Facebook profile page: uses (evidence: `Bots/bot_MessagePage.py`)
- Script entry → Facebook: opens site (evidence: `main.py`)
- Sheet-driven messaging → Page bot mixin: uses (evidence: `PersonalTouch/GoogleSheetToDatabase.py`)
- Sheet-driven messaging → Facebook message page: reads locators (evidence: `PersonalTouch/GoogleSheetToDatabase.py`)
- Sheet-driven messaging → Facebook profile page: reads locators (evidence: `PersonalTouch/GoogleSheetToDatabase.py`)
- Sheet-driven messaging → Google Sheets: reads links (evidence: `PersonalTouch/GoogleSheetToDatabase.py`)
- Sheet-driven messaging → SQLite database: updates records (evidence: `PersonalTouch/GoogleSheetToDatabase.py`)
- Comment member collection → Page bot mixin: uses (evidence: `PersonalTouch/CollectMemberFromComment.py`)
- Communication workflow → Page bot mixin: uses (evidence: `PersonalTouch/99.deep_communication_8th.py`)
- Communication workflow → Facebook message page: uses (evidence: `PersonalTouch/99.deep_communication_8th.py`)
- Communication workflow → Facebook profile page: uses (evidence: `PersonalTouch/99.deep_communication_8th.py`)
- LinkedIn page controller → LinkedIn feed page: uses (evidence: `Bots/bot_Linkedin.py`)
- LinkedIn page controller → LinkedIn profile page: uses (evidence: `Bots/bot_Linkedin.py`)
- LinkedIn page controller → LinkedIn group page: uses (evidence: `Bots/bot_Linkedin.py`)
- LinkedIn page controller → LinkedIn member page: uses (evidence: `Bots/bot_Linkedin.py`)
- LinkedIn feed page → Page interaction layer: inherits (evidence: `Pages/LinkedinPage.py`)
- LinkedIn feed page → Facebook settings: reads settings (evidence: `Pages/LinkedinPage.py`)
- LinkedIn profile page → Page interaction layer: inherits (evidence: `Pages/Linkedin_Profile.py`)
- LinkedIn group page → Page interaction layer: inherits (evidence: `Pages/LinkedingroupPage.py`)
- LinkedIn member page → Page interaction layer: inherits (evidence: `Pages/LinkedinGroupmamber.py`)
