Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/omidfi/moro

[DEPRECATED/DON'T USE] Simple CLI tool for tracking work hours. Note: Heavy changes are happening in this repository. Docs might not be up to date, and things might be broken. Only the released NPM version is stable.
https://github.com/omidfi/moro

cli nodejs time-tracker time-tracking

Last synced: 23 days ago
JSON representation

[DEPRECATED/DON'T USE] Simple CLI tool for tracking work hours. Note: Heavy changes are happening in this repository. Docs might not be up to date, and things might be broken. Only the released NPM version is stable.

Awesome Lists containing this project

README

        

# Moro (DEPRECATED / USE AT YOUR OWN RISK)

A command line tool for tracking work hours, as simple as it can get.

[![Backers on Open Collective](https://opencollective.com/moro/backers/badge.svg)](#backers) [![Sponsors on Open Collective](https://opencollective.com/moro/sponsors/badge.svg)](#sponsors) [![Downloads](https://img.shields.io/npm/dt/moro.svg)](https://npmjs.org/moro) [![Greenkeeper badge](https://badges.greenkeeper.io/albacoretuna/moro.svg)](https://greenkeeper.io/) [![All Contributors](https://img.shields.io/badge/all_contributors-8-orange.svg?style=flat-square)](#contributors)

## Demo

![alt tag](https://user-images.githubusercontent.com/7697632/29446360-80950010-83f4-11e7-945f-9212fa6738ce.gif)

## Install

### If you have node and npm

You need node version 10 or higher (we haven't tested lower versions)

To install just type this into command line:

```bash
npm install -g moro

# or if you are using yarn, it works too
yarn global add moro
```

You are done installing Moro!

### (alternative install method) Download the compiled binary file

We recommend installing moro using npm but if you don't have node and npm on your machine, you can download the executable files from [releases page](https://github.com/albacoretuna/moro/releases) for Linux, Mac and Windows.

Remember to copy ./lib/config.json to your home directory and rename it to

```
~/.moro-config.json
```

Then you can copy the downloaded executable file to your path, for example to /bin and start using moro just like the nomral installation.

## Update

```bash
npm update -g moro
```

## Usage

1. Run `moro hi` when starting your working day. Moro registers that time as your clock in time.
2. Run `moro bye` when ending your working day. Moro Registers that time as your clock out time.

That's it! Moro prints on the screen how many hours you have worked.

Invoke `$:moro report` at any time to see how long you have worked on the current day.

To see the full report of previous days run `moro report --all`.

#### Learn more:

Those two steps above should be all you need to know about Moro, but there are 3 ways to learn more:

- `$: moro --help`
- See the documentation: [link](https://github.com/albacoretuna/moro/blob/master/DOCUMENTATION.md)
- Or check this screen recording: [link](https://asciinema.org/a/106792)

## Frequently Asked Questions (FAQ)

Click to open FAQ

Q: I forgot to run moro in the morning, so my clock in time is not saved. Can I adjust it now? A: yes! for example, if you started work at 09:30 run `$: moro hi 09:30`

## What does moro mean?

Moro means hello in Finnish.

## Contributing

Open an issue, or make a pull request. We love contributions.

### Development

Clone this repo, and then inside the folder run:

```
npm link
```

This will install moro globally but using the files inside the project folder. You can now change the files and run moro in your command line to see the effects.

### To run tests

```
npm test
```

## Code of conduct

Code is important but people are more important. If you like to contribute to Moro please read and follow our code of conduct found in this file: CODE_OF_CONDUCT.md

## Contributors

Thanks goes to these wonderful people ([emoji key](https://github.com/kentcdodds/all-contributors#emoji-key)):

| [
Nick Okapi](http://omid.fi)
[💬](#question-albacoretuna "Answering Questions") [🐛](https://github.com/albacoretuna/moro/issues?q=author%3Aalbacoretuna "Bug reports") [💻](https://github.com/albacoretuna/moro/commits?author=albacoretuna "Code") [📖](https://github.com/albacoretuna/moro/commits?author=albacoretuna "Documentation") [👀](#review-albacoretuna "Reviewed Pull Requests") [⚠️](https://github.com/albacoretuna/moro/commits?author=albacoretuna "Tests") | [
Mario](https://github.com/mario-s)
[💻](https://github.com/albacoretuna/moro/commits?author=mario-s "Code") [📖](https://github.com/albacoretuna/moro/commits?author=mario-s "Documentation") [⚠️](https://github.com/albacoretuna/moro/commits?author=mario-s "Tests") | [
Karl Fleischmann](https://twitter.com/fleischie28)
[💻](https://github.com/albacoretuna/moro/commits?author=fleischie "Code") [📖](https://github.com/albacoretuna/moro/commits?author=fleischie "Documentation") [⚠️](https://github.com/albacoretuna/moro/commits?author=fleischie "Tests") | [
Niloofar Motamed](https://niloofarmotamed.com)
[📖](https://github.com/albacoretuna/moro/commits?author=niloomotita "Documentation") | [
Wolf-Rost](https://github.com/Wolf-Rost)
[📖](https://github.com/albacoretuna/moro/commits?author=Wolf-Rost "Documentation") | [
Henri Koski](https://github.com/heppu)
[📖](https://github.com/albacoretuna/moro/commits?author=heppu "Documentation") | [
Olavi Haapala](https://twitter.com/0lpeh)
[📖](https://github.com/albacoretuna/moro/commits?author=olpeh "Documentation") [🐛](https://github.com/albacoretuna/moro/issues?q=author%3Aolpeh "Bug reports") |
| :---: | :---: | :---: | :---: | :---: | :---: | :---: |
| [
Walid Mani](https://github.com/Flouss)
[💻](https://github.com/albacoretuna/moro/commits?author=Flouss "Code") |

This project follows the [all-contributors](https://github.com/kentcdodds/all-contributors) specification. Contributions of any kind welcome!

## Contributors

This project exists thanks to all the people who contribute. [[Contribute]](CONTRIBUTING.md).

## Backers

Thank you to all our backers! 🙏 [[Become a backer](https://opencollective.com/moro#backer)]

## Sponsors

Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [[Become a sponsor](https://opencollective.com/moro#sponsor)]