Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Roadmap #1

Open
38 tasks
fnLog0 opened this issue Dec 6, 2024 · 0 comments
Open
38 tasks

Roadmap #1

fnLog0 opened this issue Dec 6, 2024 · 0 comments
Assignees

Comments

@fnLog0
Copy link
Member

fnLog0 commented Dec 6, 2024

Phase 1: Authentication & Backend Setup

Backend

  • Validate tg.initData payload from Telegram for authenticity.
  • Create a session management system to link Telegram User ID with backend accounts.
  • Set up middleware to handle bot prevention checks (e.g., Humanode BotBasher).
  • Implement error handling for invalid or expired sessions.

Frontend

  • Access Telegram User ID and user data from tg.initData.
  • Display onboarding flow for new users based on Telegram ID.
  • Implement clear messaging about permissions and terms of service.

UI/UX


Phase 2: Feature Development

A. Backup System

Backend

  • Create APIs for initiating encrypted backups (private chats, groups, channels).
  • Implement a file storage service compatible with Storacha for encrypted backup data.
  • Generate HTML files for backed-up data.
  • Enable chat/channel selection and metadata tracking (size, type, timestamps).

Frontend

  • Build chat/channel selection UI.
  • Add progress indicators for backup uploads.
  • Implement HTML preview and download functionality for backed-up data.
  • Provide options to delete backups.

UI/UX

  • Design backup interface with intuitive chat/channel selection.
  • Create preview designs for downloadable HTML backups.
  • Add confirmation dialogs for backup deletion.

B. Loyalty Program

Backend

  • Set up point calculation system for:
    • Bytes uploaded.
    • Deduction for file deletion.
  • Implement leaderboard tracking based on points.
  • Develop a free-tier point tracking mechanism to encourage subscription upgrades.

Frontend

  • Build loyalty dashboard:
    • Display current points and leaderboard.
    • Show free-tier potential points and upgrade CTA.
  • Add a task submission form for bonus points (e.g., Discord username).

UI/UX

  • Design leaderboard screens with gamification elements.
  • Prototype loyalty dashboard with tier-specific details.

Phase 3: Enhancements

Backup Enhancements

  • Enable individual message/file selection for backup.
  • Add mobile sharing APIs for sharing backed-up files.
  • Generate detailed post-backup summaries.

Gamification Features

  • Introduce bonus point incentives for completing tasks (e.g., follow on X).
  • Add visual feedback for completing tasks and earning extra points.

Account Deletion

  • Implement backend mechanism to delete user accounts and data.
  • Provide extra loyalty points as an incentive before account deletion.

GitHub Task Examples

Task: Validate Telegram User Data

Description: Implement backend validation of tg.initData payload to ensure the data is authentic and not tampered with.
Labels: Backend, High Priority
Milestone: Phase 1: Authentication & Backend Setup


Task: Build Loyalty Dashboard UI

Description: Create a dashboard to display loyalty points, leaderboard rankings, and free-tier upgrade options.
Labels: Frontend, UI/UX, Medium Priority
Milestone: Phase 2: Loyalty Program

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants