GithubHelp home page GithubHelp logo

overshard / timelite Goto Github PK

View Code? Open in Web Editor NEW
260.0 3.0 18.0 1.64 MB

Why is it 5 AM? Isn't there something simple I can use to track what I'm doing with all this time?

Home Page: https://timelite.bythewood.me

License: BSD 2-Clause "Simplified" License

JavaScript 98.32% Dockerfile 0.51% Shell 1.16%
react localstorage nextjs serverless timer timetracker docker self-hosted

timelite's Introduction

Timelite Logo

Timelite

Why is it 5 AM? Isn't there something simple I can use to track what I'm doing with all this time?

https://timelite.bythewood.me/

Why?

I want to casually track the time I spend on things without any overhead of signing into a service or even being online. Timelite is a progressive web app and works just fine without an internet connection, all data is stored locally and I don't track anything.

Timelite has been a pretty great companion for me with more aggressive team management software solutions that sometimes don't allow me to swap between projects quickly and track time easily. I tend to hop from project to project and task to task regularly. Larger solutions have a lot of overhead for basic time tracking. I tend to track my time here and then input that time at the end of the day or increments that make more sense.

For an overview of how to get this project running and why it's useful check out the DB Tech video on it here: https://www.youtube.com/watch?v=woG6qOmxlOA

Clone

For any possible way of running Timelite yourself you'll need a copy of the repo:

git clone https://github.com/overshard/timelite.git

After you get the repo it's up to you how you want to use it.

Development

You will need to have a version of node installed and yarn. If you already have node but don't know if you have yarn you probably just have npm and can install yarn with npm i -g yarn. After that you can run:

yarn install
yarn start

This will spin up Timelite to run on port 3000 which you can access via a browser at http://localhost:3000.

I won't really go into how to get node installed here, if you need help with that feel free to submit an issue but the best place to start would be just searching for how to install node on <your operating system here>. There are plenty of great guides out there as it is very popular.

Production

You can either push to Vercel with an update to the vercel.json file to change the alias or install Docker and docker-compose and use that on any server.

With docker appending -d to the end after up will run this container in detached mode. We have restart: unless-stopped configured so on system restarts or crashes the container will start back up automatically.

docker-compose up -d

Ports

To change which ports things run on you can update the package.json file's scripts. You will also need to update the docker-compose.yml file, if you use that, to properly publish the new port.

Troubleshooting

You may need to manually rebuild your docker container at times depending on changes that have been made that may not automatically trigger a rebuild. To do that you can run:

docker-compose up -d --build

The up implies that you want to start the server again, --build will rebuild the container and -d, as stated above, starts us in detached mode so you can set it and forget it.

timelite's People

Contributors

dependabot[bot] avatar domind avatar glooca avatar insulatir avatar mat1g3r avatar overshard avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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.