/cstimer

Professional Speedcubing/Training Timer

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

csTimer

Professional Speedcubing/Training Timer

Versions and Update Policy

Main version: https://cstimer.net/

Latest version: https://cstimer.net/new/

Source version: https://cstimer.net/src/

Latest version and Source version will always be the same as the master branch of this project. While Main version will always be the same as released branch of this project.

New features will firstly be implemented in Latest version. After testing for several days, Main version will be updated if appropriate, depends on user feedback for the new function or update.

It is preferred to use HTTPS protocol to visit csTimer. Although HTTP is available, some functions might not work correctly, e.g. stackmatTimer, WCA login, etc.

Using as Native APP

Currently, csTimer is able to work as a native app on mobile devices owing to Progressive Web Apps. Thus, when you open csTimer by chrome or some other modern browser on mobile devices, it will ask you whether to add csTimer to home screen. Then, you can use csTimer as a native app that also works without network access.

Translation

Crowdin

If you are willing to help translating cstimer into your native language, please go to this page and select your language. If your native language is not on the list, just contact me and I'll add it.

Data Storage

Currently, all data (including settings, session data, etc) are stored in user browser's storage. More specificently, all settings are stored in localStorage, while session data (except session meta data) are stored in indexedDB or localStorage if indexedDB is not available.

Therefore, all data will be lost if you clear browser cache. For avoiding data loss, you might use the "export" function to export/import all your data to/from a file, csTimer's server or google storage.

Data Imported to csTimer's Server / Google Storage

After 8280fda, you are able to download data that is uploaded before the latest one from csTimer's Server / Google Storage, which might be useful for a mis-uploading. For Google Storage, csTimer will keep 10 latest uploaded data. For csTimer's server, 10 or more latest uploaded data will be kept. More specificently, I'll keep 10 latest uploaded data while others might be deleted due to our limited disk resource.

Third-party Deployment

Some functions of csTimer might not work properly for domains except "cstimer.net", especially online-based export/import functions due to callback address verification. If you want to make csTimer work as a part of your own website, it is recommended to use <iframe>.

csTimer module

After cb6c4266, you may use some functions of csTimer by the npm package cstimer_module, e.g. amounts of scrambles. For specific usage, please refer to npm. If you have any problems, you can directly create issues in this project.