A Rust program that analyzes your TikTok data.

Overview

The TikTok JSON analyzer

This is a program to analyze your TikTok data and calculate these statistics :

  • Number of logins (in the last 6 months) and logins per day
  • Number of videos watched (in the last 6 months) and watched videos per day
  • Number of favorite effects, hashtags, sounds and videos
  • Statistics about the likes you left
  • Number of comments posted
  • Your account's audience stats

This project is still in development.
I plan to deploy the app on the web in the future so stay tuned

How to get your TikTok data?

In your TikTok app, Head over to Settings > Account > Get my data and ask for JSON.

You should receive a zipped folder containing your data export in the following days

How to use the program?

You have two options :

  1. Compile it yourself :

    1.1 : Make sure rustc and cargo are installed, check out this link for further information.
    1.2 : In your terminal, run git clone https://github.com/Elazrod56/tiktok_json_analyzer.git
    1.3 : A new folder called tiktok_json_analyser will be created, open it in your terminal.
    1.4 : Place your TikTok data in json/ and name it user_data.json. Normally it is already named as such
    1.5 : Finally, in tiktok_json_analyzer, run cargo run.

  2. Use the released binaries :

    2.1 : Go into 'releases' and select the latest version
    2.2 : Download the executable for your version
    2.3 : Place it in an individual folder
    2.4 : Make sure that in the same folder there is a json folder containing user_data.json
    2.5 : Open your terminal
    2.6 : On Linux, run ./linux_x64. (Note : you might need to make it executable by typing chmod +x linux_x64)
    2.7 : On Windows, run .\windows_x64.exe

What if you get an error?

If you get a "no such file or directory error", make sure that "user_data.json" is in the "json" directory.

If you get another error, feel free to open an Issue (or a PR if you have a solution)

Binaries

  • The Windows binary was compiled on Windows 11-64bit. It should work on Windows 10 though.
  • The Linux binary was compiled on Debian WSL2-64bit.

If the binaries do not run on your machine, compile the code yourself.

For contributors

If you want to contribute to this project, you can contact me on Discord (Elazrod#7500) or open a PR. I'll be happy to collaborate with you.

You might also like...
Fontdue - The fastest font renderer in the world, written in pure rust.
Fontdue - The fastest font renderer in the world, written in pure rust.

Fontdue is a simple, no_std (does not use the standard library for portability), pure Rust, TrueType (.ttf/.ttc) & OpenType (.otf) font rasterizer and layout tool. It strives to make interacting with fonts as fast as possible, and currently has the lowest end to end latency for a font rasterizer.

CLI tool to convert HOCON into valid JSON or YAML written in Rust.

{hocon:vert} CLI Tool to convert HOCON into valid JSON or YAML. Under normal circumstances this is mostly not needed because hocon configs are parsed

Typify - Compile JSON Schema documents into Rust types.

Typify Compile JSON Schema documents into Rust types. This can be used ... via the macro import_types!("types.json") to generate Rust types directly i

A easy and declarative way to test JSON input in Rust.

assert_json A easy and declarative way to test JSON input in Rust. assert_json is a Rust macro heavily inspired by serde json macro. Instead of creati

Hjson for Rust
Hjson for Rust

hjson-rust for serde { # specify rate in requests/second (because comments are helpful!) rate: 1000 // prefer c-style comments? /* feeling ol

A small rust database that uses json in memory.

Tiny Query Database (TQDB) TQDB is a small library for creating a query-able database that is encoded with json. The library is well tested (~96.30% c

A JSON Query Language CLI tool built with Rust 🦀

JQL A JSON Query Language CLI tool built with Rust 🦀 📜 Core philosophy 📦 Stay lightweight 🎮 Keep its features as simple as possible 🧠 Avoid redun

An implementation of the JSONPath A spec in Rust, with several extensions added on

Rust JSONPath Plus An implementation of the JSONPath A spec in Rust, with several extensions added on. This library also supports retrieving AST analy

An HCL serializer/deserializer for rust

hcl-rs This crate provides functionality to deserialize, serialize and manipulate HCL data. The main types are Deserializer for deserializing data, Se

Releases(Release)
Owner
Elazrod56
never stop learning
Elazrod56
Jsonptr - Data structures and logic for resolving, assigning, and deleting by JSON Pointers

jsonptr - JSON Pointers for Rust Data structures and logic for resolving, assigning, and deleting by JSON Pointers (RFC 6901). Usage Resolve JSON Poin

Chance 38 Aug 28, 2022
A generator for high-performance Pest parsers, bringing your grammar to the next level

Faster-Pest Welcome to faster-pest, a high-performance code generator for Parsing Expression Grammars. faster-pest is an unofficial pro-macro providin

null 3 Jan 13, 2023
JSON parser which picks up values directly without performing tokenization in Rust

Pikkr JSON parser which picks up values directly without performing tokenization in Rust Abstract Pikkr is a JSON parser which picks up values directl

Pikkr 615 Dec 29, 2022
Strongly typed JSON library for Rust

Serde JSON   Serde is a framework for serializing and deserializing Rust data structures efficiently and generically. [dependencies] serde_json = "1.0

null 3.6k Jan 5, 2023
Rust port of simdjson

SIMD Json for Rust   Rust port of extremely fast simdjson JSON parser with serde compatibility. readme (for real!) simdjson version Currently tracking

null 737 Dec 30, 2022
JSON implementation in Rust

json-rust Parse and serialize JSON with ease. Changelog - Complete Documentation - Cargo - Repository Why? JSON is a very loose format where anything

Maciej Hirsz 500 Dec 21, 2022
Rust port of gjson,get JSON value by dotpath syntax

A-JSON Read JSON values quickly - Rust JSON Parser change name to AJSON, see issue Inspiration comes from gjson in golang Installation Add it to your

Chen Jiaju 90 Dec 6, 2022
Get JSON values quickly - JSON parser for Rust

get json values quickly GJSON is a Rust crate that provides a fast and simple way to get values from a json document. It has features such as one line

Josh Baker 160 Dec 29, 2022
This library is a pull parser for CommonMark, written in Rust

This library is a pull parser for CommonMark, written in Rust. It comes with a simple command-line tool, useful for rendering to HTML, and is also designed to be easy to use from as a library.

Raph Levien 1.5k Jan 1, 2023
A rust script to convert a better bibtex json file from Zotero into nice organised notes in Obsidian

Zotero to Obsidian script This is a script that takes a better bibtex JSON file exported by Zotero and generates an organised collection of reference

Sashin Exists 3 Oct 9, 2022