An iOS app. Rank your friends, connect your calendar and email, and let your digital twin quietly tell your closest friends when you could use support, with a concrete way to help.
| Path | What |
|---|---|
ios/ |
SwiftUI app (Person C) |
server/ |
TypeScript Express server: API, database, Google ingest, AI, SerpApi (Persons A and B) |
Needs a Mac with Xcode and Homebrew. Run make to list every command.
git clone https://github.com/sendtovishnu/hacktx26.git && cd hacktx26
make setup # node, Postgres, server deps, server/.env, seeded databaseAdd your keys to server/.env (GEMINI_API_KEY, META_API_KEY, SERPAPI_KEY). Without them the app still runs, but the twin and places steps return canned fixtures.
make server # API on :3000, restarts when you save a file
make sim # in a second terminal: build and launch on the SimulatorPostgres lives in ~/.hacktx26/pgdata, outside the repo. make db-reset puts the demo back to its starting state, and make db-stop shuts Postgres down.
One-time setup:
- Xcode > Settings > Accounts: add your Apple ID. A free account works, but installed apps expire after 7 days.
- Plug the iPhone in, tap Trust This Computer, then turn on Settings > Privacy & Security > Developer Mode and restart it.
cp local.mk.example local.mkand fill inTEAM_ID, aBUNDLE_IDof your own, andDEVICE(frommake devices).local.mkis git-ignored.
Then, with make server running:
make phone # build, install and launch; rerun after every changeThe app is built to talk to this Mac's Wi-Fi address (make ip), so keep the phone on the same Wi-Fi. If the network blocks devices from reaching each other, as many venue networks do, run make tunnel and put the https://…trycloudflare.com URL in local.mk as SERVER_URL.
The first launch asks for Local Network access: allow it. To point an installed app somewhere else without rebuilding, use Privacy > Developer in the app.
The demo runs without this: seeded data or an .ics upload stands in. To turn on Account > Connect in the app, someone on the team creates these once at console.cloud.google.com:
-
Create a project, then enable the Google Calendar API and Gmail API.
-
Set up the OAuth consent screen as External, leave it in testing, add the
calendar.readonlyandgmail.readonlyscopes, and add each teammate's Google account as a test user. -
Create an OAuth client of type iOS, using the bundle ID you build with (
BUNDLE_IDfromlocal.mkfor a phone,com.sendtovishnu.hacktx26.twinfor the Simulator). -
Create an OAuth client of type Web application. It needs no redirect URIs.
-
Put them in
server/.env(share these privately, never in git):GOOGLE_IOS_CLIENT_ID=…apps.googleusercontent.com GOOGLE_WEB_CLIENT_ID=…apps.googleusercontent.com GOOGLE_WEB_CLIENT_SECRET=… -
Restart
make server, then rebuild withmake simormake phone, which copy the client IDs into the app.
Because the app is unverified, Google shows a warning on sign-in: test users tap Advanced > Continue.
| Branch | Owner | Scope |
|---|---|---|
main |
everyone | Always demoable. Person A pushes the server scaffold here first. |
a-backend |
Person A | server/src/routes/, server/src/db/, server/src/google/, server/src/rules/ |
b-ai |
Person B | server/src/ai/, server/src/places/, server/scripts/ |
c-frontend |
Person C | ios/ (only Person C opens the Xcode project) |
The full plan, shared contract and each person's track are in the team build plan doc. Merge main into your branch after the scaffold lands and whenever someone announces a merge. All branches merge into main at 4:20pm: B, then A, then C.
Never commit secrets: server keys go in server/.env.