عکس akashadhikari
A minimal web app that enables Facebook users to send timed messages to a person or a group.Python
موضوع‌ها
۰
فورک‌ها
۱
ستاره‌ها
۱۱
تاریخ ایجاد
۱۵ مرداد ۱۳۹۷
آخرین بروزرسانی
حدود ۴ سال قبل
لایسنس
MIT License

Talk to u later

Imagine its your girlfriend's birthday tomorrow. (No offense if you're single. You can still imagine. :p )

You had a very long day at work and thus, all you wanna do is go to bed once you reach home. But you know you have to wish her exactly at 00:00 because idk, its like the golden rule of relationship.

What do you do? You'll probably be a good lad and stay up all night just to wish her a happy birthday on Facebook and make her feel "special" (lol).

Or, may be, you can become a smart lad and try this dope thing. Talk to u later (ttyl) is for people like you. Its also for people like me. Its for everyone who are busy in their lives. Its for everyone who would love to send scheduled Facebook messages.

Requirements

I assume you have following things installed already:

  • git
  • python
  • virtualenv
  • a girlfriend (optionally :p )

Installation

git clone https://github.com/akashadhikari/talk-to-u-later.git

cd talk-to-u-later

python3 -m venv .venv

source .venv/bin/activate

pip3 install -r requirements.txt

python3 manage.py migrate

python3 manage.py runserver

In the next terminal window

Install Redis

sudo apt install redis-server if you are on linux. Check out Redis Website for more details.

Check if Redis is up!

redis-cli ping

This should show you the result PONG

In the same terminal

source .venv/bin/activate

celery -A ttyl worker -l info

In yet another terminal window, run

source .venv/bin/activate

celery -A ttyl beat -l info

Open your browser and go to

http://localhost:8000/

That's it. Now you can send delayed Facebook messages!

WARNING!!!: If you schedule the time to the past, the application will cause distortion in time and space which might ultimately lead you to an alternate universe. :p

Screenshot

alt text