Turtle
A movie streaming platform
The problem Turtle solves
π’ Turtle
An indie-first movie streaming platform.
Turtle helps small filmmakers publish and monetize their movies directly, while viewers discover unique content and pay creators fairly.
No studios. No middlemen.
Creators upload β set price β earn money.
Users watch β pay only for what they like.
β¨ Features
π¬ For Creators
- Upload movies securely
- Set your own price
- Manage titles & metadata
- Track views and earnings
- Instant payouts
- AI-assisted tagging & categorization
πΏ For Viewers
- Browse indie movies
- Pay-per-view pricing
- Smart recommendations
- AI chat assistant for suggestions
- Fast streaming
- Clean, distraction-free UI
π€ Smart System
- Advanced recommendation algorithms
- Personalized feeds
- AI chatbot movie guide
- Search + filters
- Trending detection
π§ How It Works
Creator flow
Sign up β Upload movie β Set price β Publish β Earn revenue
Viewer flow
Sign up β Browse β Get recommendations β Pay β Watch instantly
π Tech Stack
Backend
- Node.js
- Express.js
- REST APIs
- Multer (uploads)
- Secure auth (JWT)
- Hashing Passwords
- Payment integration
- Openai agent SDK
- Atlas Database
Frontend
- React
- Modern hooks architecture
- Responsive UI
- Streaming player
- Chatbot interface
Architecture
- Scalable services
- Clean code practices
- Error-handling middleware
- Secure file handling
- Production-ready patterns
π§© System Highlights
Recommendation Engine
Custom algorithms analyze:
- Watch history
- Genre preferences
- Ratings
- Trending signals
Delivers:
- Personalized suggestions
- "You may like"
- Smart discovery
AI Chat Assistant
Natural language movie search.
Examples:
"Suggest me sci-fi"
"I want something like Interstellar"
"Show light comedy"
Returns instant recommendations from our own Database.
π Security & Best Practices
- JWT authentication
- Hashed passwords
- File size/type validation
- Pagination
- Sanitized inputs
- Error boundaries
- Industry Standard auth
- Production build optimization
π Usage
Uploading a movie
- Login as creator
- Click Upload
- Add title, description, price
- Publish
Watching a movie
- Browse or ask AI assistant
- Select movie
- Pay
- Stream instantly
π Vision
Empower indie creators.
Make film distribution open and fair.
Help audiences discover hidden gems.
Turtle focuses on creators and users first, platform and studios last.
π Future Plans
- Subscriptions
- Community reviews
- Mobile app
- Offline downloads
- Social watchlists
- For Music Creators also
π€ Contributing
Pull requests welcome.
fork β branch β commit β PUSH to dev branch
Challenges I ran into
βοΈ Challenges I Ran Into
π§ Building the Recommendation System (hardest part)
The most difficult part of Turtle wasnβt uploads, payments, or streaming.
Those are mostly standard backend problems with known solutions.
The real challenge was making the platform feel intelligent.
At first, my recommendation logic was very simple:
same genre β recommend
It worked technically, but the experience was bad.
Users kept seeing similar movies again and again, and discovery felt boring.
So I redesigned the system properly.
I moved to a vector-based approach:
- Each movie β feature vector (genres, tags, ratings, views, trends)
- Each user β preference vector (watch history + behavior)
- Calculate similarity score
- Rank and return only the top movie IDs

After this, feeds felt fresh and smart instead of repetitive.
π€ AI Agent Integration
Integrating the AI assistant into a backend system was trickier than expected.
This caused parsing errors and broke the UI.
So I added:
- strict instructions
- schema validation
- response guards
- timeout + fallback to local algorithm
- connecting AI to my database using vector tools and providing context to it from user data stored in the database
The system now treats AI as a helper, not a dependency.
If AI fails, the app still works normally.
π¦ Uploading & Streaming Edge Cases
File handling also had some practical issues:
- invalid formats
- partial uploads
Fix:
- streaming uploads with Multer
- file type/size validation
- safe limits
These were more engineering problems than algorithmic ones.
π What I Learned
Algorithms and personalisation
The hardest and most important part of Turtle ended up being:
- recommendation logic
- scoring algorithms
- AI features
Not the uploads.
Thatβs what makes Turtle feel like a smart platform instead of just another movie hosting site.
Tracks Applied (1)
Open Track
Technologies used
