Skip to the content.

YappingBot

“Software is like s-x: it’s better when it’s free.” - Linus Torvalds (Source, yes he actually said that.)

YappingBot FREES your mind of having to remember things you need to do.

GUI

CLI


**Quick Links** - [Features implemented](#features-implemented) - [Usage](#usage) - [Runing the bot](#running-the-bot) - [Commands](#commands-in-the-bot) - [Alias](#alias) - [List](#list) - [Reset](#reset) - [Exit](#exit) - [Filter](#filter) - [Delete](#delete) - [Mark](#mark) - [Unmark](#unmark) - [Adding Deadline Task](#deadline) - [Adding Event Task](#event) - [Adding To-do Task](#todo) - [Tinkering](#tinkering)

All you need to do is:

  1. Download it from here (DID YOU CHECK THE SITE LINK?).
  2. Double click it (honestly doesn’t work for me. You’re better off running java -jar yappingbot.java).
  3. ???
  4. Add your tasks!

Supported flags include:

--savefile <FILEPATH> define an alternate savefile path
        -s <FILEPATH> same as --savefile
        -c            Run CLI mode (fallback)

Did I mention it’s FREE? (Free of Charge, Free of Dom)

Features implemented:


Usage

The following commands are availabe:

Running the bot

If you are running the bot as such:

java -jar yappingbot.jar

You can add the following:


Commands in the bot:

Commands are typed as such:

VERB first-argument /FLAG value /FLAG value

Where verb refers to the command and flag refers to any possible flags. The order of the flags are not fixed, as long as the first argument proceeds the verb, and all non-optional arguments are provided. Each command has several aliases, and more can be added with the alias command.

Example:

event I will be off /from 2023-12-25 /to 2024-1-1

Results in a Event task, titled “I will be off”, with the start date as “25th December 2023” and end date as “1st January 2024”.


Alias

Adds a new alias for a command.

Verbs:


List

Lists all the tasks in the current filter

Verbs:


Reset

Resets the current view to show all tasks without filter.

Verbs:


Exit

Exits the program and ends the bot.

Verbs:


Filter

Filters the task to show all tasks matching the given search. Searched fields include the dates and task titles.

Verbs:


Delete

Deletes a task in the current view

Verbs:


Mark

Marks a task in the current view as done

Verbs:


Unmark

Unmarks a task in the current view as done

Verbs:


Deadline

Adds a ‘Deadline’ task

Verbs:


Event

Adds a ‘Event’ task

Verbs:


Todo

Adds a ‘TO-DO’ task

Verbs:


Tinkering

If you’re bored and want to stress yourself, look no further!

Clone this, and feel free to run it like this:

CLI Mode:

public static void main(String[] args) {
    // Feel free to change this!
    // The original main method checks if an argument is passed and uses it instead.
    String savefile = "./savefile"; 

    YappingBot yp = new YappingBot(savefile);
    yp.start();
}

GUI Mode: (requires javafx)

public static void main(String[] args) {
    // MainGuiApplication currently looks in 
    // Launcher to retrieve the savefilePath
    //
    // To be updated in further commits
    Launcher.savefilePath = "./savefile";
    MainGuiApplication.launch(MainGuiApplication.class, args);
}