{"id":48829079,"url":"https://github.com/dreamlabs-ch/witelli20","last_synced_at":"2026-04-14T19:32:12.666Z","repository":{"id":294447175,"uuid":"929941311","full_name":"dreamlabs-ch/witelli20","owner":"dreamlabs-ch","description":"Modern student housing platform with room reservations, transport info, lost \u0026 found, message board, and weather integration. Built with Next.js, Firebase, and Tailwind CSS.","archived":false,"fork":false,"pushed_at":"2026-04-08T16:37:14.000Z","size":2849,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-08T18:11:53.317Z","etag":null,"topics":["calendar","dashboard","firebase","framer-motion","nextjs","react","reservations","responsive-design","student-housing","tailwindcss","transport","typescript","weather-app","zurich"],"latest_commit_sha":null,"homepage":"https://witelli20.ch","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dreamlabs-ch.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":".github/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-02-09T18:47:10.000Z","updated_at":"2026-04-08T16:36:38.000Z","dependencies_parsed_at":"2025-05-20T13:37:27.250Z","dependency_job_id":"27bc773e-9e5d-4e05-b4ad-eba45bd9ff59","html_url":"https://github.com/dreamlabs-ch/witelli20","commit_stats":null,"previous_names":["peaktwilight/witelli20","dreamlabs-ch/witelli20"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/dreamlabs-ch/witelli20","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dreamlabs-ch%2Fwitelli20","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dreamlabs-ch%2Fwitelli20/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dreamlabs-ch%2Fwitelli20/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dreamlabs-ch%2Fwitelli20/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dreamlabs-ch","download_url":"https://codeload.github.com/dreamlabs-ch/witelli20/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dreamlabs-ch%2Fwitelli20/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31812968,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T18:05:02.291Z","status":"ssl_error","status_checked_at":"2026-04-14T18:05:01.765Z","response_time":153,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["calendar","dashboard","firebase","framer-motion","nextjs","react","reservations","responsive-design","student-housing","tailwindcss","transport","typescript","weather-app","zurich"],"created_at":"2026-04-14T19:32:11.795Z","updated_at":"2026-04-14T19:32:12.660Z","avatar_url":"https://github.com/dreamlabs-ch.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Witelli20 Student Portal\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![Open Source](https://img.shields.io/badge/Open-Source-green.svg)](https://github.com/dreamlabs-ch/witelli20)\n[![GitHub Stars](https://img.shields.io/github/stars/dreamlabs-ch/witelli20)](https://github.com/dreamlabs-ch/witelli20/stargazers)\n[![GitHub Releases](https://img.shields.io/github/v/release/dreamlabs-ch/witelli20)](https://github.com/dreamlabs-ch/witelli20/releases)\n\nA modern, responsive web application for the Witellikerstrasse 20 student housing community in Zurich. Built with Next.js 15, React 19, Firebase, and Tailwind CSS, featuring real-time transport information, room reservations, community message boards, and weather integration.\n\n![Witelli20 Screenshot](public/screenshot.png)\n\n## Features\n\n### Core Functionality\n- **Room Reservations** - Book common spaces (Foyer, Party Room, Rooftop Terrace) with calendar view\n- **Transport Information** - Real-time departures and schedules using Swiss Transport API\n- **Lost \u0026 Found** - System for tracking missing items and packages\n- **Community Board** - Anonymous confession board for student communications\n- **Weather Integration** - Local weather forecasts and conditions\n\n### Technical Highlights\n- Server-side rendering with Next.js 15 App Router\n- Real-time database with Firebase Firestore\n- Responsive design with Tailwind CSS\n- Smooth animations using Framer Motion\n- Modern React 19 features\n- TypeScript for type safety\n- Automated release management\n\n## Tech Stack\n\n### Frontend\n- **Framework**: [Next.js 15.4.8](https://nextjs.org/) with App Router\n- **UI Library**: [React 19.1.1](https://react.dev/)\n- **Styling**: [Tailwind CSS 3.4](https://tailwindcss.com/) with Typography plugin\n- **Animations**: [Framer Motion 12](https://www.framer.com/motion/)\n- **Icons**: [Phosphor Icons](https://phosphoricons.com/), [Heroicons](https://heroicons.com/)\n- **Markdown**: [React Markdown](https://github.com/remarkjs/react-markdown) with GFM support\n- **Animations**: [Lottie](https://lottiefiles.com/) via @lottiefiles/dotlottie-react\n\n### Backend \u0026 Services\n- **Database**: [Firebase Firestore](https://firebase.google.com/docs/firestore)\n- **APIs**: Swiss Transport API, Weather API\n- **HTTP Client**: [Axios 1.11](https://axios-http.com/)\n- **Date Handling**: [date-fns 4.1](https://date-fns.org/)\n\n### Development\n- **Language**: [TypeScript 5](https://www.typescriptlang.org/)\n- **Linting**: ESLint 9 with Next.js config\n- **Build Tool**: Next.js with Turbopack (dev mode)\n- **Package Manager**: npm\n- **Node Version**: 20.x or later\n\n## Getting Started\n\n### Prerequisites\n\n- Node.js 20.x or later\n- npm or yarn\n- Firebase account (for database and authentication)\n\n### Installation\n\n1. **Clone the repository**\n   ```bash\n   git clone https://github.com/dreamlabs-ch/witelli20.git\n   cd witelli20\n   ```\n\n2. **Install dependencies**\n   ```bash\n   npm install\n   # or\n   yarn install\n   ```\n\n3. **Configure environment variables**\n\n   Copy `.env.example` to `.env.local`:\n   ```bash\n   cp .env.example .env.local\n   ```\n\n   Then edit `.env.local` with your Firebase configuration:\n   ```env\n   NEXT_PUBLIC_FIREBASE_API_KEY=your_firebase_api_key\n   NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=your_project_id.firebaseapp.com\n   NEXT_PUBLIC_FIREBASE_PROJECT_ID=your_project_id\n   NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET=your_project_id.appspot.com\n   NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID=your_messaging_sender_id\n   NEXT_PUBLIC_FIREBASE_APP_ID=your_app_id\n   NEXT_PUBLIC_APP_VERSION=0.1.0\n   ```\n\n4. **Start the development server**\n   ```bash\n   npm run dev\n   # or\n   yarn dev\n   ```\n\n5. **Open your browser**\n\n   Navigate to [http://localhost:3000](http://localhost:3000)\n\n### Available Scripts\n\n- `npm run dev` - Start development server with Turbopack\n- `npm run build` - Build for production\n- `npm start` - Start production server\n- `npm run lint` - Run ESLint\n- `npm run migrate-messages` - Run message migration script\n- `npm run release` - Automated release (version bump, tag, push)\n\n## Project Structure\n\n```\nwitelli20/\n├── src/\n│   ├── app/                    # Next.js App Router pages\n│   │   ├── api/               # API route handlers\n│   │   ├── board/             # Community message board\n│   │   ├── reservations/      # Room reservation system\n│   │   ├── stolen/            # Lost \u0026 found tracker\n│   │   ├── transport/         # Transport information\n│   │   ├── weather/           # Weather forecast\n│   │   ├── layout.tsx         # Root layout\n│   │   ├── page.tsx           # Home page\n│   │   └── globals.css        # Global styles\n│   ├── components/            # Reusable React components\n│   │   ├── FAQ.tsx\n│   │   ├── QuickLinks.tsx\n│   │   ├── WeatherWidget.tsx\n│   │   └── ...\n│   ├── hooks/                 # Custom React hooks\n│   ├── lib/                   # Utilities and API clients\n│   │   ├── firebase.ts        # Firebase configuration\n│   │   ├── transportApi.ts    # Swiss Transport API\n│   │   └── weatherApi.ts      # Weather API integration\n│   └── types/                 # TypeScript type definitions\n├── public/                    # Static assets\n├── scripts/                   # Build and deployment scripts\n├── .github/                   # GitHub Actions workflows\n│   └── workflows/\n│       ├── ci.yml            # Continuous integration\n│       └── release.yml       # Release automation\n├── firebase.json              # Firebase configuration\n├── firestore.rules            # Firestore security rules\n├── firestore.indexes.json     # Firestore indexes\n├── next.config.ts             # Next.js configuration\n├── tailwind.config.ts         # Tailwind CSS configuration\n└── tsconfig.json              # TypeScript configuration\n```\n\n## Environment Variables\n\nThe application requires the following environment variables in `.env.local`:\n\n| Variable | Description | Required |\n|----------|-------------|----------|\n| `NEXT_PUBLIC_FIREBASE_API_KEY` | Firebase API key | Yes |\n| `NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN` | Firebase auth domain | Yes |\n| `NEXT_PUBLIC_FIREBASE_PROJECT_ID` | Firebase project ID | Yes |\n| `NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET` | Firebase storage bucket | Yes |\n| `NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID` | Firebase messaging sender ID | Yes |\n| `NEXT_PUBLIC_FIREBASE_APP_ID` | Firebase app ID | Yes |\n| `NEXT_PUBLIC_APP_VERSION` | Application version | No |\n\n**Note**: The Swiss Transport API used in the project does not require authentication.\n\n## Deployment\n\n### Vercel (Recommended)\n\nThe easiest way to deploy this Next.js application:\n\n1. Push your code to GitHub\n2. Import your repository on [Vercel](https://vercel.com/)\n3. Configure environment variables in project settings\n4. Deploy - Vercel will automatically build and deploy on every push to main\n\n[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https://github.com/dreamlabs-ch/witelli20)\n\n### Firebase Hosting\n\nAlternative deployment option using Firebase:\n\n1. **Install Firebase CLI**\n   ```bash\n   npm install -g firebase-tools\n   ```\n\n2. **Login to Firebase**\n   ```bash\n   firebase login\n   ```\n\n3. **Initialize Firebase** (if not already done)\n   ```bash\n   firebase init\n   ```\n   - Select Hosting and Firestore\n   - Choose your Firebase project\n   - Set `build` as the public directory\n\n4. **Build and deploy**\n   ```bash\n   npm run build\n   firebase deploy\n   ```\n\n### Other Platforms\n\nThis Next.js application can be deployed to any platform that supports Node.js:\n- [Netlify](https://www.netlify.com/)\n- [Railway](https://railway.app/)\n- [Render](https://render.com/)\n- [AWS Amplify](https://aws.amazon.com/amplify/)\n\n## Release Management\n\n### Automated Release\n\nThe project includes automated release management:\n\n```bash\nnpm run release\n```\n\nThis will:\n- Bump the patch version in `package.json`\n- Update version in `.env.local`\n- Create a git tag\n- Push changes and tags to GitHub\n- Trigger GitHub Actions to create a release\n\n### Manual Release\n\nFor more control over versioning:\n\n```bash\n# Bump version (patch, minor, or major)\nnpm version patch\n\n# Push with tags\ngit push --follow-tags\n\n# Or create release with GitHub CLI\ngh release create v0.1.x --title \"Release v0.1.x\" --notes \"Release notes\"\n```\n\nView all releases: [GitHub Releases](https://github.com/dreamlabs-ch/witelli20/releases)\n\n## Contributing\n\nThis is an open source project and contributions are welcome! Whether you want to:\n- Fix bugs\n- Add new features\n- Improve documentation\n- Suggest ideas\n\nYour contributions are appreciated.\n\n### How to Contribute\n\n1. Fork the repository\n2. Create a feature branch\n   ```bash\n   git checkout -b feature/your-feature-name\n   ```\n3. Make your changes\n4. Commit with descriptive messages\n   ```bash\n   git commit -m \"Add: brief description of changes\"\n   ```\n5. Push to your fork\n   ```bash\n   git push origin feature/your-feature-name\n   ```\n6. Open a Pull Request\n\nPlease read [CONTRIBUTING.md](CONTRIBUTING.md) for detailed guidelines.\n\n### Code of Conduct\n\nPlease be respectful and constructive in all interactions. This project follows standard open source community guidelines.\n\n## Documentation\n\n- [Next.js Documentation](https://nextjs.org/docs)\n- [React Documentation](https://react.dev/)\n- [Firebase Documentation](https://firebase.google.com/docs)\n- [Tailwind CSS Documentation](https://tailwindcss.com/docs)\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## Acknowledgments\n\n- Built for the student community at Witellikerstrasse 20, Zurich\n- Uses the [Swiss Transport API](https://transport.opendata.ch/) for real-time transport data\n- Icons by [Phosphor Icons](https://phosphoricons.com/) and [Heroicons](https://heroicons.com/)\n- Animations by [Lottie](https://lottiefiles.com/)\n\n## Support\n\nIf you encounter any issues or have questions:\n- Open an [issue on GitHub](https://github.com/dreamlabs-ch/witelli20/issues)\n- Check existing issues and discussions\n- Review the [FAQ section](https://witelli20.web.app) on the live site\n\n---\n\nBuilt by [Doruk](https://doruk.ch) @ [Dreamlabs.ch](https://dreamlabs.ch)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdreamlabs-ch%2Fwitelli20","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdreamlabs-ch%2Fwitelli20","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdreamlabs-ch%2Fwitelli20/lists"}