Coder Social home page Coder Social logo

jasondev01 / soma-v2.0 Goto Github PK

View Code? Open in Web Editor NEW
12.0 1.0 5.0 906 KB

soma v2.0 - still ad free (discontinued)

Home Page: https://soma-tv.me

License: MIT License

TypeScript 97.53% CSS 1.81% JavaScript 0.66%
consumet nextjs14 typescript anime anime-website artplayer consumet-api hobby-project anify-api consumet-library

soma-v2.0's Introduction

featured_image.png

Watch and stream your favourite anime, ad free.

Soma Version 2.0 is the latest iteration of my previous anime website, Soma Version 1.0 (soma-chill). It is a free, open-source anime streaming website built using Next.js 14 and Tailwind.

Features

  • No Ads - No ads, no popups, no redirects.
  • PWA Support - You can install it on your phone for an easy access.
  • Disqus Comment - You can interact with the other users on the anime episode you watch.
  • Skip Intro - Newly added feature that let's you skip the anime opening if it exists on the api source. (temporarily disabled)

Local Development

git clone https://github.com/jasondev01/soma-v2.0.git
cd soma-v2.0
npm install or yarn install

Before running the application, ensure that you rename the .env.sample file to .env. For EXTERNAL_API and VIDEO_API please refer to anify and kavin rocks api documentation.

npm run dev or yarn dev

Deployment

Soma is built on Next.js 14, so caching is done on the fly and will revalidate the data at given intervals. You can refer to utils/get-anime.ts for more details. However, if you want to integrate third-party caching, you can do so on your own. I suggest using KV on Vercel for caching.

If you are deploying to vercel. Make sure to set ENVIRONMENT VARIABLE EXTERNAL_API.

Credits

Consumet, Anify

Disclaimer

This is a personal project intended for educational reference and/or purposes. The project is open-source and licensed under the MIT.

Note

You no longer need TMDB API KEY as of April 04, 2024. Also this project is currently in development and will prolly add more features to it. If you are interested in seeing the further versions of this project, feel free to fork the repository itself or visit this repo at your leisure.

Support

somae

soma-v2.0's People

Contributors

jasondev01 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

soma-v2.0's Issues

Siter Deployment error.

Hi @jasondev01 i tried deploying the code to vercel but i recieved the below error can u help me in this matter.

Build error occurred
--
--Error: You cannot use different slug names for the same dynamic path ('episode' !== 'id').
--at handleSlug (/vercel/path0/node_modules/next/dist/shared/lib/router/utils/sorted-routes.js:94:31)
--at UrlNode._insert (/vercel/path0/node_modules/next/dist/shared/lib/router/utils/sorted-routes.js:131:17)
--at UrlNode._insert (/vercel/path0/node_modules/next/dist/shared/lib/router/utils/sorted-routes.js:142:40)
--at UrlNode._insert (/vercel/path0/node_modules/next/dist/shared/lib/router/utils/sorted-routes.js:142:40)
--at UrlNode._insert (/vercel/path0/node_modules/next/dist/shared/lib/router/utils/sorted-routes.js:142:40)
--at UrlNode.insert (/vercel/path0/node_modules/next/dist/shared/lib/router/utils/sorted-routes.js:13:14)
--at /vercel/path0/node_modules/next/dist/shared/lib/router/utils/sorted-routes.js:165:46
--at Array.forEach ()
--at getSortedRoutes (/vercel/path0/node_modules/next/dist/shared/lib/router/utils/sorted-routes.js:165:21)
--at /vercel/path0/node_modules/next/dist/build/index.js:616:65
--error Command failed with exit code 1.
--info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
----------Error: Command "yarn run build" exited with 1------------

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.