Skip to content

matheusfarocha/SendToMac

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SendToMac

Send data to your Mac even while turned off.

🛠️ Features

  • 📱 iOS and macOS native apps
  • 🛎️ Notification-style prompts: Open, Snooze, or Ignore
  • ☁️ Cloud sync via Supabase, with automatic data expiration and cleanup

🚀 Getting Started

Prerequisites

  • Python 3.10+
  • Xcode 15+
  • Supabase Account

Setup Instructions

  1. Install Dependencies via pip install -r requirements.txt

  2. Create Supabase Database with schema:
    create table public."Main" (
    id bigint generated by default as identity not null,
    created_at timestamp with time zone not null default now(),
    file_data text not null,
    file_size bigint null,
    file_type text not null,
    is_read boolean not null default false,
    expires_at timestamp with time zone not null default (now() + '1 day'::interval),
    user_id bigint generated by default as identity not null,
    use_at timestamp with time zone null default now(),
    constraint Main_pkey primary key (id, user_id),
    constraint Main_user_id_key unique (user_id)
    ) TABLESPACE pg_default;

  3. make .env file in root directory with format:
    SUPABASE_URL = your supabase url SUPABASE_KEY = your supabase key

Applications

IOS: connect your Iphone to mac via USB, open the project, build application to device (Keep in mind it will only be valid for 7 days if not using a paid Apple Developer Account).

MAC: use command python3 setup.py py2app - application should be stored in the 'dist' directory

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors