Skip to content

akashadhikari/talk-to-u-later

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A minimal web app that enables Facebook users to send timed messages to a person or a group.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published