Giter Site home page Giter Site logo

manuelsaleta / please Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nayamamarshe/please

0.0 0.0 0.0 3.64 MB

Please - Minimalistic New Tab Page with a greeting, date and time, inspirational quotes and your personal tasks and to-do list

License: MIT License

Python 100.00%

please's Introduction

Please - New Tab Page for your Terminal

Get a beautifully formatted minimalistic new tab page with a greeting, date and time, inspirational quotes, your personal tasks and to-do list everytime you open the terminal.

Installation

Method 1:

  1. Make sure you have Python 3 installed on your computer.

  2. Open your terminal and paste the command below:

    pip install please-cli
    
    # If you get an error about 'pip not found', just replace pip with pip3.
  3. To run please everytime you open the terminal:

    # FOR BASH
    echo 'please' >> ~/.bashrc
    
    # FOR ZSH
    echo 'please' >> ~/.zshrc
  4. That's it! Check if please command works in your terminal.

Method 2:

  1. Go to the releases section.

  2. Download the latest release WHL file.

  3. Open terminal and paste the command below:

    pip install --user ~/Downloads/please_cli*
    
    # If you get an error about 'pip not found', just replace pip with pip3.

    Change the path of the file if you downloaded it elsewhere.

  4. To run please everytime you open the terminal:

    # FOR BASH
    echo 'please' >> ~/.bashrc
    
    # FOR ZSH
    echo 'please' >> ~/.zshrc
  5. That's it! Check if please command works in your terminal.

Having trouble with installation or have any ideas? Please create an issue ticket :)

Troubleshooting

Getting a command not found: please error? That means the Python modules installation folder is not in PATH. To fix this:

echo 'export PATH="$PATH:$HOME/.local/bin"' >> ~/.profile

Commands

# Show time, quotes and tasks
please

# Add a task
please add "TASK NAME"

# Delete a task
please delete <TASK NUMBER>

# Mark task as done
please done <TASK NUMBER>

# Mark task as undone
please undone <TASK NUMBER>

# Show tasks even if all tasks are markded as done
please showtasks

# Change your name
please callme "NAME"

# Reset all settings and tasks
please setup

Local Development

  1. To get started, first install poetry:
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python -
  1. Clone this project
  2. cd to the project directory and run virtual environment:
poetry shell

# OR THIS, IF 'poetry shell' doesn't work

. "$(dirname $(poetry run which python))/activate"
  1. Install all dependencies:
poetry install
  • please will be available to use as a command in the virtual environment after using poetry install.
  1. Finally, run the python script with:
python please/please.py
  1. To build a WHL package:
poetry build
  • The package will be generated in dist folder, you can then use pip to install the WHL file.

Uninstalling

Open your terminal and type:

pip uninstall please-cli

and also edit your .zshrc or .bashrc file and remove the line that says please at the end of the file.

Made by TGS963 and NayamAmarshe with โŒจ and ๐Ÿ–ฑ

please's People

Contributors

nayamamarshe avatar tgs963 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.