Giter Club home page Giter Club logo

todotxtaas's Introduction

TODOTXTaaS

My Hack Upstate Idea

Basically, write an app to fix the dropbox syncing problem of todo.txt. The idea is to write a service that has standard CRUD operations for each item, and integrates well with todo.txt projects and contexts. Also, there probably should be a frontend of some sort for the whole thing, ala bootstrap.

Reference: https://github.com/ginatrapani/todo.txt-cli/wiki/The-Todo.txt-Format

NOTE: date is only set once items are completed

GET /items

Outputs the full todo.txt file.

GET /items

(A) Thank Mom for the meatballs @phone
(B) Schedule Goodwill pickup +GarageSale @phone
Post signs around the neighborhood +GarageSale
@GroceryStore Eskimo pies

GET /items/:selector

Outputs all items that match the selector(s). These can take the form of:

  • @context - search for all items with a context of @context
  • +project - search for all items with a project of +project
  • text - search in the item body for text (not case sensitive)
GET /items/@phone

(A) Thank Mom for the meatballs @phone
(B) Schedule Goodwill pickup +GarageSale @phone


GET /items/@phone/mom

(A) Thank Mom for the meatballs @phone

POST /items

Adds a new item. The request body should contain the list item in todo.txt format.

POST /items
@GroceryStore milk

{
  "status": "OK",
  "method": "create",
  "msg": "Added new todo item: @GroceryStore milk"
}

PUT /items/:id

updates item with the specified id (the _id)

DELETE /items/:id

deletes item with the specified id (the _id)

DELETE /items/:selector

  • destroy (Not implemented yet)

todotxtaas's People

Contributors

1egoman avatar jmurra avatar peterbsmyth avatar

Watchers

James Cloos avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.