Coder Social home page Coder Social logo

roderickqiu / wnr Goto Github PK

View Code? Open in Web Editor NEW
902.0 16.0 58.0 12.97 MB

⏱️ Work/Rest Timer. Stricter. Prettier. More features. Win/Mac/Linux. (NEW FEATURE UPDATES PAUSED.)

Home Page: https://getwnr.com/

License: Mozilla Public License 2.0

HTML 42.95% JavaScript 48.89% CSS 8.16%
timer pomodoro electron-app floss windows macos linux time-managment pomodoro-technique productivity-timer

wnr's Introduction

wnr

A timer app with strong expansibility for computers | Website | 网站中文页面

Download (Windows & macOS): GitHub Release | Softpedia (Windows) | 百度网盘(swh3) | 蓝奏云高速下载

English README | 简体中文简介 | 正體中文簡介 | Development Guide | Contact Me


Contributing

I appreciate it if you can help contribute.

How to Build

yarn # install deps

yarn start # launch the app

yarn dir # build executable only

yarn nsis # windows nsis installer

yarn 7zip # windows 7zip protable version

yarn mac # macos

yarn linux # linux

yarn appimage # linux AppImage

For more info about development, go to DEVELOPMENT_GUIDE.

Copyright & Credit

Copyright (c) 2019-2023 Roderick Qiu and other contributors. All rights reserved.

Licensed under the MPL 2.0 License.

Packages Using

Main Program

For the full text of licenses, go and see this file, which is also included in every copy of wnr.

  • node-shi, my own project following MIT License.
  • cmd-or-ctrl, another project of mine following MIT License.
  • node-auto-launch, Teamwork, MIT License.
  • compare-version, kevva, MIT License.
  • electron-store, sindresorhus, MIT License.
  • i18n-node, mashpie, MIT License.
  • crypto-js, brix, MIT License.
  • copy-to-clipboard, sudodoki, MIT License.
  • request, request, Apache-2.0 License.
  • winreg, fresc81, BSD 2-Clause License.
  • electron, electron, MIT License.
  • electron-builder, electron-userland, MIT License.
  • jquery, jquery, MIT License.
  • bootstrap, twbs, MIT License.
  • iconfont, ALIMAMA MUX, for license go to the site.
  • dotenv, motdotla, BSD-2-Clause License.
  • electron-debug, sindresorhus, MIT License.
  • node-fetch, node-fetch, MIT License.
  • node-notifier, mikaelbr, MIT License.
  • popper.js, popperjs, MIT License.
  • schart.js, lin-xin, MIT License.
  • cross-env, kentcdodds, MIT License.

Environment Using

  • node, nodejs, License.
  • NSIS, Nullsoft, zlib/libpng License.
  • WebStorm, JetBrains, License.

wnr's People

Contributors

0xraduan avatar intzaaa avatar nkid00 avatar roderickqiu avatar scris avatar yangfong 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wnr's Issues

关于番茄时间内的音效

不知道是否有计划增加番茄钟的白噪声

  • 不知道是否有考虑对中断次数的统计

ps: 这款软件太棒了,一直用滴答清单的番茄钟,但是考虑更换清单软件,准备使用 wnr 继续番茄钟!

Option to disable "skip current timer".

I think it would be great if there was an option to disable the "skip current timer" option which we get while a timer is running. It would be helpful especially in the lock mode. In the lock mode you can't give up the schedule(you need a password to go back) but you can easily skip through all the sessions by using "skip current timer". If we have to use our laptops (can't turn on fullscreen mode while we are using it) then it is kind of like a loophole to turn off the timer.
image

Thanks!
It would be awesome if disabling "skip current timer" is made a global option and not just for lock mode (maybe separate option to turn it on/off for work time and for rest time like there is currently for pausing)

时间统计模块

希望能开发不同类型的时间统计模块,这样可以直观了解自己的学习时间和效率

计时统计问题

通过测试 计时暂停也会增加 计时统计时长 ??? 这个问题是否可以修复?

几点小建议

  1. portable版本形如虚设,解压到临时目录,关闭软件再删除。直接给zip版本就好了。
  2. 安装版本不能自己选路径
  3. 高分屏支持不好(我的是dpi:125%),菜单会模糊。
  4. electron体积太大,能支持pwa或chrome插件吗

增加时间四象限管理的建议

使用单一沉浸式的闹钟模式,把人卡的像机器人,仅适合做简单任务
可否增加时间四象限管理?
很多时候需要完成的任务并不是固定时间的,也不是单一的
需要更多的自主性和任务重要性的管理

望采纳,谢谢!

希望可以新增的功能

  1. 白色背景有点刺眼 希望可以新增一个黑色的背景 这样子写东西也更方便
  2. 希望可以增加白名单应用

功能改进建议

Mac下没法隐藏app?能否只在状态栏显示,另外可以尝试支持touchbar上显示

关于MINI模式

很喜欢这个模式,既不占用任务栏图标,又能即时看到当前周期的剩余时间。但是目前版本的wnr中,如果我已经设置为MINI模式了,经过一组“工作+休息”后,又会自动从MINI模式中退出来,需要我重新再设置MINI模式。
希望对此予以改进,使得我设置完MINI模式之后,下一组“工作+休息”开始时能默认维持在MINI模式,直到我手动退出MINI模式。

The timer pauses when screen off or sign out (Windows)

Hi , I like this app but there is a thing bothering me so much .
I went away for resting , the screen went dark , or the Windows Smart Lock detect my phone went away so he signen me out automatically . Then , after I had taken my resting and came back , sign in and found the timer still remain a lot so I have to wait it count down to zero .
That's really frustrated when using the fullscreen mode .

weird acceptable range of loop times

How to reproduce

  1. Open wnr.
  2. Set the values to loop for 1.7 times.
  3. The timing functionality still works with some weird interesting behaviors (e. g. looping count keeps increasing at every second forever and ever). Neither error nor warning was given.

In the case of looping for 0 times, wnr will never stop looping, like the infinity mode. Is it a feature?

windows10双屏幕问题

在win10下屏幕投影的复制模式下只有主屏幕会自动解除专注模式,次屏幕会保持专注模式的屏保无法自动退出。

统计事项是否能够生成时间轴?

统计事项现在太简单,只有一个时间的加总,如果能够有具体的时间轴,就可以加到手帐里面来,具体检查自己的时间安排。

正计时中消失的跳过按钮

简述

正计时功能在进入时缺少跳过按钮,只有在 MINI 模式下才能触发,后续则恢复正常,


情况说明

是这样的,我常常使用正计时,通常是这个样子:

image

某天发现 MINI 模式下有两个结束按钮,我就按下了右边的,

image

突然发现,这是进入休息时间的。

image

而在此之前,我倒是一直不知道还有这一层,因为没有跳过按钮。

image

存在显示方面的BUG

开启MINI模式,跳过工作计时,之后的计时都无法显示在桌面上,只能在托盘里

小bug

在“全屏专心休息”计时界面,正中间的小框并不是直接放大,而是先移到左上角停顿一两秒,再从左上角放大。(抱歉第一次在github上提建议,非专业相关,不知道自己描述的是否清楚)

Transparent icon in latte dock in KDE

OS: Kubuntu 21.10 x86_64
Kernel: 5.13.0-20-lowlatency
DE: Plasma 5.22.5
WM: KWin

lattedock 0.10.2
wnr 1.23.3

The icon is transparent in the latte dock, but suddenly appears when the mouse hovers over it.

Screenshot-1
Screenshot-2

This may be a issue of latte dock or Electron but I've never seen this problem when using other Electron-based apps. Other docks (task bars) shipped with KDE do not seem to have this issue.

Unreadable font color in intro

Hey there. I find it very hard to read text with such font color in your app's intro.

  • Platform: macOS Catalina 10.15.6
  • Dark theme: Turned on.

Adding the screenshot for more details.
image

size of app

My app size is about 250MB. My question is, can u make light version of the app or optimize update?
I use the app on Win10.
obraz

Request: more sound adjustment options

Can the developers please include notify sound volume adjustment options, along with the ability to mute the sounds in the next update or in other upcoming updates? The alarms are often too loud to listen to, especially while watching University lecture videos, for example.

Edit: wishing the developers all the very best for the Gaokao exam!

scriptable options (feature request)

I really enjoy the current app. These are just nice to have features. Thanks for the hard work on the app!

Execute scripts during cycle

Would be nice if there was an option to execute a script at different points in a work cycle.

I have a janky alfred set up for the following

  1. 50 minute session starts
  2. Show popup at 20 minutes reminding me to drink half of my water bottle.
  3. Show popup at 40 minute reminding me to finish the remaining half of the water bottle
  4. Open spreadsheet at 48 minute reminding me to log what I just did and plan next cycle
  5. Start break

Time Out has this sort of functionality

image

Custom Fields

Additionally it would be nice if I could set up custom fields pre/post work cycle to log my cycle. The current things I track are

Pre Cycle

  1. What am I trying to accomplish this cycle?
  2. How will I get started?
  3. Any hazards present?
  4. Energy | Low/Medium/High
  5. Morale | Low/Medium/High
  6. Start Time

Post cycle
7. Completed cycle's target?
8. Anything noteworthy?
9. Any distractions?
10. Things to improve for next cycle?
11. Did I drink 24oz of water

The questions are based on https://www.ultraworking.com/work-cycles

Bugs encountered when running on KDE (Kubuntu, GNU/Linux)

Test environment
OS: Kubuntu 21.04 x86_64
Kernel: 5.11.0-34-lowlatency
DE: Plasma 5.21.4
WM: KWin
  • Tray icon is missing.
  • Uncaught exception at start up. (Caused by the missing tray icon.)
    TypeError: Cannot read property 'setTitle' of null
      at IpcMainImpl.<anonymous> (wnr/main.js:2093:19)
      at IpcMainImpl.emit (events.js:315:20)
      at Object.<anonymous> (electron/js2c/browser_init.js:161:9692)
      at Object.emit (events.js:315:20)
      at Object.callbackTrampoline (internal/async_hooks.js:131:14)
    
  • Tray tool tip is electron, not wnr. (After the tray icon is added manually.)
  • Left clicking the tray icon only has the same effect as a right-click. (After the tray icon is added manually.)
  • Focus is given to the menu icon (at the top-left corner of the main window) after making the main window shown up by the 'Show / Hide' button from the tray menu. (After the tray icon is added manually.)
  • Virtual desktops are not blocked by full-screen focus mode.

无法build通过

TypeError: appId must be a string
at Object.init (D:\thunderdownload\wnr-master\node_modules\leancloud-storage\dist\node\init.js:94:21)
at leanCloudSolution (D:\thunderdownload\wnr-master\main.js:840:12)
at App. (D:\thunderdownload\wnr-master\main.js:548:5)
at App.emit (events.js:215:7)
Done in 74.24s.

Terminal will be reused by tasks, press any key to close it.

Task Checklist and long breaks(feature request)

I'm having a good time using the app especially the full screen mode. I would like to make a few suggestions that I think will benefit all it's users.

Task Checklist
It would be a nice feature to have a checklist in which I can write my tasks for the day and mark a task as done when it is finished. It will help me focus better if I see a checklist front of me with the timer.

Long Breaks and Special Breaks
Along with the short breaks, a feature to take a long break after 3-4 short breaks and also initiate special breaks like having food or going for a walk whenever a user wants(use limited to a numbers of time). It will help to plan all the sessions in the morning so that I know the number of sessions I'm having and also not close timer whenever I need the special breaks.

Ability to pause the timer only during breaks
Sometimes I need to discuss certain work and study related stuff with my friends during the break and a lot of times the conversation goes beyond the break time limit. A option to pause the timer during break session only would help a lot otherwise I have to cut the conversation short as the timer begins again. I only want the ability to pause the break timer during the break session only and not during the work timer session as otherwise I find myself pausing the timer in a work session often which results in loss of focus. An option to extend the break session will work just as well.

I'm enjoying using this wonderful app and I'm sure these features would make it even better for everyone. Thanks!

mini模式win10拖动按键到桌面会生成空的快捷方式

mini模式win10拖动按键到桌面会生成空的快捷方式,win10 20h2,
mini模式之后拖动暂停按键到桌面会生成stopper()的快捷方式
恢复正常窗口的按钮拖动到桌面会成成recover()的快捷方式
左按钮backer(),右按钮skipper()等等
这些快捷方式的链接都类似 javascript:stopper()

weird "all together" information when specific time intervals (<= 1 or float point) are given

How to reproduce (time interval <= 1)

  1. Open wnr.
  2. Set the values to "work for 1 minute, rest for 1 minute and loop for once".
  3. The "all together" information does not come out but the timing functionality still works fine.

How to reproduce (time interval is a float point value)

  1. Open wnr.
  2. Set the values to "work for 1.8 minute, rest for 1.1 minute and loop for once".
  3. The "all together" information shows that there are all together 2 minutes. However, the exact value of the sum is 2.9 minutes which is closer to 3 minutes.

Feature suggestion

Hello, out of everything i tried this time tracker is the closest thing to what i need, thanks!!!
But i have a couple of comments and suggestions to make it a bit more universal and useful.
In terms of comments: I'd say that having a notification sound + interface change + additional window with a message is too annoying. I think the option to just live a simple windows notification + interface change would be ideal.
With suggestions i'll add that it'll be great to have an option to see statistics to separate tasks, not only combined (i'd like to track how much i read vs how much i code vs how much i research). Another feature that would be great is ability to set arbitrary timer without any breaks (it's a personal thing, i find that i can "slip" during pomodoro breaks, but if i have a time for like 3-5 hours i'd do my own breaks but always come back to work), it doesn't change much in program but it makes it much more universal.

双屏显示器,只有一个屏幕进入专注模式

系统:win10,
wnr: 1.23.2
设备:笔记本电脑,外接一个显示器,扩展模式(即显示器的屏幕也处于使用状态,笔记本为副显示器,外接为主显示器)

wnr 界面放置在笔记本屏幕中(副显示器),到了休息时间,只有笔记本屏幕进入休息状态,外接的显示器仍然处于工作状态(即鼠标和键盘可正常使用,但每隔几秒钟,键盘会失去焦点

页面建议

开始界面,在展开下拉框时,将右侧文本全遮盖住,感觉会更好

image


另外发现,下拉框菜单有点不对劲,我对比了一下官网效果图,有差异存在,应该不是屏幕有污渍

image

image

我使用的版本是 1.23.3

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.