Giter VIP home page Giter VIP logo

diddle's Introduction

diddle

Minimalist scheduling. A mobile friendly, fast, self-hosted Doodle alternative.

Installation

The Diddle app is a traditional Flask web app that uses PostgreSQL for persistence. User settings are stored in HTTP cookies.

Build a container image with docker compose (see compose.yml):

docker compose build

or directly with docker build:

docker build -t diddle:latest .

Deploy the image as you see fit.

You can also run the app without containerization:

pip install -r requirements.txt # install pip dependencies
touch .env                      # put your env vars here
python apply_migrations.py      # prepare the database
gunicorn --bind "0.0.0.0:8000" -w 4 app:app

Environment variables

Variable Description
BASE_URL E.g. diddle.my-server.net, used as a prefix in dynamically generated links (required)
DB_PASSWORD Postgres password (required)
DB_HOST Postgres host (default: db)
DB_PORT Postgres port (default: 5432)
DB_DATABASE Postgres database (default: postgres)
DB_USER Postgres user (default: postgres)
EMAIL_HOST SMTP host address
EMAIL_PORT SMTP port
EMAIL_HOST_USER SMTP host user
EMAIL_HOST_PASSWORD SMTP host password
EMAIL_USE_TLS Use STARTTLS with SMTP?
EMAIL_HEADERS Additional SMTP headers, format: header1=foo,header2=bar
EMAIL_MESSAGE_FROM Email message from address

EMAIL_ variables are only required if at least one of them is defined.

Screenshots

Front page

Front page

Manage poll page

Manage poll page

Vote page (table mode)

Vote page table mode

Vote page (list mode)

Vote page list mode

Development

Run Flask in dev mode:

flask --app app --debug run -p 8000

diddle's People

Contributors

jantuomi avatar

Watchers

 avatar  avatar

Forkers

poksiala

diddle's Issues

Whole day events asks for end time

When creating an event with "Whole day event" selected one would assume that you only need to insert a date. It is also a bit unclear in which format should you insert datetime (or does it even matter?).

   Title                  testaan lynxillä____                                                                   
   Description (optional)                                                                                        
   testaan lynxillä tämän toimintaa kun sitä rss feedissä lupailtiin_______________________________________      
   ________________________________________________________________________________________________________      
   ________________________________________________________________________________________________________      
   ________________________________________________________________________________________________________      
   Your name              Panu________________                                                                   
   Your email (optional)  sensuroitu__________                                                                   
   Whole day event?       [X]                                                                                    
                                                                                                                 
   Update                                                                                                        
                                                                                                                 
Options                                                                                                          
                                                                                                                 
        Start time            End time                                                                           
   1.1.1970____________ ____________________ Add                                                                 
                                                                                                                 
Danger zone                                                                                                      
                                                                                                                 
   Delete poll 

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.