Note: SoFilmy is a social platform for cinephiles to post film thoughts, analyze scenes, and connect over cinema.
"Sofilmy β Where every cinephileβs reel meets for real! From mood-based picks to epic debates, lights, cameraβ¦ connect!" π₯
- β Film Thought Sharing: Users can create detailed posts about movies they've watched recently.
- β Real-Time Discussion: Chat system lets cinephiles connect and converse instantly.
- β Post Upvotes & Ratings: Users can give star-based feedback to others' thoughts and reviews.
- β Comments: Engage in thread-style conversations under each post.
- β Phone-Based Auth: Sign in via phone number with OTP verification (Firebase).
- β Realtime Database Sync: Posts and chats update in real-time via Firebase backend.
Technology | Description |
---|---|
React.js | Frontend Framework |
Firebase Auth | Phone number login with OTP verification |
Firebase Realtime DB / Firestore | Post & Chat Storage |
Firebase Hosting | Deployment Platform |
git clone https://github.com/blackcat-007/...sofilmy.git
cd ...sofilmy
npm install
Make sure you configure Firebase properly:
- Create a Firebase project.
- Enable Phone Authentication.
- Setup Firestore/Realtime Database structure for posts, comments, and chats.
- Replace Firebase config in your code with your project credentials.
npm start
The app will run at http://localhost:3000
- Create posts with text + optional image/video links
- Posts are timestamped and stored in database
- Comment threads under every post
- Realtime update of new replies
- Users can react with stars (1β5) based on how insightful a post is
- Global chat for all users
- Real-time messaging using Firebase backend
- Secure login using mobile phone OTP system
- No need for email/password
- Hosted on Firebase Hosting
- Run
npm run build
and deploy via Firebase CLI
- Firebase rules enforce read/write protection
- OTP validation and Firebase Auth secure the login process
Firebase was chosen for SoFilmy because it perfectly matches the needs of a real-time, community-driven social platform:
-
π Authentication Simplicity & Security
Firebase Auth with phone-based OTP allows a smooth, email-free sign-in flow that resonates well with mobile-first users. This reduces friction and increases user trust by using verified numbers. -
β‘ Real-Time Interactions with Realtime DB
For the chat system and dynamic post updates, Firebaseβs Realtime Database ensures low-latency data syncing, enabling messages and interactions to appear instantly β exactly whatβs expected in a live discussion platform. -
π¦ Scalable Data Storage (Firestore)
Posts, comments, and ratings are stored in Cloud Firestore for structured, scalable, and indexed access β ideal for threaded discussions and analytics. -
π Hosting & Integration
Firebase Hosting provides fast CDN-backed deployment with seamless CI/CD integration, enabling global users to access SoFilmy without lag. -
π Tight Coupling Between Frontend & Backend
Firebaseβs SDKs allow direct client-to-backend communication, reducing boilerplate code, accelerating development, and avoiding traditional REST API overhead.
SoFilmy is designed with long-term growth in mind. Here's how itβs built to scale:
-
π Firestore Indexing
Collections are structured with indexes on timestamps, post popularity, and user activity, ensuring queries remain fast even with thousands of entries. -
π§΅ Pagination for Performance
Posts and comment threads are paginated to prevent over-fetching data. The UI fetches a limited number of entries initially and loads more on scroll. -
π§Ό Chat Cleanup & Archiving Strategy
Old global chat messages are auto-cleaned or offloaded after a retention period using background Firebase Functions (to be integrated). This reduces load while keeping the system lean. -
π¦ Throttling & Write Rules
Firebase security rules and basic rate limiting are implemented to prevent abuse β for example, preventing too many writes in a short period from a single user. -
π§ Future Plan: Firebase Functions
Planned use of Cloud Functions for:- Notification dispatch
- Automated moderation of flagged content
- Scheduled cleanup or archiving of stale content
-
π Robust Security Rules
- Only authenticated users can post or chat
- Users can only modify their own posts
- Chat access is controlled globally to prevent spamming
- Rules are tested and versioned in the Firebase console
Firebase wasnβt used because it's "easy" β it was chosen because it aligns perfectly with the architecture of a modern, real-time social platform:
β
Fast to deploy
β
Real-time performance
β
Secure and scalable out-of-the-box
β
Frontend-first, backend-powerful
This project is licensed under the Apache License 2.0.
Β© 2025 Shubho. All rights reserved under the Apache License 2.0.
Built with β€οΈ by Shubho (blackcat-007)
Want to improve SoFilmy? Fork the repo and open a PR!
Landing Page (if not logged/signed up)
Sign in & Sign up with quick email id verification system
Dedicated Discussion Room for cinephiles all over the world with create private/public group feature
Explore page to get updated with new trending/popular films& shows along with trailers
Get suggestion based on genre per mood mapping
Dedicated personal profile & follow new profile
To continue evolving SoFilmy into a more powerful, community-driven cinephile network, several features are under consideration and/or in active planning:
- One-to-one chat system for private film discussions
- Delivered via Firebase Realtime Database or Firestore subcollections
- Optional message encryption for privacy
- Browser and mobile push for:
- New comments/replies on your post
- Reactions to your reviews
- New chat messages in discussion rooms
- Will use Firebase Cloud Messaging (FCM)
- Mention users with
@username
in posts/comments - Tagged users receive instant notifications
- Enables directed discussion threads and collaboration
- Users can bookmark insightful reviews or film analyses
- Integrated with personal dashboards
- Future feature: sync watch history with other streaming platforms
- Gamified experience for top reviewers, most liked posts, etc.
- Encourages quality contributions and consistent engagement
- Can organise movie watch parties where cinephiles can watch a film together
- Admin dashboard for managing flagged posts or users
- Auto-moderation using Firebase Functions + custom logic
- Themed chat rooms by genre (e.g., Sci-Fi Club, Indie Buffs, etc.)
- Room creation with user-generated tags
- Track user activity, post reach, and platform engagement
- Helps guide content moderation and feature decisions
π― These future features will gradually roll out as SoFilmy grows, enhancing both social interactivity and content depth for cinephiles around the world.