Skip to main content

CLI app that automatically messages your friends on the tik tok and saves your streak.

Project description

streak saver

Streak saver is python CLI app thats automatically sends messages to your friends in tik tok to keep streak alive.

I have lot's of friends who really do care about tik tok streak pets and there was thousands of times when I forgot about this streaks and they was angry on me. So I decided to make script that will do it automaticaly for me every time I turn on my pc. You can customize who and what you're sending, so you can create different messages for all of your friends!

Technologies

  • Typer - to realize CLI functionality.
  • Playwright - to interact with tik tok via browser.
  • PyAutostart - to start app every time you turn on your pc.
  • Rich - to make prints prettier.

How to use

  1. Install package by running pipx install streak-saver.
  2. Run streak-saver setup it'll download playwright deps and create config files. You can also add your friends on this step.
  3. Run streak-saver login you'll find out browser page with tik tok in there, you need to login to your account once to save cookies. Your data will stay on your pc, no worries.
  4. Run streak-saver autostart --on to turn run script every time you start your pc(to disable it run autostart --off).

Done! Now you can either forget about it or use some of the commands lower to customize your messages and to add/remove users who you wanna message.

Warning: You should run streak-saver login from time to time to renew your cookies. Something like once a week will be enough.


Commands

  • setup - use only after you download package or if package files corrupted.
  • login - use to renew cookies/change account. Necessary before first send_messages.
  • add_user USERNAME - add user to your "users list"(people who you'll be messaging). Use username not nickname!
  • delete_user USERNAME - delete user from your users list.
  • show_users - show nicknames and messages that you're senging from the users list.
  • change_default_message MESSAGE - change default message(by default it's ❤️).
  • change_message_for USERNAME MESSAGE - change message for specific user from your users list.
  • send_messages - to send messages for all users from your list(with autostart on runs automatically). Runs only once a day.
  • autostart --on/--off - use to manage autostart
  • streak-saver - btw it runs send_messages command by default, it's for autostart feature

Bugs

If you found bug, please let me know about it by opening issue in github repository🙏

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

streak_saver-0.1.14.tar.gz (8.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

streak_saver-0.1.14-py3-none-any.whl (11.2 kB view details)

Uploaded Python 3

File details

Details for the file streak_saver-0.1.14.tar.gz.

File metadata

  • Download URL: streak_saver-0.1.14.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for streak_saver-0.1.14.tar.gz
Algorithm Hash digest
SHA256 54eeacb119263fc8201ef7d0ed3fc23469183b8676863b738b734a71a8681b4c
MD5 1516377d5e667c0f22d6c3b4b17a23cd
BLAKE2b-256 9fd95136115b52b4965d37e5e8e4bb90d3bf7bbc7df26c8b5d9de1fe0a9a34de

See more details on using hashes here.

File details

Details for the file streak_saver-0.1.14-py3-none-any.whl.

File metadata

  • Download URL: streak_saver-0.1.14-py3-none-any.whl
  • Upload date:
  • Size: 11.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for streak_saver-0.1.14-py3-none-any.whl
Algorithm Hash digest
SHA256 57b10af6cea4a62002ec29d7700c8de4739d5a540dd974f5baa5a04bac194079
MD5 ac03bca48760e569e7186bc6c0c4d44c
BLAKE2b-256 b98c2538588cbaeb33d41d1d20dee8e848f880c41917efd2866b111a5b7971a5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page