Simple format that serves it's one and only purpose and that's creating simple task list everywhere where you can write plain text

Overview

SWTF (Simple Worklog Task Format)

License: MIT

Simple format that serves it's one and only purpose and that's creating simple task list everywhere where you can write plain text

⚠️ This project is created to meet the needs of our development team. Our main focus won't be on maintainig this project.

Content

Motivation

Managing small daily based tasks can be boring for developers, specialy using modern task management tools where often you have to put more effort in using a tool than focusing on task definition.

Based on daily practice we defined a format that is so simple you can use it everywhere where you can write a simple plain text. We defined 7 simple rules() that provide:

  • 🔨 Simplicity in writing tasks
  • Eeasy and efficient parsing
  • 👽 Human friendly format
  • 🚀 Portability to multiple platforms
  • 🎱 Old and simple look but it's cool that way

Rules

Task

Task template:

- TASK_TEXT [FIRST_ATTR][SECOND_ATTR]...[NTH_ATTR]\n

Rule no. 1 Every task must start with dash leading whitespace (- ) and end with newline character (\n)

Rule no. 2 If exists, array of attributes must be defined after whitespace character at the end of task(before \n)

  • TASK_TEXT - string value
  • [FIRST_ATTR][SECOND_ATTR]...[NTH_ATTR] - optional array of attributes

Let's write some tasks:

- My first task written in one line of SWTF
- Define format that can be so simple and used acrossed devices [me][high]

Attribute

Single attribute template:

[(ATTR_NAME: )?ATTR_VALUE]

Every attribute is defined in task attributes array(at the end of the task).

Rule no. 3 Attribute can't contain [ and ] characters

Rule no. 4 If attribute starts with any array of characters followed by : , that array of characters represents attribute name

Rule no. 5 Attribute value is list of comma separated values(can be a single value)

  • ATTR_NAME - any string value that doesn't containt [, ] and if exists must be followed by : .
  • ATTR_VALUE - any string value that doesn't containt [ and ]. If contains , character, will be treated as comma separated array of values

Let's rewrite some tasks:

- My third task using SWTF and i love it 🏄
- Define format that can be so simple and used acrossed devices [member: djora,burga,me][priority: high]

Subtask

Subtasks extends task definition by adding whitespace characters ( or \t) at the line begining. Number of leading whitespace characters defines level of nesting.

Rule no. 6 Subtasks are tasks starting with sequence of unique whitespace characters ( or \t)

Rule no. 7 Subtasks are related to frist upper defined task with lower level of nesting

Let's rewrite some tasks:

- My third task using SWTF and i love it 🏄
- Define format that can be so simple and used acrossed devices:
    - Define format rules [member: me][priority: high]
    - Write JSON parser [member: burga][priority: high]
    - Write SWTF file viewer [member: djora][priority: low]

Tools

Checkout our tools 👀 :

Contribution

Feel free to create your own tools. Here is our simple parser example written in typescript:

You might also like...

This is a Microverse (@microverseinc) project in which I created a To-do list using Webpack. User can add a task, delete it, edit its description, and clear the completed tasks.

Microverse To-Do list This is a Microverse (@microverseinc) project in which I created a To-do list using webpack. Requirements Build a Todo list usin

Aug 3, 2022

A to-do-list project is about keeping the track of all the daily task. This application can add move or delete task.

TO-DO LIST This is a project that create a simple todo tool that help you organize your day. This is build using ES6 and webpack. Built With HTML CSS

Oct 26, 2022

This is a simple web application of a To-do List in which you can add, remove and edit all your tasks and also you can mark each task as completed and delete all completed ones.

To-Do List A simple web application of a to do list Built With HTML, CSS, JS, ES6 & Webpack Getting Started In this repository I created To-Do List SP

Apr 11, 2022

The ToDoList app let you create a task, added to a list of task, mark it as complete, and delete individual or multiple tasks at the same time

The ToDoList app let you create a task, added to a list of task, mark it as complete, and delete individual or multiple tasks at the same time. The app manipulate the Local-Storag so you can save your tasks there. Built with HTML, CSS and JavaScript. First practice using Webpack, Modules and tests with Jest

Jul 21, 2022

An npm package for demonstration purposes using TypeScript to build for both the ECMAScript Module format (i.e. ESM or ES Module) and CommonJS Module format. It can be used in Node.js and browser applications.

An npm package for demonstration purposes using TypeScript to build for both the ECMAScript Module format (i.e. ESM or ES Module) and CommonJS Module format. It can be used in Node.js and browser applications.

Dec 28, 2022

Can see everything, beware of its omniscience, kneel before its greatness.

Can see everything, beware of its omniscience, kneel before its greatness.

Can see everything, beware of its omniscience, kneel before its greatness. Summary Presentation Installation Removing Credits Presentation Main goal T

Sep 30, 2022

A to-do list Web application that lets the user add, remove and reorder to do lists and checks a task when completed with a button to delete all completed task

TO DO LISTS A Web application that lets the user add, remove and reorder to do lists Built With Html,JS,CSS Webpack and other dependencies Git, Github

Nov 1, 2022
Owner
null
zieeco 12 Jul 8, 2022
This "To-do-list" app is a simple web application that displays a list of task and allows you to add and remove task from that list. it is built with the latest technology namely; JavaScript with webpack Configuration.

To-do-list "To-do-list" is a simple web application that displays a list of task and allows you to add and remove task from that list. Built With HTML

Aniekan udo 10 Nov 21, 2022
This "To-do-list" app is a simple web application that displays a list of task and allows you to add and remove task from that list

This "To-do-list" app is a simple web application that displays a list of task and allows you to add and remove task from that list. it is built with the latest technology including but not limited to HTML, CSS, JavaScript and webpack to manipulate DOM.

Jerry Owusu 2 Feb 19, 2022
Richard Chileya 5 Nov 11, 2022
"To Do List" is a minimalist project that displays a list of task and allows you to add and remove task from that list. Built with JavaScript

To Do List Structure Solo programming project for module 2 week 2 of the Microverse Program. Live Demo Live Demo Link "To Do List" is a minimalist pro

Yersel Hurtado 7 Mar 5, 2022
This is a project being built to show the usage of Webpack. It's an application were you are able to add a task to the list, and remove a task from the list

Microverse Project To Do List This is a project being built to show the usage of webpack. Its an application were you are able to add a task to the li

Roland Ossisa Yuma 4 May 6, 2022
The Main Purpose The main purpose of creating an anaonline information system, as an effort responsive to the management of the data of the Members of the Persis Youth based on information technology systems

landing-page-pp landing-page-pp.vercel.app #The Main Purpose The main purpose of creating an anaonline information system, as an effort responsive to

Hilman Firdaus 6 Oct 21, 2022