Skip to content
Save all your bookmarks!
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


Build Status

Bookie is a simple Django app that stores links to information you intend to consume later. For example, if you found yourself bookmarking information from social media and websites, but your bookmarks are stored all over the place and you also forget to check what you have saved, then Bookie is for you!

Right now, you can only save links through Telegram.


I save a lot of links, tweets and articles that I intend to read later, but I always forget to actually check my what I have saved. On twitter I use the like or bookmark functionality to save interesting tweets for later. Sometimes I save them to my Saved messages on Telegram or use the Google Inbox bookmark functionality. Needless to say, I need a single source which stores all my links and notifies me after some period of time to remind me what I recently saved. And so Bookie was born.


My vision for Bookie includes:

  • Mobile app
  • Browser extension to save links directly from the browser
  • More integrated services
  • To be the number one source for all your saved links

Run your own Bookie installation

Right now, Bookie uses telegram to send data to Bookie. Therefore you need your own Telegram bot which you can read more about here

Once you have acquired your bot for bookie, you need to set a webhook to your Bookie intsallation. Your installation needs to be accessible from the Internet.

http POST<API_KEY>/setWebhook url=<YOUR_HOST>/api/telegram/API_KEY/

Bookie is designed to use docker for running in production while the vagrant and default setup is for local development.

Default setup

  1. Clone the repo
  2. pip install pipenv --user
  3. pipenv shell
  4. pipenv install
  5. Set your telegram api key
# Windows
set TELEGRAM_API_KEY=<api_key>

# Unix
export TELEGRAM_API_KEY=<api_key>
  1. python runserver (Run bookie in development mode)

Vagrant setup

  1. vagrant up && vagrant ssh
  2. Set your telegram api key
export TELEGRAM_API_KEY=<api_key>
  1. cd /vagrant_data
  2. Run Boookie
python3.7 runserver
  1. Visit on your host machine

Docker setup (Production)

  1. Create /root/bookie.env with the following contents:
  1. sudo docker-compose -f prod.yml up -d

This will start a docker container listening on the host at You will need to configure nginx or apache as a reverse proxy to serve static content, below you will find an nginx configuration example.

upstream bookie.local {

server {                                                                                                                
    listen   443 ssl;                                                                                                   
    root /var/www/;                                                                                     
    access_log /var/log/nginx/ main;                                                         
    error_log /var/log/nginx/ error;                                                          
    location / {                                                                                                        
        proxy_set_header X-Forwarded-Proto https;                                                                       
        proxy_pass http://bookie.local;                                                                                 
        proxy_set_header Host $host;                                                                                    
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;                                                    
        proxy_buffering off;                                                                                            
        add_header Front-End-Https   on;                                                                                
        add_header Strict-Transport-Security max-age=63072000;                                                          
        add_header X-Xss-Protection "1; mode=block" always;                                                             
        add_header X-Content-Type-Options "nosniff" always;                                                             
        add_header X-Frame-Options "SAMEORIGIN" always;                                                                 
        add_header Referrer-Policy "no-referrer-when-downgrade" always;                                                 
    location /static {                                                                                                  
        alias /var/www/;                                                                          
    ssl on;                                                                                                             
    ssl_certificate /etc/letsencrypt/live/;                                                 
    ssl_certificate_key /etc/letsencrypt/live/;                                               
    ssl_dhparam /etc/letsencrypt/live/;                                                            
    # enables all versions of TLS, but not SSLv2 or 3 which are weak and now deprecated.                                 
    ssl_protocols TLSv1 TLSv1.1 TLSv1.2;                                                                                
    ssl_ciphers 'AES128+EECDH:AES128+EDH:!aNULL';                                                                       
    ssl_session_cache shared:SSL:10m;                                                                                   
    #ssl_stapling on;                                                                                                   
    #ssl_stapling_verify on;                                                                                            
    resolver valid=300s;                                                                                
    resolver_timeout 10s;                                                                                               
    ssl_prefer_server_ciphers on;                                                                                       


Any feedback or ideas are welcome! Want to improve something? Create a pull request!

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D
You can’t perform that action at this time.