Cool but simple web-app mobile-compatible to gamify your life and self-improvement https://lifepex.sceptique.eu/
Go to file
Arthur POULET 0f010caa68
Merge branch 'feature/medals-full'
Add complete achievements integration.

* Adds a full HTML interface
* Interface to create and delete achievements
* Achievements are related to success that must be defined
  with an algorithm in the source code
* Integrate a basic achievements show in the recap

Do not contain:

* JSON API
* Achievement edition
* Computation optimisation
2021-06-10 22:11:26 +02:00
config Improve registering new users with default value and redirection to today 2021-06-01 20:08:04 +02:00
init medals: put achievements into database with users 2021-06-08 22:10:43 +02:00
public Improve CSS for small devices 2021-06-06 15:50:05 +02:00
src achievements: add parameters to the index 2021-06-10 22:06:27 +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 Prepare some security update 2021-06-05 12:57: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