Skip to content

gvzdv/wiktok

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WikTok Icon

WikTok: 🎥 x 📖

WikTok is a video platform that combines the addictive scrolling experience of TikTok with educational Wikipedia content. It's a fun way to learn random facts while watching short videos!

WikTok Demo

Try it out: wiktok.lol

The initial loading might take a few seconds as the app needs to generate the first summary.

How it Works

  1. Random Wikipedia Articles: The app fetches random Wikipedia articles and uses AI to create engaging, personality-filled summaries in different styles:

    • 4chan greentext style for biographies
    • Reddit storytelling for historical events
    • Tech review style for inventions
    • YouTuber narration style for other topics
  2. Text-to-Speech: These summaries are converted into natural-sounding speech using Google's Text-to-Speech API.

  3. Video Experience: The audio narration plays over looping background videos, creating an immersive learning experience similar to TikTok's interface.

  4. Infinite Scroll: Just like TikTok, you can scroll through an endless feed of educational content.

Technology Stack

  • Frontend: React.js with hooks and custom video/audio synchronization
  • Backend: FastAPI (Python) with async support
  • AI Integration: DeepSeek-V3 model for text summarization
  • Speech Synthesis: Google Cloud Text-to-Speech
  • Content Source: Wikipedia API

Features

  • Vertical video scrolling interface
  • AI-powered content summarization
  • Professional text-to-speech narration
  • Links to full Wikipedia articles
  • Mutable audio
  • Preloading for smooth transitions
  • Mobile-first responsive design

Project Status

This is a demo project with lots of things to improve.
Feel free to clone it and build harder, better, faster, stronger.

Credits

Created by Mike Gvozdev

Background videos:

Music: Suno

License

MIT License

About

TikTok but for Wikipedia articles

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published