GithubHelp home page GithubHelp logo

soft-coded / tiktok Goto Github PK

View Code? Open in Web Editor NEW
44.0 2.0 8.0 2.31 MB

TikTok in React ๐Ÿ’ฅ๐Ÿš€

License: Creative Commons Zero v1.0 Universal

HTML 0.38% TypeScript 76.53% SCSS 23.09%
react typescript tiktok javascript scss redux-toolkit redux webapp

tiktok's Introduction

TikTok in React ๐Ÿš€

Tiktok, but in Re... yeah you read the title.

Tiktok + react

ANNOUNCEMENT

Thank you all for your love and support for the website. It is no longer live, becuase it was simply costing me too much to keep it up by now. Check out the videos below to see how the website looked on PC as well as mobile.

Videos

TikTok.-.Google.Chrome.2023-02-23.02-22-09.mp4
TikTok.-.Google.Chrome.2023-02-23.02-24-03.mp4
TikTok.-.Google.Chrome.2023-02-23.02-27-08.mp4

DISCLAIMER

This web app is absolutely not linked to the actual TikTok company or ByteDance in any way. Tiktok, Tiktok logo, the website and basically everything I used here is a registered trademark/copyright/any other legal ownership thing of ByteDance/Tiktok. This is just a project that I decided to build on my own because it looked like it would be fun. I do not have any plans to make this a commercial app or anything of that sort. Just something to put on my CV.

TLDR: Please don't sue me.

Disclaimer has also been added to the website:

Don't sue me notice

PHOTOS

homepage

homepage light

pc video

pc video light

mobile homepage

mobile homepage light

mobile profile

mobile homepage light

FEATURES

  • โœ… Browse in light (๐Ÿคฎ) or dark (๐Ÿ˜Ž) theme (clearly no bias here)
  • โœ… Make an account (innovation at it's peak ๐Ÿ’ฏ)
  • โœ… Upload and like videos
  • โœ… Comment on videos and reply to comments (top level)
  • โœ… Like comments and replies
  • โœ… Get notified when someone else does the above to your stuff
  • โœ… Watch meme videos I uploaded
  • โœ… Delete videos and comments (revolutionary feature ๐Ÿ’ฅ๐Ÿ”ฅ)
  • โœ… Uhhhhh
  • โœ… Search for videos or users
  • โœ… View user profiles???? (does this count?)

I am open to suggestions for more features. You can suggest some here.

TOOLS USED

  • Typescript React
  • Redux toolkit
  • SCSS and its modules
  • Font-awesome icons (only the free ones, sorry font-awesome)
  • Node js for backend. Backend repository

DEPLOYMENT

ISSUES

  • Back button does not close comments modal

    • This is not a solvable issue. The real Tiktok website also has this problem. This is because the back button does not fire any event, so it extremely difficult to know when it is pressed. For the time being, just use the dedicated close button or click outside the comments modal.
  • Swipe animation is laggy on iOS

  • "Following" page repeats videos

    • This stems in the lack of a recommendation algorithm and I'm afraid I cannot code one due to my extreme lack of machine learning skills. If I find an implementation I'll add it, otherwise you'll have to look past this one.
  • Videos load slowly

    • The server has 1 GB RAM. I honestly think it's incredible that it is able to load videos at all.

Let me know if you find any other bugs/issues.

CONTACT

For any legal troubles, any other information, or just dropping a hello, you can contact me at [email protected].

Q'N'A

"Why Tiktok?"

No particular reason. I had been wanting to make a "big ๐Ÿ’ฏ๐Ÿ‘Œ" project for a while now. I juggled around with the idea of building any one of all the major social media apps and Tiktok seemed to be (and I mean this very loosely) the fastest and easiest one to build. Turns out I was wrong. Very wrong.

One thing that I can assure you is that one person can't (and shouldn't ๐Ÿ™‚) re-create big social media websites alone.

"Does Tiktok use React?"

Yes, actually. At least for the webapp. Next.js to be precise. And I realised just now that Tiktok in React could also just mean the original Tiktok (please don't sue me ๐Ÿ˜).

"How long did it take for you to make this?"

3 months and counting. Started in the first week of November 2021. #Grind๐Ÿ˜ค

"What if you get sued?"

Please don't ๐Ÿ˜

tiktok's People

Contributors

soft-coded avatar

Stargazers

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

Watchers

 avatar  avatar

tiktok's Issues

Unable to install

Describe the bug
running 'npm install' doesn't work and produces numerous errors

To Reproduce
Steps to reproduce the behavior:

  1. Go to terminal
  2. Type on 'npm install'
  3. Wait
  4. See error

Expected behavior
Should install all packages smoothly

Screenshots
image
image

Desktop (please complete the following information):

  • OS: Windows 11

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.