Cool but simple web-app mobile-compatible to gamify your life and self-improvement https://lifepex.sceptique.eu/
Go to file
Arthur POULET 2cfaf82cb5
layout: add the about page for disconnected users
2021-06-12 12:38:26 +02:00
config Improve registering new users with default value and redirection to today 2021-06-01 20:08:04 +02:00
documentation doc: update security doc 2021-06-11 18:04:45 +02:00
init favorite: add bookmark system to highlight favorites 2021-06-11 17:55:59 +02:00
public img: add favicon 2021-06-11 21:40:06 +02:00
scripts img: add favicon 2021-06-11 21:40:06 +02:00
src layout: add the about page for disconnected users 2021-06-12 12:38:26 +02:00
.gitignore init: Init database 2021-05-01 18:46:45 +02:00
Gemfile Improve CSS for small devices 2021-06-06 15:50:05 +02:00
Gemfile.lock Improve CSS for small devices 2021-06-06 15:50:05 +02:00
README.md readme: fix typo 2021-06-10 22:29:57 +02:00

README.md

LifePex

Setup

# SQLITE
./init/database.rb sqlite://sqlite.db

# POSTGRESQL
psql -U postgres postgres -c "CREATE USER root WITH PASSWORD 'toor' SUPERUSER;"
psql -U postgres postgres -c "CREATE DATABASE life_pex"
./init/database.rb postgres://root:toor@localhost/life_pex

Start

export LIFEPEX_SECRET="put something random here"
export LIFEPEX_BASE_URL="https://mydomain/base"
export LIFEPEX_DB="sqlite://sqlite.db"
# you may also want to use postgres or something
# export LIFEPEX_DB="postgres://root:toor@localhost/life_pex"
./src/app.rb

Generate documentation

./init/doc.rb
xdg-open ./public/doc/index.html

Features

  • Register an account
  • Reset password
  • Add pex models
  • Add point each day to each pex model
  • Make a nice smooth level function
  • Create a nice CSS template to make it dark and flashy and cyberpunk kikoo
  • Protect privacy with private pex models
  • Import CSV script
  • Make a basic recap graph
  • Make a niice recap graph
  • Add an easy and quick way to edit pex
  • Add advanced pex with variable value
  • Improve security (token validity limit, random seed warning, ...)

recap image today image