Git Product home page Git Product logo

todo-rs's Introduction

Why

I was using these note taking apps to write my tasks on the daily-pages. The problem was I wanted to see all the undone tasks until current-day. Which was possible in a pure text-file based solutions. The tasks were getting lost in many markdown files.

What

A command-line TUI ToDo app, that uses SQLite for storing tasks.

How

App is made using Rust. I am using cursive library for the TUI view, and using SeaORM as an ORM for SQLite.

Run

git clone https://github.com/anshulxyz/todo-rs/
cd todo-rs/
echo "DATABASE_URL='sqlite://tasks.sqlite?mode=rwc'" > .env
make run

Usage

  • Press q to quit the app.
  • Upon running the app, you will see all the undone tasks. And all the tasks you finished today.
  • Use arrow-keys to move up-and-down, press Enter or Space to mark a task done/undone
  • Press a to add a task.

Development

Install dev dependencies and run tests

make install-deps
make build
make test

Demo

Kapture.2022-07-12.at.02.32.03.mp4

todo-rs's People

Contributors

anshulxyz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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.