hollow-task

byDavood sharifi

1. What your app really is (core idea) Your app = Task + Action + Automation Engine Instead of just: “Write a task” You want: “When I press start → do actions automatically” Example: Task: “Morning routine” Open email Send report Open Word Start a game install 2. Core Features (architecture) A. Task Manager Basic structure: Task ├── id ├── name ├── trigger (manual / time / event) └── actions[] B. Actions (very important) Each task contains actions like: Action ├── type (email, open_app, write_file, install_app) ├── parameters └── status Examples: Send Email: type: "email" params: to: "test@email.com" subject: "Hello" body: "Message" Open App: type: "open_app" params: app_name: "Word" C. Automation Engine (the brain) This is the algorithm that runs tasks. Pseudo-code: for each task: if trigger condition is true: run task.actions sequentially Execution: function runTask(task): for action in task.actions: execute(action) 3. Triggers (how tasks start) You need different triggers: Manual (user clicks button) Time-based (e.g. 8:00 AM) Event-based (file created, app opened) Example: if current_time == task.time: runTask(task) 4. PC Control vs Phone Control (important difference) PC (easier) You can use: Python (automation) Node.js OS APIs Examples: Open apps → subprocess Write files → file system Control mouse/keyboard → libraries like pyautogui Phone (harder ⚠️) Android: Use accessibility services Use automation APIs iOS: Very restricted (Apple blocks most automation) 5. System Design (high-level) Frontend (UI) ↓ Backend / Logic Engine ↓ Execution Layer (OS interaction) 6. Suggested Tech Stack Beginner-friendly: Frontend: React / Flutter Backend: Node.js OR Python Database: SQLite (simple) Firebase (cloud) 7. Example Algorithm (full flow) User creates task: Task: "Work Start" Trigger: 09:00 Actions: 1. Open Outlook 2. Send Email 3. Open Word Execution loop: while true: for task in tasks: if task.trigger == current_time: runTask(task) sleep(1 minute) 8. Security (VERY important) You are dealing with: Email sending App control Possibly passwords So: NEVER store passwords in plain text Use OAuth for email (like Gmail API) Ask user permission clearly 9. MVP (start small) Don’t try everything at once. Start with: Create tasks Add simple actions: Open app Show notification Add time trigger Add execution engine Then expand. 10. Reality check (important) What you want is powerful—but: Full control of phone + PC = complex Cross-platform automation is hard OS restrictions will limit you Start with: 👉 PC automation first 👉 Then Android 👉 Then cloud sync Design a full database schema Give you real code (Python or Node.js) Help you build a prototype step-by-step

LandingSystemLogsLoginNotifications
Landing

Comments (0)

No comments yet. Be the first!

Architecture

No Services Diagrams Yet

Architecture diagrams will be automatically generated when the Project Manager creates tasks for your project.

Landing design preview
Login: Sign In
AdminDashboard: View Overview
SystemLogs: Monitor Logs
SystemLogs: Filter Errors
UserManagement: View Users
UserManagement: Edit Permissions
UserManagement: Manage Roles
Settings: Configure Triggers
Settings: Set Action Types
SystemLogs: View Execution History
SystemLogs: Export Logs