-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit f911134
Showing
38 changed files
with
9,426 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
WXT_DONATION_URL=your_donation_url_here# Empty string if you don't want to show this link | ||
WXT_REPOSITORY_URL=your_repository_url_here# Empty string if you don't want to show this link |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
name: Release | ||
|
||
on: | ||
push: | ||
branches: ["master"] | ||
pull_request: | ||
branches: ["master"] | ||
|
||
env: | ||
DIRECTORY: .output | ||
|
||
jobs: | ||
Version: | ||
runs-on: ubuntu-latest | ||
outputs: | ||
version: ${{ steps.get_version.outputs.version }} | ||
version_changed: ${{ steps.check_version.outputs.version_changed }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- name: Check for version change | ||
id: check_version | ||
run: | | ||
if git rev-parse HEAD~1 >/dev/null 2>&1; then | ||
if git diff --name-only HEAD~1..HEAD | grep -q '^package\.json$'; then | ||
VERSION_CHANGED=1 | ||
else | ||
VERSION_CHANGED=0 | ||
fi | ||
else | ||
VERSION_CHANGED=1 | ||
fi | ||
echo "version_changed=$VERSION_CHANGED" >> "$GITHUB_OUTPUT" | ||
- name: Get version | ||
if: ${{ steps.check_version.outputs.version_changed == '1' }} | ||
id: get_version | ||
run: | | ||
VERSION=$(jq -r .version package.json) | ||
echo "version=$VERSION" >> "$GITHUB_OUTPUT" | ||
Release: | ||
needs: Version | ||
if: ${{ needs.Version.outputs.version_changed == '1' }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: pnpm/action-setup@v4 | ||
with: | ||
version: "latest" | ||
- name: Use Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 22 | ||
cache: "pnpm" | ||
- name: Install dependencies | ||
run: pnpm install | ||
|
||
- name: Run lint | ||
run: pnpm run lint | ||
|
||
- name: Create env file | ||
run: | | ||
echo "WXT_DONATION_URL=${{ vars.WXT_DONATION_URL || '' }}" >> .env | ||
echo "WXT_REPOSITORY_URL=${{ github.server_url }}/${{ github.repository }}" >> .env | ||
- name: Zip extensions | ||
run: | | ||
pnpm run zip && | ||
pnpm run zip:firefox && | ||
pnpm run zip:edge && | ||
pnpm run zip:opera | ||
- name: Create Release | ||
uses: softprops/action-gh-release@v2 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }} | ||
with: | ||
tag_name: "v${{ needs.Version.outputs.version }}" | ||
name: "v${{ needs.Version.outputs.version }}" | ||
draft: true | ||
prerelease: false | ||
generate_release_notes: true | ||
files: | | ||
${{ env.DIRECTORY }}/*.zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
pnpm-debug.log* | ||
lerna-debug.log* | ||
|
||
node_modules | ||
.output | ||
stats.html | ||
stats-*.json | ||
.wxt | ||
web-ext.config.ts | ||
|
||
# Editor directories and files | ||
.vscode/* | ||
!.vscode/extensions.json | ||
.idea | ||
.DS_Store | ||
*.suo | ||
*.ntvs* | ||
*.njsproj | ||
*.sln | ||
*.sw? | ||
.env | ||
.env.local | ||
.env.*.local |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"semi": true, | ||
"tabWidth": 2, | ||
"printWidth": 80, | ||
"trailingComma": "all", | ||
"singleQuote": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2025 vqhdev | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,110 @@ | ||
<p align="center"> | ||
<a href="https://chromewebstore.google.com/detail/kcbnbgphgokhjkfojaieliahbnbiijma"><img alt="Chrome Web Store Users" src="https://img.shields.io/chrome-web-store/users/kcbnbgphgokhjkfojaieliahbnbiijma?label=Chrome%20Web%20Store%20Users"></a> | ||
<span> </span> | ||
<a href="https://addons.mozilla.org/firefox/addon/time-wise/"><img alt="Mozilla Add-on Users" src="https://img.shields.io/amo/users/time-wise?label=Mozilla%20Add-on%20Users"></a> | ||
<span> </span> | ||
<a href="https://addons.mozilla.org/firefox/addon/time-wise/"><img alt="Mozilla Add-on Downloads" src="https://img.shields.io/amo/dw/time-wise?label=Mozilla%20Add-on%20Downloads"></a> | ||
<span> </span> | ||
<a href="https://github.com/vqhdev/time-wise/blob/master/LICENSE"><img alt="License" src="https://img.shields.io/badge/License-MIT-green.svg"></a> | ||
</p> | ||
|
||
# ⏰ Time Wise - Your Smart Time Companion | ||
|
||
Time Wise is an intuitive browser extension designed to enhance your time management experience. Starting with essential time zone features, we're building a comprehensive suite of tools to help you make the most of your time. | ||
|
||
## 📥 Install Time Wise | ||
|
||
<div align="center"> | ||
|
||
[![Chrome Web Store](https://img.shields.io/chrome-web-store/v/kcbnbgphgokhjkfojaieliahbnbiijma?label=Chrome&style=for-the-badge&logo=google-chrome&logoColor=white)](https://chrome.google.com/webstore/detail/kcbnbgphgokhjkfojaieliahbnbiijma) | ||
[![Firefox Add-ons](https://img.shields.io/amo/v/time-wise?label=Firefox&style=for-the-badge&logo=firefox&logoColor=white)](https://addons.mozilla.org/firefox/addon/time-wise/) | ||
[![Edge Add-ons](https://img.shields.io/badge/Edge-Download-0078D7?style=for-the-badge&logo=microsoft-edge&logoColor=white)](https://microsoftedge.microsoft.com/addons/detail/joioeppjcldgfmaicfmfnhmapmjknadm) | ||
|
||
</div> | ||
|
||
## 🎯 Vision | ||
|
||
Our goal is to create a seamless, all-in-one time management solution that helps you: | ||
- Stay synchronized across global time zones | ||
- Manage your time more effectively | ||
- Boost productivity with smart time tools | ||
- Make informed decisions about your time usage | ||
|
||
## ✨ Features | ||
|
||
### Current | ||
- **Time Zone Management** | ||
- View multiple time zones simultaneously | ||
- Quick and easy time comparison | ||
- Clean, intuitive interface | ||
|
||
### Roadmap | ||
We're continuously evolving! Our development roadmap includes various time management features to support your productivity journey. | ||
|
||
## 💫 Why Time Wise? | ||
|
||
- **Simplicity First**: Clean, intuitive interface that doesn't get in your way | ||
- **Growth Minded**: Regular updates and new features | ||
- **Performance Focused**: Light on system resources | ||
- **Privacy Respected**: Your data stays with you | ||
|
||
## 🛠️ Technical Details | ||
|
||
- Modern web technologies | ||
- Open-source development | ||
- Cross-browser support | ||
- Regular maintenance and updates | ||
- | ||
## 🌐 Browser Support | ||
|
||
| Browser | Support | | ||
|---------|---------| | ||
| Google Chrome | ✅ | | ||
| Mozilla Firefox | ✅ | | ||
| Microsoft Edge | ✅ | | ||
| Opera | 🔄 Coming Soon | | ||
| Safari | 🔄 Coming Soon | | ||
|
||
## Run Locally | ||
|
||
Clone the project | ||
|
||
```bash | ||
git clone https://github.com/vqhdev/time-wise.git | ||
``` | ||
|
||
Go to the project directory | ||
|
||
```bash | ||
cd my-project | ||
``` | ||
|
||
Install dependencies | ||
|
||
```bash | ||
pnpm install | ||
``` | ||
|
||
Start the extension | ||
|
||
```bash | ||
pnpm dev | ||
``` | ||
|
||
## Feedback | ||
|
||
If you have any feedback, please reach out to us at [email protected] | ||
|
||
## 🤝 Contributing | ||
|
||
Whether you're a developer, designer, or user with ideas, we welcome your contributions! Help us shape the future of Time Wise. | ||
|
||
## 📝 License | ||
|
||
MIT License | ||
|
||
--- | ||
|
||
⭐ If you find Time Wise helpful, please consider giving it a star! | ||
|
||
_Building the future of time management, one feature at a time._ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import globals from 'globals'; | ||
import pluginJs from '@eslint/js'; | ||
import tseslint from 'typescript-eslint'; | ||
import pluginReact from 'eslint-plugin-react'; | ||
import prettierRecommended from 'eslint-plugin-prettier/recommended'; | ||
|
||
/** @type {import('eslint').Linter.Config[]} */ | ||
export default [ | ||
{ | ||
files: ['**/*.{js,mjs,cjs,ts,jsx,tsx}'], | ||
settings: { react: { version: 'detect' } }, | ||
}, | ||
{ languageOptions: { globals: globals.browser } }, | ||
pluginJs.configs.recommended, | ||
...tseslint.configs.recommended, | ||
pluginReact.configs.flat.recommended, | ||
prettierRecommended, | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
{ | ||
"name": "time-wise", | ||
"description": "Smart time management - From global time zones to time analysis, all in one convenient tool.", | ||
"version": "2.0.0", | ||
"type": "module", | ||
"author": { | ||
"email": "[email protected]", | ||
"name": "Vương Quốc Huy" | ||
}, | ||
"homepage": "https://github.com/vqhdev/time-wise#readme", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/vqhdev/time-wise.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/vqhdev/time-wise/issues" | ||
}, | ||
"keywords": ["time", "timezones", "time wise"], | ||
"license": "MIT", | ||
"scripts": { | ||
"dev": "wxt", | ||
"dev:firefox": "wxt -b firefox", | ||
"build": "wxt build", | ||
"build:firefox": "wxt build -b firefox", | ||
"zip": "wxt zip", | ||
"zip:firefox": "wxt zip -b firefox", | ||
"zip:edge": "wxt zip -b edge", | ||
"zip:opera": "wxt zip -b opera", | ||
"compile": "tsc --noEmit", | ||
"postinstall": "wxt prepare", | ||
"lint": "eslint ./src --fix" | ||
}, | ||
"dependencies": { | ||
"@vvo/tzdb": "^6.157.0", | ||
"@wxt-dev/i18n": "^0.2.3", | ||
"antd": "^5.22.7", | ||
"lodash": "^4.17.21", | ||
"luxon": "^3.5.0", | ||
"react": "^19.0.0", | ||
"react-dom": "^19.0.0", | ||
"react-icons": "^5.4.0", | ||
"react-router": "^7.1.1", | ||
"zustand": "^5.0.2" | ||
}, | ||
"devDependencies": { | ||
"@ant-design/v5-patch-for-react-19": "^1.0.3", | ||
"@eslint/js": "^9.17.0", | ||
"@types/chrome": "^0.0.289", | ||
"@types/lodash": "^4.17.14", | ||
"@types/luxon": "^3.4.2", | ||
"@types/react": "^19.0.2", | ||
"@types/react-dom": "^19.0.2", | ||
"@wxt-dev/auto-icons": "^1.0.2", | ||
"@wxt-dev/module-react": "^1.1.3", | ||
"eslint": "^9.17.0", | ||
"eslint-config-prettier": "^9.1.0", | ||
"eslint-plugin-prettier": "^5.2.1", | ||
"eslint-plugin-react": "^7.37.3", | ||
"globals": "^15.14.0", | ||
"typescript": "^5.7.2", | ||
"typescript-eslint": "^8.19.0", | ||
"wxt": "^0.19.23" | ||
} | ||
} |
Oops, something went wrong.