7 Commits

Author SHA1 Message Date
DEV Sam Hayes
eb667ae805 chrome-0.0.3 2025-02-12 20:14:38 +01:00
DEV Sam Hayes
b2133e519f update README.md 2025-02-10 10:29:01 +01:00
DEV Sam Hayes
4dd1cbb590 update README.md 2025-02-10 10:27:26 +01:00
DEV Sam Hayes
cbd52375aa Merge branch 'develop' 2025-02-08 00:55:17 +01:00
DEV Sam Hayes
4afc8bd067 update Firefox id 2025-02-08 00:18:20 +01:00
DEV Sam Hayes
fedf7d7e81 update README.md 2025-02-07 23:55:51 +01:00
DEV Sam Hayes
4b7b819c59 merge release changes back into develop 2025-02-07 23:16:19 +01:00
6 changed files with 61 additions and 11 deletions

View File

@@ -1 +1 @@
# npm run lint
npm run lint

View File

@@ -19,21 +19,21 @@ async window.nostr.nip04.encrypt(pubkey, plaintext): string
async window.nostr.nip04.decrypt(pubkey, ciphertext): string
```
The repository is configured to hold the extensions for Chrome and Firefox. While the Chrome extension is yet already available, the Firefox extension will follow later.
The repository is configured as monorepo to hold the extensions for Chrome and Firefox.
[Chrome Extension](https://chromewebstore.google.com/detail/cgikhnoggbhdblnckhcahgkipmiiohbk)
[Get the Firefox extension here!](https://addons.mozilla.org/en-US/firefox/addon/gooti/)
Firefox Extension (yet to come)
Chrome extension (currently reviewed by Google)
## Develop Chrome Extension
To run the Chrome extension from this code:
To build and run the Chrome extension from this code:
```
git clone https://github.com/sam-hayes-org/gooti-extension
cd gooti-extension
npm i
npm run watch:chrome
npm ci
npm run build:chrome
```
then
@@ -41,7 +41,25 @@ then
1. within Chrome go to `chrome://extensions`
2. ensure "developer mode" is enabled on the top right
3. click on "Load unpackaged"
4. select the `dist/chrome` folder of this repository
4. select the `dist/chrome` folder
## Develop Firefox Extension
To build and run the Firefox extension from this code:
```
git clone https://github.com/sam-hayes-org/gooti-extension
cd gooti-extension
npm ci
npm run build:firefox
```
then
1. within Firefox go to `about://debugging`
2. click "This Firefox" on the left
3. click on "Load Temporary Add-on..."
4. select the `dist/firefox` folder
---

View File

@@ -3,7 +3,7 @@
"version": "0.0.3",
"custom": {
"chrome": {
"version": "0.0.2"
"version": "0.0.3"
},
"firefox": {
"version": "0.0.3"

View File

@@ -2,7 +2,7 @@
"manifest_version": 3,
"name": "Gooti",
"description": "Nostr Identity Manager & Signer",
"version": "0.0.2",
"version": "0.0.3",
"homepage_url": "https://getgooti.com",
"options_page": "options.html",
"permissions": [

View File

@@ -0,0 +1,32 @@
// @ts-check
const tseslint = require("typescript-eslint");
const rootConfig = require("../../eslint.config.js");
module.exports = tseslint.config(
...rootConfig,
{
files: ["**/*.ts"],
rules: {
"@angular-eslint/directive-selector": [
"error",
{
type: "attribute",
prefix: "app",
style: "camelCase",
},
],
"@angular-eslint/component-selector": [
"error",
{
type: "element",
prefix: "app",
style: "kebab-case",
},
],
},
},
{
files: ["**/*.html"],
rules: {},
}
);

View File

@@ -41,7 +41,7 @@
],
"browser_specific_settings": {
"gecko": {
"id": "firefox@getgooti.com"
"id": "fox@getgooti.com"
}
}
}