Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

🌷 Poppy

A tiny Java CLI that lets fate decide when you're actually going to start.

What is Poppy?

You know when you say:

"I'll start studying at 4:30."

And then 4:30 arrives and somehow you're still doing absolutely nothing?

Poppy fixes that.

Give Poppy the time you planned to start, and she randomly chooses a time within the next 20 minutes.

No overthinking. No renegotiating. Poppy has spoken. 💅

Example

Poppy ACTIVATED <3

What time were you "totally" going to start?
> 4:30 PM

✨ The universe has selected: 4:43 PM ✨

You will begin at 4:43 PM.
No changing it.

How It Works

  1. Enter the time you planned to start.
  2. Poppy creates a 20-minute window.
  3. A random start time is selected from that window.
  4. That's your new start time. 🎀

For example:

Input:  4:30 PM
Range:  4:30 PM - 4:50 PM
Result: 4:43 PM

Tech Stack

  • Java 21
  • java.time
  • Random
  • CLI input

Run

Compile:

javac src/main/java/Main.java

Run:

java -cp src/main/java Main

Why I Built This

Sometimes the hardest part of starting a task is deciding when to start it.

Poppy removes that decision.

You provide the general time.

Poppy chooses the exact time. 🌷

JavaLabs.io

Part of JavaLabs.io — a collection of small Java experiments built to turn random ideas into working code.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages