Somespai
Somespai is a P2P Marketplace of spaces in Barcelona and Catalonia that connects people who need a space with those who have one available. The project was born with a very clear philosophy: radical minimalism, priority geolocation, mobile-first orientation and the freedom to close economic agreements externally.
The platform includes all kinds of spaces: storage rooms, work studios, gardens, rehearsal rooms, multipurpose spaces for events, parking spaces, among others.
Development and Architecture
Regarding the technology stack, Somespai is developed entirely in open source using modern and efficient technologies:
- Next.js 15 (App Router, RSC): Static route generation (SSG) for cities (improving SEO) and server components to provide high performance and fast loading.
- Supabase: As backend-as-a-service. It uses a PostgreSQL database with the PostGIS extension to make precise geolocalized queries (
nearby_spaces), as well as handling authentication (Magic Links), photo storage, and strict RLS security policies. - MapLibre GL JS: Open source map systems to ensure a smooth experience.
- Internationalization (i18n): Interface fully translated into three languages: Catalan (default), Spanish and English (with
/[locale]route component). - Native design system: The use of Tailwind or CSS-in-JS has been avoided in favor of native CSS with
@layergroups, built based on a design by own components (accessible from the hidden section/design-system).
Participate and contribute
The project is on GitHub: xarop/app.somespai.
Everyone is welcome not only to try it out — if you have an empty room or storage room that you want to advertise and rent, it only takes about two minutes to register and publish your space — but also to contribute to the source code.
If you are a developer and want to help grow and improve the platform, check out the repository's CONTRIBUTING.md document as well as DESIGN.md and AGENTS.md to understand architecture and design conventions and submit your Pull Requests.