mirror of https://github.com/cupcakearmy/ora.git
Compare commits
9 Commits
Author | SHA1 | Date |
---|---|---|
cupcakearmy | 63713faa85 | |
cupcakearmy | e93640b943 | |
cupcakearmy | dd255ba512 | |
cupcakearmy | 7109f5f49c | |
cupcakearmy | a68383ff1a | |
cupcakearmy | 2857b50a7b | |
cupcakearmy | 2d3bc1c742 | |
Nicco | e295d7956f | |
Nicco | ff0b7f9d9e |
|
@ -0,0 +1,29 @@
|
|||
name: Main
|
||||
|
||||
on: push
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: "16"
|
||||
- run: npm -g i pnpm
|
||||
- run: pnpm install --frozen-lockfile
|
||||
- run: pnpm run dist
|
||||
- name: Artifacts
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: Extension
|
||||
path: web-ext-artifacts/*.zip
|
||||
- name: Sign
|
||||
uses: tristan-weil/ghaction-checksum-sign-artifact@v1.0.1
|
||||
with:
|
||||
path: web-ext-artifacts/*.zip
|
||||
- name: Release
|
||||
uses: softprops/action-gh-release@v1
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
with:
|
||||
files: web-ext-artifacts/*.zip
|
14
CHANGELOG.md
14
CHANGELOG.md
|
@ -5,7 +5,19 @@ All notable changes to this project will be documented in this file.
|
|||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## [0.8] 2021-11
|
||||
## [0.8.2] 2022-04-19
|
||||
|
||||
### Fixed
|
||||
|
||||
- UI Bugs of banner
|
||||
|
||||
## [0.8.1] 2021-11-24
|
||||
|
||||
### Fixed
|
||||
|
||||
- Bug with overflowing banner.
|
||||
|
||||
## [0.8] 2021-11-23
|
||||
|
||||
### Added
|
||||
|
||||
|
|
19
README.md
19
README.md
|
@ -2,12 +2,16 @@
|
|||
<img width="70%" src="./store/written.png" alt="logo" />
|
||||
</p>
|
||||
|
||||
<br/>
|
||||
<br/>
|
||||
<br/>
|
||||
<p align="center">
|
||||
<img alt="Firefox Extension Badge" src="https://img.shields.io/amo/users/ora-tracker?label=Firefox" />
|
||||
<img alt="Chrome Extension Badge" src="https://img.shields.io/chrome-web-store/users/aghpiipfpgdiadkibmddeinngbboajbl?label=Chrome" />
|
||||
<br/>
|
||||
<a href="https://addons.mozilla.org/en-US/firefox/addon/ora-tracker/"><img src="./store/download_ff.png" /></a>
|
||||
<a href="https://chrome.google.com/webstore/detail/ora/aghpiipfpgdiadkibmddeinngbboajbl"><img src="./store/download_chrome.png" /></a>
|
||||
<a href="https://discord.gg/tNH6ZcDMee">
|
||||
<img alt="Discord" src="https://img.shields.io/discord/252403122348097536?style=for-the-badge" />
|
||||
<img alt="Version" src="https://img.shields.io/github/manifest-json/v/cupcakearmy/ora?style=for-the-badge" />
|
||||
<img alt="Firefox Extension Badge" src="https://img.shields.io/amo/users/ora-tracker?label=Firefox&style=for-the-badge" />
|
||||
<img alt="Chrome Extension Badge" src="https://img.shields.io/chrome-web-store/users/aghpiipfpgdiadkibmddeinngbboajbl?label=Chrome&style=for-the-badge" />
|
||||
</a>
|
||||
</p>
|
||||
|
||||
## 🌈 Features
|
||||
|
@ -19,6 +23,11 @@
|
|||
- 100% Open Source & Local
|
||||
- Set retention policy that deletes all logs older than a user specified number of days.
|
||||
|
||||
## 🌏 Installation
|
||||
|
||||
<a href="https://addons.mozilla.org/en-US/firefox/addon/ora-tracker/"><img src="./store/download_ff.png" /></a>
|
||||
<a href="https://chrome.google.com/webstore/detail/ora/aghpiipfpgdiadkibmddeinngbboajbl"><img src="./store/download_chrome.png" /></a>
|
||||
|
||||
## 🤔 Motivation
|
||||
|
||||
I wanted to see how much time I was spending on each website and set limits for certain ones.
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"manifest_version": 2,
|
||||
"name": "Ora",
|
||||
"version": "0.8",
|
||||
"version": "0.8.2",
|
||||
|
||||
"description": "See how much time you spend on each website and set limits",
|
||||
"icons": {
|
||||
|
|
31
package.json
31
package.json
|
@ -12,9 +12,8 @@
|
|||
"clean": "rm -rf dist .parcel-cache web-ext-artifacts ora.zip",
|
||||
"dev": "parcel watch --target dev --no-hmr ./manifest.json",
|
||||
"build": "parcel build --target prod ./manifest.json",
|
||||
"dist": "run-s clean build pack:*",
|
||||
"pack:zip": "zip -r ./ora.zip dist/prod/*",
|
||||
"pack:ff": "web-ext build -s dist/prod --overwrite-dest"
|
||||
"pack": "web-ext build -s dist/prod --overwrite-dest",
|
||||
"dist": "run-s clean build pack"
|
||||
},
|
||||
"targets": {
|
||||
"dev": {
|
||||
|
@ -26,28 +25,30 @@
|
|||
"prod": {}
|
||||
},
|
||||
"dependencies": {
|
||||
"d3": "^7",
|
||||
"dayjs": "^1.10.7",
|
||||
"dexie": "^3.2.0",
|
||||
"d3": "^7.4.4",
|
||||
"dayjs": "^1.11.1",
|
||||
"dexie": "^3.2.1",
|
||||
"dexie-export-import": "^1.0.3",
|
||||
"faker": "5.5.2",
|
||||
"file-saver": "^2.0.5",
|
||||
"joi": "^17.4.2",
|
||||
"joi": "^17.6.0",
|
||||
"lodash": "^4.17.21",
|
||||
"pretty-bytes": "^5.6.0",
|
||||
"spectre.css": "^0.5.9",
|
||||
"svelte-spa-router": "^3.2.0",
|
||||
"tailwindcss": "^2",
|
||||
"webextension-polyfill": "^0.8.0"
|
||||
"tailwindcss": "^2.2.19",
|
||||
"webextension-polyfill": "^0.9.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@parcel/config-webextension": "^2.0.1",
|
||||
"@parcel/core": "^2.0.1",
|
||||
"@types/lodash": "^4.14.177",
|
||||
"@parcel/config-webextension": "^2.4.1",
|
||||
"@parcel/core": "^2.4.1",
|
||||
"@types/lodash": "^4.14.182",
|
||||
"buffer": "^6.0.3",
|
||||
"npm-run-all": "^4.1.5",
|
||||
"parcel": "^2.0.1",
|
||||
"parcel": "^2.4.1",
|
||||
"parcel-transformer-svelte": "^1.2.3",
|
||||
"svelte": "^3.44.2",
|
||||
"web-ext": "^6.5.0"
|
||||
"process": "^0.11.10",
|
||||
"svelte": "^3.47.0",
|
||||
"web-ext": "^6.8.0"
|
||||
}
|
||||
}
|
||||
|
|
4431
pnpm-lock.yaml
4431
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
|
@ -26,11 +26,17 @@
|
|||
</div>
|
||||
|
||||
<style>
|
||||
:global(*) {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.wrapper {
|
||||
position: fixed;
|
||||
color: #000;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
top: initial;
|
||||
right: initial;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
background-color: hsla(0, 0%, 100%, 0.975);
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<small>
|
||||
Made with ❤️ by
|
||||
<a href="https://nicco.io" target="_blank" rel="noreferrer">🐘</a>
|
||||
— v0.8 —
|
||||
— v0.8.1 —
|
||||
<a href="https://github.com/cupcakearmy/ora" target="_blank" rel="noreferrer">Source Code</a>
|
||||
</small>
|
||||
</footer>
|
||||
|
|
|
@ -2,8 +2,7 @@
|
|||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<link href="../../node_modules/spectre.css/dist/spectre.min.css" rel="stylesheet" />
|
||||
<link href="../../node_modules/tailwindcss/dist/tailwind.min.css" rel="stylesheet" />
|
||||
<link href="./main.css" rel="stylesheet" />
|
||||
<style>
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans',
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
@import "../../node_modules/spectre.css/dist/spectre.css";
|
||||
@import "../../node_modules/tailwindcss/dist/utilities.css";
|
Loading…
Reference in New Issue