Git Product home page Git Product logo

nodoz's Introduction

GitHub All Releases

NoDoz

Ever need to temporarily prevent your Windows computer from going to sleep?

Background

You might have heard of insomnia. It's super basic Windows desktop application that prevents Windows from going to sleep while it's running. It looks like it was originally written in 2009 and last updated in 2011. (Really, there's not much to maintain.) I've probably used insomnia that entire 10 year period as a way to temporarily prevent Windows from going to sleep. It's very handy, but I've always wished I could set it to run for a limited amount of time, rather than just indefinitely.

Recently, I used the Windows Task Scheduler to launch insomnia every weekday morning at 9:30am so that I could remote desktop into my home computer as needed. When I got home at night, I closed insomnia so my computer would sleep as normal. Except, I often forgot, and my computer would run all night long. Sufficiently motivated, I created NoDoz as a 'new & improved' version of insomnia.

NoDoz

For anyone wondering, the name is based on a caffeine pill that's sold in the United States.

Usage

NOTE: NoDoz is intended to be run from the command line. However, you can also run the exe directly. If you installed using scoop, It can be found in [user]\scoop\apps\NoDoz[version]\NoDoz.exe. If you downloaded the zip, it's wherever you put it.

  • NoDoz: Starts NoDoz and runs indefinitely.
  • NoDoz -m: Starts NoDoz minimized to the system tray and runs indefinitely.
  • NoDoz -m -t 6h45m: Starts NoDoz minimized to the system tray and runs for 6 hours and 45 minutes.

Refer to the wiki for additional documentation.

System Requirements

None! As of version 2.0.0, NoDoz is a self-contained .NET 5 application that consists of a single executable file.

Installation & Updates

Option 1: Scoop (Recommended)

If you've never used scoop, I highly recommend checking it out. It's like Chocolatey, but so much simpler!

  1. Install Scoop.
  2. Run scoop checkup and install any dependencies it tells you about. (I found the documentation on this point less than clear.)
  3. Run scoop install https://raw.githubusercontent.com/refactorsaurusrex/NoDoz/master/NoDoz.json
  4. Run NoDoz with desired parameters.
  5. To update, run scoop update NoDoz. If a new version is available, it will be automatically downloaded and installed.

Option 2: Download The Zip

If you choose the zip method, keep in mind that NoDoz.exe will not be automatically put on your path.

  1. Head over to the releases page.
  2. Download the zip for the latest version.
  3. Extract to a location of your choosing.
  4. Run NoDoz.exe directly.
  5. To update, repeat starting at step 1. :p

nodoz's People

Contributors

refactorsaurusrex avatar

Watchers

 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.