{"id":20411066,"url":"https://github.com/raihan2bd/vidverse","last_synced_at":"2026-04-08T11:31:02.877Z","repository":{"id":196339074,"uuid":"694569873","full_name":"raihan2bd/vidverse","owner":"raihan2bd","description":"Vidverse – a dynamic web app built with Golang, Next.js, TypeScript, and PostgreSQL. Users can watch, like, comment, and engage with content, while creators easily share and manage videos. Enjoy curated feeds, favorites, watch histories, and notifications.","archived":false,"fork":false,"pushed_at":"2024-12-08T05:31:14.000Z","size":183,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"dev","last_synced_at":"2026-01-03T12:23:32.483Z","etag":null,"topics":["firebase","gin","golang","gorm","nextjs","postgres","react","tailwindcss","typescript"],"latest_commit_sha":null,"homepage":"","language":"Go","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/raihan2bd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2023-09-21T09:05:12.000Z","updated_at":"2024-12-08T05:31:17.000Z","dependencies_parsed_at":"2024-01-21T14:22:57.934Z","dependency_job_id":"e47871dc-6739-4644-9a39-8f28cf7f1720","html_url":"https://github.com/raihan2bd/vidverse","commit_stats":null,"previous_names":["raihan2bd/vidverse"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/raihan2bd/vidverse","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raihan2bd%2Fvidverse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raihan2bd%2Fvidverse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raihan2bd%2Fvidverse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raihan2bd%2Fvidverse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/raihan2bd","download_url":"https://codeload.github.com/raihan2bd/vidverse/tar.gz/refs/heads/dev","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raihan2bd%2Fvidverse/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31553967,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T10:21:54.569Z","status":"ssl_error","status_checked_at":"2026-04-08T10:21:38.171Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["firebase","gin","golang","gorm","nextjs","postgres","react","tailwindcss","typescript"],"created_at":"2024-11-15T05:49:26.126Z","updated_at":"2026-04-08T11:31:02.840Z","avatar_url":"https://github.com/raihan2bd.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ca name=\"readme-top\"\u003e\u003c/a\u003e\n\u003ch1 align='center'\u003eVidverse\u003c/h1\u003e\n\n\n# 📗 Table of Contents\n\n- [📗 Table of Contents](#-table-of-contents)\n- [ Vidverse ](#-about-project-)\n  - [🛠 Built With ](#-built-with-)\n    - [Tech Stack ](#tech-stack-)\n    - [Key Features ](#key-features-)\n  - [💻 Getting Started ](#-getting-started-)\n    - [Prerequisites](#prerequisites)\n    - [Setup](#setup)\n    - [Install](#install)\n    - [Database](#database)\n    - [Usage](#usage)\n    - [Build](#build)\n    - [Deployment](#deployment)\n  - [👥 Authors ](#-authors-)\n  - [🔭 Future Features ](#-future-features-)\n  - [🤝 Contributing ](#-contributing-)\n  - [⭐️ Show your support ](#️-show-your-support-)\n  - [🙏 Acknowledgments ](#-acknowledgments-)\n  - [📝 License ](#-license-)\n\n\n# Vidverse \u003ca name=\"about-project\"\u003e\u003c/a\u003e\nIntroducing Vidverse – a dynamic, full-stack web application crafted with Golang (Go), Next.js, TypeScript, PostgreSQL, and a host of other cutting-edge technologies. Vidverse offers users a seamless experience to watch, like, comment, and engage with an eclectic array of content, and users can also authenticate using (credentials and social platforms).\n\nCreators have the power to effortlessly share their latest videos and manage their content, while subscribers revel in curated feeds, saved favorites, and personalized watch histories. User can also see their notifications.\n\nThis is the back-end version. If you want to see the front-end part please visit [here](https://github.com/raihan2bd/vidverse-client)\n\n## 🛠 Built With \u003ca name=\"built-with\"\u003e\u003c/a\u003e\n### Tech Stack \u003ca name=\"tech-stack\"\u003e\u003c/a\u003e\n\n\u003cdetails open\u003e\n  \u003csummary\u003eFront End\u003c/summary\u003e\n  \u003cul\u003e\n    \u003cli\u003eNextjs\u003c/li\u003e\n    \u003cli\u003eReact\u003c/li\u003e\n    \u003cli\u003eTypeScript\u003c/li\u003e\n    \u003cli\u003eHtml\u003c/li\u003e\n    \u003cli\u003eCSS\u003c/li\u003e\n    \u003cli\u003eTailwind CSS\u003c/li\u003e\n  \u003c/ul\u003e\n\u003c/details\u003e\n\u003cdetails open\u003e\n  \u003csummary\u003eBack End\u003c/summary\u003e\n  \u003cul\u003e\n    \u003cli\u003eGolang\u003c/li\u003e\n    \u003cli\u003ePostgreSQL\u003c/li\u003e\n    \u003cli\u003eGin\u003c/li\u003e\n    \u003cli\u003eGorm\u003c/li\u003e\n    \u003cli\u003eWeb Socket\u003c/li\u003e\n    \u003cli\u003eFirebase\u003c/li\u003e\n  \u003c/ul\u003e\n\u003c/details\u003e\n\n\n\u003c!-- LIVE DEMO --\u003e\n\n## 🚀 Live Demo \u003ca name=\"live-demo\"\u003e\u003c/a\u003e\n\n- Project ScreenShot\n\n![Vidverse](https://raw.githubusercontent.com/raihan2bd/vidverse-client/dev/screenshots/Screenshot%20from%202024-05-17%2023-38-57.png)\n\n![Vidverse](https://github.com/raihan2bd/vidverse-client/blob/dev/screenshots/Screenshot%20from%202024-05-17%2023-39-11.png)\n\n![Vidverse](https://github.com/raihan2bd/vidverse-client/blob/dev/screenshots/Screenshot%20from%202024-05-17%2023-39-43.png)\n\n![Vidverse](https://github.com/raihan2bd/vidverse-client/blob/dev/screenshots/Screenshot%20from%202024-05-17%2023-30-38.png)\n\n![Vidverse](https://github.com/raihan2bd/vidverse-client/blob/dev/screenshots/Screenshot%20from%202024-05-17%2023-31-35.png)\n\n![Vidverse](https://github.com/raihan2bd/vidverse-client/blob/dev/screenshots/Screenshot%20from%202024-05-17%2023-32-10.png)\n\n![Vidverse](https://github.com/raihan2bd/vidverse-client/blob/dev/screenshots/Screenshot%20from%202024-05-17%2023-36-46.png)\n\n![Vidverse](https://github.com/raihan2bd/vidverse-client/blob/dev/screenshots/Screenshot%20from%202024-05-17%2023-35-37.png)\n\n![Vidverse](https://github.com/raihan2bd/vidverse-client/blob/dev/screenshots/Screenshot%20from%202024-05-17%2023-37-04.png)\n\n![Vidverse](https://github.com/raihan2bd/vidverse-client/blob/dev/screenshots/Screenshot%20from%202024-05-17%2023-38-01.png)\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n### Key Features \u003ca name=\"key-features\"\u003e\u003c/a\u003e\n\n- Users can authenticate using their credentials or through various social platforms, ensuring a flexible and convenient login experience.\n- Creators can effortlessly share their latest videos and manage their content with ease, fostering a vibrant community of content producers.\n- Subscribers enjoy curated feeds, saved favorites, and personalized watch histories, enhancing their viewing experience.\n- Users receive notifications, ensuring they stay updated on the latest activities and interactions within the Vidverse community.\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n## 💻 Getting Started \u003ca name=\"getting-started\"\u003e\u003c/a\u003e \n\nTo get a local copy up and running, follow these steps.\n\n### Prerequisites\n\nIn order to run this project you need:\n- Then Make sure you have installed [Go (golang)](https://go.dev/dl/) version 1.20.4 or the latest stable version.\n- Then make sure you have installed [PostgreSQL](https://www.postgresql.org/) on your local machine if you want to use this project locally.\n- Then Create a database called `vidverse`\n\n- First of all to see this project's graphical interface make sure you run the [front-end](https://github.com/raihan2bd/vidverse-client) part\n\n### Setup\n\n- Clone this repository to your desired folder:\n\n```sh\n  cd your-folder\n  https://github.com/raihan2bd/vidverse\n```\n\n- Before running the project please make sure you create a `.env` or rename the `.env.example` file to `.env` file and update the following credentials\n  ```\n  PORT=Your port number\n  DB_URI=\"host=localhost user=postgres password=#Dovaridu90 dbname=vidverse port=5432 sslmode=disable\"\n  SECRET=yoursecret\n  CLD_URI= your cloudinary uri\n  CLOUD_NAME=your cloud name\n  JWT_SECRET=your jwt secret\n  ENVIRONMENT= your environment\n  \n  MAIL_DOMAIN= your mail domain\n  MAIL_HOST= your mail host\n  MAIL_PORT= your mail port\n  MAIL_USERNAME= your mail username\n  MAIL_PASSWORD= your mail password\n  MAIL_ENCRYPTION= your mail encryption\n  MAIL_FROM_NAME= your mail from name\n  MAIL_FROM_ADDRESS= your mail from address\n  ```\n\n- Then don't forget to create a service account to implement the social login. Then add your service account credentials inside a file called `service-account.json` make sure you add this file in your project root. see the [Blog](https://sharma-vikashkr.medium.com/firebase-how-to-setup-a-firebase-service-account-836a70bb6646) if you need more information about it.\n\n### Getting JWT Secret Key\n\nTo obtain the JWT secret key, please \u003ca href=\"https://go.dev/play/\" target=\"_blank\" style=\"color: blue; font-size: 12px; text-decoration: underline;\"\u003eclick here\u003c/a\u003e.\n\nAn open Go terminal is required. In the terminal, please copy the following code and paste it into your \u003cspan style=\"color: lightblue;\"\u003e.env\u003c/span\u003e file.\n\nLike this\n\nJWT_SECRET=\"*******\"\n\n```\n\npackage main\n\nimport (\n\t\"crypto/rand\"\n\t\"encoding/base64\"\n\t\"fmt\"\n)\n\nfunc main() {\n\t// Define the desired length of the secret key in bytes\n\tkeyLength := 64 // Adjust the length as needed\n\n\t// Create a byte slice to hold the random bytes\n\tkey := make([]byte, keyLength)\n\n\t// Generate random bytes using crypto/rand\n\t_, err := rand.Read(key)\n\tif err != nil {\n\t\tfmt.Println(\"Error generating random bytes:\", err)\n\t\treturn\n\t}\n\n\t// Encode the random bytes in base64 to create a string\n\tsecretKey := base64.StdEncoding.EncodeToString(key)\n\n\tfmt.Println(\"Generated JWT secret key:\", secretKey)\n}\n\n```\n\n### Getting Cloudinary Serect key and Name\n\nCloudinary is a cloud-based media management platform that helps businesses and developers efficiently store, manage, and deliver images and videos for websites and applications. It provides features like image and video uploading, storage, transformation, optimization, and content delivery via a content delivery network (CDN), making it easier to handle media assets in web and mobile applications. Cloudinary's services can enhance website performance, user experience, and streamline media asset workflows.\n\nFor using this you need to \u003ca href=\"https://cloudinary.com/users/register_free\" target=\"_blank\" style=\"hover:text-decoration: underline; font-size:1.1rem\"\u003eCreate an account\u003c/a\u003e Or if you have an Account you need to \u003ca href=\"https://cloudinary.com/users/login\" target=\"_blank\" style=\"hover:text-decoration: underline; font-size:1.2rem;\"\u003eSign In \u003c/a\u003e\n\nAfter that go into the \u003cspan style=\"color: #3448c5;\"\u003eDashborad\u003c/span\u003e\n\nCopy the \u003cspan style=\"color: #3448c5;\"\u003eCloud Name\u003c/span\u003e and\n\u003cspan style=\"color: #3448c5;\"\u003eAPI Environment variable\u003c/span\u003e\n\n```\nCLD_URI=\"cloudinary://******\"\n\nCLOUD_NAME=\"****\"\n\n```\n\n### Install\n\nInstall this project with:\n\n- Install the required gems with:\n\n```sh\ngo mod tidy\n```\n\n### Database\n\n- Create the databases properly, You need to open an SQL editor and run the `/database/schema.sql` file script. Make sure you run the script block by block.\n\n### Usage\n\n- To run the development server, execute the following command:\n\n```sh\ngo run ./cmd/api/ .\n```\n\n### Build\n\n- To build the project for production-ready run the following command:\n\n```sh\ngo build -o main ./cmd/api/*.go\n```\n\n\n### Deployment\n\nTo deploy your project online You can visit [Render](https://www.render.com/)\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\n## 👥 Author \u003ca name=\"author\"\u003e\u003c/a\u003e\n\n👤 **Abu Raihan**\n\n- GitHub: [@raihan2bd](https://github.com/raihan2bd)\n- Twitter: [@raihan2bd](https://twitter.com/raihan2bd)\n- LinkedIn: [raihan2bd](https://linkedin.com/in/raihan2bd)\n\n\n👤 **Nurgul Kereikhan**\n\n- GitHub: [@githubhandle](https://github.com/NurkaAmre)\n- Twitter: [@twitterhandle](https://twitter.com/AmreNurgul)\n- LinkedIn: [LinkedIn](https://www.linkedin.com/in/amre-nurgul/)\n\n  \n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\n## 🔭 Future Features \u003ca name=\"future-features\"\u003e\u003c/a\u003e\n\n- [ ] **Implement improvements to provide users with an even smoother and more enjoyable experience.**\n- [ ] **Transition the application to a microservices architecture for improved scalability and maintainability.**\n- [ ] **Add a new feature called `Shorts` to the platform, enabling users to create and share short-form video content.**\n- [ ] **Incorporate FFmpeg to enhance video streaming capabilities similar to YouTube, and leverage AWS for hosting these files to ensure seamless playback and scalability.**\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\n## 🤝 Contributing \u003ca name=\"contributing\"\u003e\u003c/a\u003e\n\nContributions, issues, and feature requests are welcome!\n\nFeel free to check the [issues page](https://github.com/raihan2bd/vidverse/issues).\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\n## ⭐️ Show your support \u003ca name=\"support\"\u003e\u003c/a\u003e\n\nIf you like this project, please leave a ⭐️\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\n## 🙏 Acknowledgments \u003ca name=\"acknowledgements\"\u003e\u003c/a\u003e\n\nWe extend our heartfelt gratitude to [Microverse](https://microverse.org) and [Trevor Sawler](https://www.gocode.ca/) for their invaluable assistance in mastering the tech stack utilized in this project. Additionally, we express our sincere appreciation to [Cloudinary](https://cloudinary.com/) for generously providing us with free cloud space.\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\n## 📝 License \u003ca name=\"license\"\u003e\u003c/a\u003e\n\nThis project is [MIT](./LICENSE) licensed.\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraihan2bd%2Fvidverse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraihan2bd%2Fvidverse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraihan2bd%2Fvidverse/lists"}