Skip to content

aaronhma/dahacks4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

11 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

GhostCam (previously StopStalk)

Developed with πŸ’– & 😁 by Aaron Ma

About

The idea for GhostCam originated from a series of conversations with friends, classmates, and community members regarding the increasing amount of personal identifiable information (PII) that appears unintentionally in everyday social media posts. Through informal surveys and observations, we noted a clear pattern: people frequently and unknowingly expose sensitive information such as faces, addresses, school identifiers, license plates, QR codes, and documents.

Running Locally

  1. Clone the repository and open it in Xcode 26.2 or later.

  2. Update Constants.swift with your API keys:

struct Constants {
    // OpenAI API Key
    static let apiKey = ""

    // Instagram/Facebook App Credentials
    // Get these from https://developers.facebook.com/apps/
    static let instagramAppId = ""
    static let instagramAppSecret = ""

    // Get the appropriate Instagram access token based on account type
    static func getInstagramAccessToken() -> String {
        let accountType = UserDefaults.standard.string(forKey: "instagramAccountType") ?? "development"
        return accountType == "judging" ? InstagramAccounts.judging : InstagramAccounts.development
    }

    // Supabase Configuration
    static let supabaseURL = ""
    static let supabaseAnonKey = ""

    struct InstagramAccounts {
        static let development = ""
        static let judging = ""
    }
}
  1. Build and enjoy!

About

DA Hacks 4.0 hackathon 3rd place winner (GhostCam)

Resources

Stars

Watchers

Forks

Languages