项目作者: kawa-kokosowa

项目描述 :
Private, live searchable bookmarks
高级语言: Python
项目地址: git://github.com/kawa-kokosowa/urlink.git
创建时间: 2016-09-27T20:11:28Z
项目社区:https://github.com/kawa-kokosowa/urlink

开源协议:

下载


urlink

Simple-as-possible non-social bookmark service, including live search
and elegant frontend.

Use urlink LIVE on urlink.link!

I’ve also included a Chrome Extension for urlink (/chrome_extension).

urlink screen recording

This is an early work in progress (call it “alpha”).

The tools

  • Python 3
  • flask, flask_user, flask_login, flask_sqlalchemy,
    flask_migrate
  • Bootstrap
  • jQuery

Quickstart

  1. mkvirtualenv urlink -p python3
  2. pip install -r requirements_no_postgres.txt
  3. export SECRET_KEY="asfdsfasdfasdffsdsdfa"
  4. python app.py db init
  5. python app.py db upgrade
  6. gunicorn app:app

Environmental Variables

This application is configured through environmental variables.

Required (everything else is optional):

  • SECRET_KEY (you must override)
  • SQLALCHEMY_DATABASE_URI (optional; defaults to sqlite)

You will want to look at flask-mail if you want to provide registration
email verification, as seen below:

  • MAIL_USERNAME (you always need to set this!)
  • MAIL_PASSWORD (you always need to set this!)
  • MAIL_DEFAULT_SENDER (don’t set if you’re using gmail)
  • MAIL_SERVER (don’t set if you’re using gmail)
  • MAIL_PORT (don’t set if you’re using gmail)
  • MAIL_USE_SSL (don’t set if you’re using gmail)
  • MAIL_USE_TLS (don’t set if you’re using gmail)