SIMT is a relationship management application that helps you stay connected with important people in your life through your iMessage conversations. It provides AI-powered conversation prompts to help you reach out to friends and family.
- macOS 10.15 or later (required for iMessage integration)
- At least 2GB of free disk space
- Internet connection
- Active iMessage account
Open Terminal (Applications > Utilities > Terminal) and run:
git clone https://github.com/wasumayan/SorryIMissedThis
cd SorryIMissedThisSimply run our automated setup script:
./setup.shThis script will:
- Check and install required software (Python 3.9+, Node.js 18+)
- Set up the backend server
- Set up the frontend application
- Set up the iMessage integration
- Create convenient launch scripts
The setup takes about 5-10 minutes depending on your internet connection.
After setup completes, you can start the application by either:
Option A: Double-click to start (easiest)
- Find
start-all.commandin the SorryIMissedThis folder - Double-click it
- This will automatically open 2-3 terminal windows with all services running
Option B: Start manually
Open separate terminal windows and run:
# Terminal 1 - Backend
./start-backend.sh
# Terminal 2 - Frontend
./start-frontend.sh
# Terminal 3 - iMessage Bridge (optional, only if you configured Photon)
./start-photon.shNote: You only need 2 terminals (backend + frontend) to use the app. The photon-server (Terminal 3) is only needed if you want iMessage integration. See "iMessage Integration Setup" section below.
Once all services are running, open your browser to:
http://localhost:5173
You should see the SIMT welcome page.
- Enter your Name, then hit "Continue"
- Hit the "Connect to iMessage" button
- Select Chats Manually (15) then hit "Continue"
- Click "Get Started"
- Click "Enroll in the Study"
- Follow the study
During the study, you will:
- Use the application to manage your relationships
- Connect your iMessage to sync conversations
- Receive AI-generated prompts for reaching out to contacts
- Complete brief surveys at the end of each study phase
- The study consists of 3 phases, each lasting 1 day
- Number of messages you send
- How often you interact with AI prompts
- Whether you accept, edit, or dismiss suggestions
- Your survey responses
- The actual content of your messages
- Personal information about your contacts
- Any data outside the SIMT application
To use iMessage features with SIMT:
- Sign up for Photon at photon.codes
- Follow their setup instructions to connect your Mac
- Get your Photon server URL (e.g.,
yourname.imsgd.photon.codes) - Edit
photon-server/.envand add your URL:PHOTON_SERVER_URL=https://yourname.imsgd.photon.codes - Restart the photon server
For detailed iMessage setup instructions, see photon-server/README.md
If the automated setup fails:
- Make sure you have a stable internet connection
- Try running
./setup.shagain - Contact the research team if issues persist
Backend won't start:
- Check that port 5002 is not in use by another application
- Make sure you're in the correct directory
- Try:
cd backend && source venv/bin/activate && python run.py
Frontend won't start:
- Check that port 5173 is not in use
- Make sure Node.js is installed:
node --version - Try:
cd FigmaFrontEnd && npm install && npm run dev
iMessage integration not working:
- Make sure you've set up your Photon account
- Check that
photon-server/.envhas your correct Photon URL - Verify the photon server is running on port 3001
- See
photon-server/README.mdfor detailed troubleshooting
- Check that both backend and frontend terminals show no errors
- Try a different browser (Chrome, Firefox, Safari, Edge)
- Clear your browser cache
- Try accessing
http://127.0.0.1:5173instead
- Press Ctrl+C in all terminal windows to stop services
- Run
./start-all.commandagain OR - Run each start script manually in separate terminals
- All data is stored in a secure Azure database
- Only aggregated, anonymized data will be used in research publications
- You can request to delete your data at any time
- The research team uses a password-protected admin interface to view anonymized study metrics
The research team can access study metrics using:
http://localhost:5002/api/study/stats/all?password=password
This shows ONLY anonymized participant IDs and usage statistics, NOT your personal messages or contact information.
- Day 1: Phase 1 (Condition A)
- Day 2: Phase 2 (Condition B) + Survey for Phase 1
- Day 3: Phase 3 (Condition C) + Survey for Phase 2
- Day 4: Final Survey for Phase 3
The system will automatically track which phase you're in and prompt you for surveys at the appropriate times.
Q: How long should I use the app each day? A: Use it naturally as you would any relationship management tool. There's no minimum required time.
Q: Can I use my real contacts? A: Yes, the system is designed for real-world use with your actual relationships.
Q: What if I need to skip a day? A: Contact the research team. We understand that life happens.
Q: Can I quit the study? A: Yes, participation is voluntary. Contact the research team to withdraw.
Q: Do I need to keep the terminal windows open? A: Yes, while using the application. You can minimize them, but don't close them.
If you encounter any issues during installation or usage:
Contact the Research Team:
- Email: jm3230@princeton.edu
After the study is complete, you can uninstall by:
- Closing all terminal windows (Ctrl+C in each)
- Deleting the
SorryIMissedThisfolder - (Optional) Uninstalling Python and Node.js if you don't need them:
brew uninstall python@3.9 node
If you prefer to set up manually or if the automatic script doesn't work:
# Install Homebrew (if not already installed)
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# Install Python and Node.js
brew install python@3.9 nodecd backend
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
cp .env.example .env
python run.pycd FigmaFrontEnd
npm install
npm run devcd photon-server
npm install
# Edit .env with your Photon URL
npm startThank you for participating in our research!
We appreciate your time and contribution to understanding how AI can help people maintain meaningful relationships.