Skip to content

Intelligent-Intern/epic-lifeplanner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

🧠 Epic Lifeplanner

The Epic Lifeplanner is your personal AI general — a fierce digital commander that keeps you disciplined, focused, and unstoppable throughout the day.
It uses OpenAI’s GPT models to generate fiery motivational speeches and reads them aloud right through your headset.


🚀 Features

  • 🔥 AI-generated battle speeches for each phase of your day
  • 🕒 Automatic time-based scheduling (morning, work, training, rest, etc.)
  • 🔊 Text-to-speech (TTS) output via OpenAI’s voice models
  • 🎲 Optional randomness in tone and voice for extra variety
  • 🧩 Easy to extend or integrate with your daily workflow

⚙️ Requirements

  • curl
  • jq
  • mpg123 (Linux) or afplay (macOS)
  • An OpenAI API key

Install dependencies:

sudo apt install curl jq mpg123

🧰 Setup

  1. Clone or copy the script:

    git clone https://github.com/yourname/epic-lifeplanner.git
    cd epic-lifeplanner
  2. Add your OpenAI key:

    export OPENAI_API_KEY="sk-yourkeyhere"
  3. Make the script executable:

    chmod +x life_scheduler.sh
  4. Run it:

    ./life_scheduler.sh

🕒 Automate with Cron

Run your AI general every hour:

crontab -e

Add the line:

0 * * * * /path/to/life_scheduler.sh

🔧 Customization

  • Change the voice:
    Edit the VOICE variable (options: alloy, verse, coral, sage, cast)

  • Adjust time blocks in the script:

    if [ $current_hour -ge 6 ] && [ $current_hour -lt 8 ]; then
      llm_call "wake up and prepare for victory"
    elif [ $current_hour -ge 8 ] && [ $current_hour -lt 12 ]; then
      llm_call "work with ruthless focus"
    ...
  • Add randomness:

    temp=$(awk -v min=0.6 -v max=1.2 'BEGIN{srand(); print min+rand()*(max-min)}')
    llm_call "attack your afternoon tasks" $temp

🎖 Example Output

When it’s 07:00:

"Rise now, soldier! The sun is up and the world waits for no one.
Stand tall, breathe deep, and charge into the day with unstoppable force!"

When it’s 18:00:

"Train like a warrior sharpening his blade. Sweat now so victory comes easy later!"


🧩 Optional Enhancements

  • 🎵 Add background music before speeches:
    mpg123 /path/to/march.mp3 &
  • 🔁 Continuous mode:
    while true; do ./life_scheduler.sh; sleep 3600; done

🧔 Motto

“Discipline isn’t motivation — it’s command.”


⚡ License

MIT — use, modify, and conquer your schedule.

About

let it run as a demon and AI will structure your day

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages