Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
shanksxz committed Jun 2, 2024
1 parent 2396f15 commit 1e78e83
Show file tree
Hide file tree
Showing 15 changed files with 4,073 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
module.exports = {
root: true,
env: { browser: true, es2020: true },
extends: [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:react-hooks/recommended",
],
ignorePatterns: ["dist", ".eslintrc.cjs"],
parser: "@typescript-eslint/parser",
plugins: ["react-refresh"],
rules: {
"react-refresh/only-export-components": [
"warn",
{ allowConstantExport: true },
],
},
};
24 changes: 24 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
9 changes: 9 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"trailingComma": "es5",
"tabWidth": 4,
"semi": true,
"singleQuote": false,
"printWidth": 80,
"useTabs": false,
"endOfLine": "auto"
}
21 changes: 21 additions & 0 deletions LICENCE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2024 shanksxz

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.
42 changes: 42 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
## Anitrack
```Anitrack``` is a extension that provides a seamless way to update your anime details on AniList without having to visit the website. Whether you are watching anime on aniwatch.to or any other platform, AniTracker allows you to conveniently update your progress, scores, and status directly through the extension.

## Features

- **Progress Tracking**: Update your watching progress for the current anime episode with just a few clicks.
- **Score Rating**: Rate the anime you're watching by assigning a score from 1 to 10.
- **Status Updates**: Update the status of an anime (watching, completed, dropped, etc.).
- **Episode Progress**: Update the episode number of an anime.
- **Rewatch Tracking**: Update the rewatch number of an anime.
- **Start Date**: Update the start date of an anime.
- **Completion Date**: Update the complete date of an anime.
- **Sync with AniList**: All updates made through the extension are automatically synced with your AniList account.


## Installation

1. Download the latest build of AniTrack from the [releases](https://github.com/shanksxz/anitrack/releases) page.
2. Extract the downloaded ZIP file.
3. Open your browsser and navigate to extension page.
- ex:- for Google Chrome `chrome://extensions`
4. Enable "Developer mode" by toggling the switch in the top-right corner.
5. Click "Load unpacked" and select the extracted folder containing the extension files.
6. After installation, you will be prompted to log in to your AniList account to connect the extension.


## Contributing

If you'd like to contribute to the development of AniTrack, please follow these steps:

1. Fork the repository.
2. Create a new branch for your feature or bug fix.
3. Make your changes and commit them with descriptive commit messages.
4. Push your changes to your forked repository.
5. Submit a pull request to the main repository.


## Support

If you encounter any issues or have suggestions for improvements, please open an issue on the [GitHub repository](https://github.com/shanksxz/anitrack).

**Note**: The AniTrack extension is currently in an early stage of development, and its codebase is not yet fully fleshed out. The code will be improved and enhanced with more features and functionality in the future.
17 changes: 17 additions & 0 deletions components.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"$schema": "https://ui.shadcn.com/schema.json",
"style": "new-york",
"rsc": false,
"tsx": true,
"tailwind": {
"config": "tailwind.config.js",
"css": "src/index.css",
"baseColor": "gray",
"cssVariables": true,
"prefix": ""
},
"aliases": {
"components": "@/components",
"utils": "@/lib/utils"
}
}
22 changes: 22 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<!doctype html>
<html lang="en" class="ani">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Overpass:ital,wght@0,100..900;1,100..900&display=swap"
rel="stylesheet"
/>
<title>Anitrack</title>
</head>

<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>
11 changes: 11 additions & 0 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"name": "Anitrack",
"author": "@shanksxz",
"description": "Track your Anime/Manga progress, extension for AniList",
"version": "1.0.0.0",
"manifest_version": 3,
"action": {
"default_popup": "index.html"
}
}

70 changes: 70 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
{
"name": "anitrack",
"description": "Anitrack is an extension that helps you keep track of your favorite anime shows and movies on AniList.",
"version": "1.0.0",
"type": "module",
"author": {
"name": "Somya Bhatt",
"username" : "@shanksxz",
"email": "[email protected]",
"url": "https://github.com/shanksxz"
},
"repository": {
"type": "git",
"url": "https://github.com/shanksxz/Anitrack"
},
"license": "MIT",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview"
},
"dependencies": {
"@radix-ui/react-dialog": "^1.0.5",
"@radix-ui/react-icons": "^1.3.0",
"@radix-ui/react-label": "^2.0.2",
"@radix-ui/react-select": "^2.0.0",
"@radix-ui/react-slot": "^1.0.2",
"@radix-ui/react-toast": "^1.1.5",
"@tanstack/react-query": "^5.40.0",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.0",
"jwt-decode": "^4.0.0",
"lucide-react": "^0.322.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-hook-form": "^7.51.5",
"react-hot-toast": "^2.4.1",
"react-icons": "^5.0.1",
"react-loader-spinner": "^6.1.6",
"react-tooltip": "^5.26.0",
"styled-components": "^6.1.8",
"tailwind-merge": "^2.2.1",
"tailwindcss-animate": "^1.0.7",
"vaul": "^0.9.0",
"zod": "^3.22.4",
"zustand": "^4.5.0"
},
"devDependencies": {
"@crxjs/vite-plugin": "2.0.0-beta.23",
"@types/chrome": "^0.0.260",
"@types/node": "^20.11.7",
"@types/react": "^18.2.43",
"@types/react-dom": "^18.2.17",
"@typescript-eslint/eslint-plugin": "^6.14.0",
"@typescript-eslint/parser": "^6.14.0",
"@vitejs/plugin-react": "^4.2.1",
"autoprefixer": "^10.4.17",
"eslint": "^8.55.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.5",
"postcss": "^8.4.33",
"postcss-nesting": "^12.0.2",
"prettier": "3.2.5",
"tailwind-scrollbar": "^3.0.5",
"tailwindcss": "^3.4.1",
"typescript": "^5.2.2",
"vite": "^5.0.8"
}
}
Loading

0 comments on commit 1e78e83

Please sign in to comment.