Compare commits
7 Commits
firefox-0.
...
chrome-0.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
eb667ae805 | ||
|
|
b2133e519f | ||
|
|
4dd1cbb590 | ||
|
|
cbd52375aa | ||
|
|
4afc8bd067 | ||
|
|
fedf7d7e81 | ||
|
|
4b7b819c59 |
@@ -1 +1 @@
|
||||
# npm run lint
|
||||
npm run lint
|
||||
|
||||
32
README.md
32
README.md
@@ -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
|
||||
|
||||
---
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"version": "0.0.3",
|
||||
"custom": {
|
||||
"chrome": {
|
||||
"version": "0.0.2"
|
||||
"version": "0.0.3"
|
||||
},
|
||||
"firefox": {
|
||||
"version": "0.0.3"
|
||||
|
||||
@@ -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": [
|
||||
|
||||
32
projects/firefox/eslint.config.js
Normal file
32
projects/firefox/eslint.config.js
Normal 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: {},
|
||||
}
|
||||
);
|
||||
@@ -41,7 +41,7 @@
|
||||
],
|
||||
"browser_specific_settings": {
|
||||
"gecko": {
|
||||
"id": "firefox@getgooti.com"
|
||||
"id": "fox@getgooti.com"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user