{"id":26130646,"url":"https://github.com/haletran/42_hypertube","last_synced_at":"2026-04-19T22:02:05.086Z","repository":{"id":281086217,"uuid":"944121992","full_name":"Haletran/42_Hypertube","owner":"Haletran","description":"Make a very legal streaming website","archived":false,"fork":false,"pushed_at":"2025-05-14T07:58:11.000Z","size":1413,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-14T08:46:37.288Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Haletran.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-03-06T20:26:51.000Z","updated_at":"2025-05-14T07:58:14.000Z","dependencies_parsed_at":"2025-05-03T09:34:10.998Z","dependency_job_id":"c4e25b67-fca3-4a31-9839-d39c4bfdd575","html_url":"https://github.com/Haletran/42_Hypertube","commit_stats":null,"previous_names":["haletran/42_hypertube"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Haletran/42_Hypertube","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Haletran%2F42_Hypertube","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Haletran%2F42_Hypertube/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Haletran%2F42_Hypertube/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Haletran%2F42_Hypertube/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Haletran","download_url":"https://codeload.github.com/Haletran/42_Hypertube/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Haletran%2F42_Hypertube/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32024251,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"online","status_checked_at":"2026-04-19T02:00:07.110Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2025-03-10T21:00:11.560Z","updated_at":"2026-04-19T22:02:05.080Z","avatar_url":"https://github.com/Haletran.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 42_Hypertube\n\nThis project aims to create a web application that enables user’s to search for and\nwatch videos.\n\n## STACK\n\n- Front: NextJS (with React in typescript)\n- Backend: AdonisJS (REST API)\n- DB: Postgres\n- CSS Lib: Tailwind CSS\n- Components Lib: shadcn\n- Movie API: TMDB (since IMDB require AWS account and use graphQL)\n\n## TODO\n\n- [x] Fix db models for User (add AlreadyWatched feature and add migration / model for it)\n- [x] Create a basic front template\n- [x] Torrent downloader and viewer\n- [x] Torrent fetcher (PirateBay or PrivateTracker)\n- [x] Add Comments section for each movie\n- [x] Selection of movies via bar (check discord video) (already movie or not [.mp4 | .hls])\n- [x] Fix search bar to search for movies (problem with spaces etc..., parsing)\n- [x] Create Register / Login / Oauth2 to access the website\n- [x] Make all the API routes work and secure them with Session token\n- [x] On front-page, only render movies that are on the view and remove the others\n- [x] Make Profile and settings page\n- [x] Make already watched movies page / and render in the /dashboard\n- [x] Add a menu to see all the movies that are currently being downloaded\n- [x] Make the comments works (still need to implement updated_at and created_at)\n- [x] Add filter for dashboard page (by date, by rating, by genre)\n- [x] Forget password mail\n- [x] Do websocket for comments section and currently watching movies (update in real time)\n- [x] Add cronjob to delete old torrents (1 months old)\n- [x] Setup frontend validation with Zod (to add multiple validators backend and frontend)\n- [x] Add first_name and last_name to the user\n- [x] Add show nsfw content option\n- [x] Make the frontend rules for password and everything else the same in the backend\n- [x] Make the traduction for every page\n\n## FIXES\n\n- [x] Player not loading correctly if the mp4 is available - infinite reload error (if you reboot the server)\n- [x] Fix status in /movie/:id page (fetching infinitily)\n- [x] Fix rendering of currently watching movies (if timecode watched is 0, it should not be displaying the title and the movie card)\n- [x] Fix subtitles error (IDK why security error)\n- [x] Fix the footer (misplaced on mobile)\n- [x] Make the current download menu on navbar update if the user have a new download (not refreshing if not open for performance - or use a websocket)\n- [x] When the user logout it does not remove the session cookie in the database since logout does not work\n- [x] Add clickable to the movie in download menu in navbar\n- [x] Remove useless console.log and fetching\n- [x] Fix useless call to the backend (debounce needed for settings page)\n- [x] Fix movie remover (dk if it works)\n- [x] Cannot remove comments anymore\n\n## BONUS\n\n- Chat\n- Admin role\n- Option NSFW\n- Download progression\n- A lot of ergonomic feature (filter/cache progress/status progress on profil/subtitles/source fetcher/api route/etc...)\n\n## Setup the Project\n\n### Environment Setup\nTo make the project work, create a `.env` file with the following content:\n\n```bash\nNEXT_PUBLIC_TMDB_API_KEY=\nNEXT_PUBLIC_BACKEND_URL=http://localhost:3333\nNEXT_PUBLIC_CLIENT_ID=\nNEXT_PUBLIC_GITHUB_CLIENT_ID=\nNEXT_PUBLIC_GIPHY_KEY=\nTZ=UTC\nPORT=3333\nLOG_LEVEL=info\nAPP_KEY=\nNODE_ENV=development\nDB_HOST=database\nDB_PORT=5432\nSESSION_DRIVER=cookie\nHOST=0.0.0.0\nTMDB_API_KEY=\nOMDB_API_KEY=\nDB_USER=postgres\nDB_PASSWORD=postgres\nDB_DATABASE=hypertube\nCLIENT_ID=\nCLIENT_SECRET=\nGITHUB_CLIENT_ID=\nGITHUB_CLIENT_SECRET=\nSMTP_USER=\nSMTP_PORT=587\nSMTP_PASS=\nSMTP_HOST=\nREDIS_HOST=redis\nREDIS_PORT=6379\n```\n\n### Launch the Project\n```bash\nmake \n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaletran%2F42_hypertube","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhaletran%2F42_hypertube","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaletran%2F42_hypertube/lists"}