Back to Blog
March 23, 2024

Adding Autoscroll to TikTok because I can code it!

Adding Autoscroll to TikTok because I can code it!

Table of Contents

1. Introduction

2. The Annoyance of Manual Swiping on TikTok

3. Exploring TikTok's Algorithm and APIs

4. The Journey to Rebuilding the TikTok Interface

5. Redesigning the Desktop Version of TikTok

6. Implementing the Front-End with React

7. The Challenge of Autoscrolling

8. Discovering the Scroll Snap CSS Property

9. Handling Video Autoplay and Scroll Events

10. Building the Back-End with Node.js

11. Hosting the TikTok Clone on gcore

12. Conclusion

Introduction

In this article, we will delve into the world of TikTok and explore a common annoyance faced by users - the lack of an autoscroll feature. We will discuss the journey of a developer who took it upon themselves to solve this problem and create their own version of TikTok with improved features. From understanding TikTok's algorithm to redesigning the interface and implementing autoscrolling, we will cover it all. So, let's dive in and discover how this developer tackled the challenge!

The Annoyance of Manual Swiping on TikTok

Have you ever found it frustrating to manually swipe through videos on TikTok? The need to constantly swipe to move from one video to another can be quite annoying, especially when you have other tasks at hand or your hands are not available. Many users have expressed their desire for an autoscroll feature within the TikTok app, but unfortunately, no such setting exists. This led our developer to embark on a mission to create this much-needed feature themselves.

Exploring TikTok's Algorithm and APIs

Before diving into the development process, our developer decided to conduct some research on TikTok's algorithm and explore the available APIs. By understanding how TikTok's algorithm works and accessing the APIs, they hoped to find a way to implement autoscrolling without rebuilding the entire app. However, they soon discovered that TikTok's APIs were heavily restricted, making it challenging to access the necessary video URLs.

The Journey to Rebuilding the TikTok Interface

With limited options available, our developer made the bold decision to rebuild the entire TikTok interface from scratch. This involved redesigning both the front-end and back-end components to create a seamless user experience. They started by mapping out the design using Figma, ensuring that the new interface maintained the same aesthetic as the mobile version while optimizing the desktop layout for better utilization of space.

Redesigning the Desktop Version of TikTok

The desktop version of TikTok often falls short in terms of design and functionality compared to its mobile counterpart. Our developer recognized this and took the opportunity to revamp the desktop interface. By reversing the design aesthetic and repositioning elements, they created a more visually appealing and user-friendly desktop version. Additionally, they explored the possibility of incorporating landscape mode for videos, encouraging users to experiment with different video orientations.

Implementing the Front-End with React

To bring their redesigned TikTok interface to life, our developer chose to use React, a popular JavaScript library known for its component-based structure. They leveraged Create React App to streamline the development process and utilized the power of styled components for easy CSS integration and reusability. By breaking down the content into small components, they ensured a modular and efficient codebase.

The Challenge of Autoscrolling

Now came the most challenging part of the project - implementing autoscrolling. Our developer faced the daunting task of finding a solution that would seamlessly scroll to the next video after one finishes playing. After extensive research and experimentation, they stumbled upon a CSS property called scroll snap. This property allowed them to achieve the desired autoscrolling effect, automatically snapping the scrolling position to the next

Related Articles

Voice-of-customer
VOC.AI vs. SmartScout: Which Amazon Review Analysis Tool is Right for You?

VOC.AI vs SmartScout: In-Depth Comparison for Amazon Sellers in 2026For Amazon sellers in 2026, choosing the right tool to leverage customer reviews and marketplace data is critical for success. VOC.AI vs SmartScout is a comparison that frequently arises among sellers aiming to gain actionable insig

Jan 9, 2026
Read more
Voice-of-customer
VOC.AI vs. Jungle Scout: Which Amazon Review Analysis Tool is Right for You?

VOC.AI vs Jungle Scout: In-Depth Comparison of Amazon Review Analysis Tools for 2026For Amazon sellers in 2026, leveraging customer reviews is critical for product success and brand growth. Two leading tools—VOC.AI and Jungle Scout—offer distinct approaches to review analysis. While Jungle Scout is

Jan 9, 2026
Read more
Voice-of-customer
VOC.AI vs. Helium 10: Which Amazon Review Analysis Tool is Right for You?

VOC.AI vs Helium 10: The Ultimate Comparison for Amazon Review Analysis in 2026In 2026, Amazon sellers face a rapidly evolving landscape where understanding customer feedback is crucial for long-term success. The main keyword, Helium 10 alternative, is increasingly searched by sellers seeking more n

Jan 9, 2026
Read more
VOC AI Inc. 160 E Tasman Drive Suite 202 San Jose, CA, 95134 Copyright © 2026 VOC AI Inc.All Rights Reserved. Terms & Conditions Privacy Policy
This website uses cookies
VOC AI uses cookies to ensure the website works properly, to store some information about your preferences, devices, and past actions. This data is aggregated or statistical, which means that we will not be able to identify you individually. You can find more details about the cookies we use and how to withdraw consent in our Privacy Policy.
We use Google Analytics to improve user experience on our website. By continuing to use our site, you consent to the use of cookies and data collection by Google Analytics.
Are you happy to accept these cookies?
Accept all cookies
Reject all cookies