Skip to content

xlzior/lifexp-bot

 
 

Repository files navigation

LifeXP: Gamified Journalling Chatbot

LifeXP combines gamification and journalling into a chatbot. It aims to provide a safe, fun and convenient way for you to pen down your thoughts and even organise them for browsing later. At the end of your journalling sessions, you are rewarded with experience points to reward you for your effort.

Demo

demo

Full demo

Principles

Convenient: We bring our phones with us everywhere we go, and we spend a large part of our time communicating with people through chat apps like Telegram. Journalling has never been easier — it’s only one text message away.

Conversational: We tell stories to other people all the time. Conversations are a natural way of telling people about what happened and how we felt. LifeXP combines this organic conversation together with an introspective journalling session to reflect.

Flexible: Journal in whatever way that works best for you. LifeXP does not interfere with your entries; it’s only there to facilitate your thoughts.

Using the Bot

LifeXP has been deployed to Heroku for public use. You may access the bot at the username @lifexp_bot. If the bot does not respond immediately, please be patient as it may have fallen asleep 😴

Tech Stack

TypeScript NodeJS Postgres Heroku Telegram ESLint

Building and Installing

It is highly unlikely that you will need to build, install and run the Telegram bot directly yourself, as the bot has already been deployed for public use. However, here are some overall instructions in the event that you need to do so.

  1. Clone the repository.
  2. Create a Telegram bot and set up the environment variables as instructed here.

Acknowledgements

Languages

  • TypeScript 97.8%
  • JavaScript 2.2%