尚未检测到更新。GitHub 发布版本后会显示在这里。
Landing page for Near, an iOS social network for the friends you actually see. Astro, Tailwind, Supabase, 7 languages.
翻译准备中
正在加载完整 README。
查看完整 README ↗The landing page for Near, an iOS social network for the friends you actually see. You can only add someone on Near while you're physically together, phone next to phone.
Live: nearapp.social · The app is in TestFlight, App Store soon.
hreflang tags and a language switcher.Near's Bluetooth proximity engine is open source as copresence-bluetooth-kit.
| Site | Astro 7, Tailwind CSS 4, TypeScript |
| Scrolling | Lenis |
| Backend | Supabase (Postgres, Edge Functions) |
| Hosting | Vercel |
npm install
npm run dev # http://localhost:4321
npm run build # static output in dist/
npm run preview
src/config.ts holds the App Store URL, Supabase keys, contact email and the list of locales.src/i18n/*.ts has one dictionary per language. To add one, copy en.ts, then register it in config.ts, astro.config.mjs and src/i18n/index.ts.src/components/ has the page sections (Hero, HowItWorks, Beliefs, Cta) and UI pieces (Header, Waitlist, ContactForm, PhoneMock, Drawing).src/scripts/ has the small client modules: boil, reveal, header, phone, roadmap, lang, smooth, waitlist, contact.supabase/migrations/ defines the waitlist and contact_messages tables. supabase/functions/ has the email Edge Functions.Put new transparent PNGs in drawings-src/ and normalize them:
node scripts/normalize-drawings.mjs
Then use one anywhere with <Drawing name="file-name" size={160} />. The boil filters live in src/layouts/Base.astro, and the frame rate in src/scripts/boil.ts.