├── .eslintignore ├── .eslintrc.js ├── .github └── workflows │ └── build.yml ├── .gitignore ├── .vscode ├── settings.json └── tasks.json ├── LICENSE ├── README.md ├── __mocks__ └── webextension-polyfill.ts ├── jest.config.js ├── package.json ├── public ├── _locales │ └── en │ │ └── messages.json ├── css │ ├── app.css │ └── fonts.css ├── fonts │ ├── roboto-v29-latin-300.woff2 │ ├── roboto-v29-latin-500.woff2 │ ├── roboto-v29-latin-700.woff2 │ └── roboto-v29-latin-regular.woff2 ├── icon.svg ├── icons │ ├── priority-1.svg │ ├── priority-2.svg │ ├── priority-3.svg │ ├── priority-4.svg │ └── priority-5.svg ├── ntfy-16.png ├── ntfy-32.png ├── ntfy-512.png ├── ntfy-64.png ├── ntfy-outline.svg ├── ntfy.svg ├── options.html └── popup.html ├── src ├── background.ts ├── components │ ├── AppBar │ │ ├── AppBar.tsx │ │ └── index.ts │ ├── ErrorBoundary │ │ ├── ErrorBoundary.tsx │ │ └── index.ts │ ├── Loader │ │ ├── Loader.tsx │ │ └── index.ts │ ├── NotificationCard │ │ ├── NotificationCard.tsx │ │ └── index.ts │ ├── PopupContent │ │ ├── PopupContent.tsx │ │ └── index.ts │ └── TopicConfig │ │ ├── TopicConfig.tsx │ │ └── index.ts ├── manifest.json ├── options.tsx ├── popup.tsx ├── types │ ├── extension.ts │ └── ntfy.ts └── utils │ ├── BadgeNumberManager.ts │ ├── BrowserNotificationManager.ts │ ├── ErrorHandler.ts │ ├── NtfyNotificationManager.ts │ ├── TopicSubscriptionManager.ts │ ├── __mocks__ │ └── BadgeNumberManager.ts │ ├── __tests__ │ ├── BadgeNumberManager.spec.ts │ └── NtfyNotificationManager.spec.ts │ ├── constants.ts │ ├── emojis │ ├── emojisMapped.ts │ └── rawEmojis.ts │ ├── messages │ ├── BackgroundMessageHandler.ts │ ├── MessageHandler.ts │ └── OptionsMessageHandler.ts │ └── theme.ts ├── test └── fixtures │ └── ntfyNotification.ts ├── tsconfig.json └── webpack ├── webpack.common.js ├── webpack.dev.js └── webpack.prod.js /.eslintignore: -------------------------------------------------------------------------------- 1 | dist 2 | -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johman10/ntfy-browser/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.github/workflows/build.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johman10/ntfy-browser/HEAD/.github/workflows/build.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johman10/ntfy-browser/HEAD/.gitignore -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johman10/ntfy-browser/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /.vscode/tasks.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johman10/ntfy-browser/HEAD/.vscode/tasks.json -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johman10/ntfy-browser/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johman10/ntfy-browser/HEAD/README.md -------------------------------------------------------------------------------- /__mocks__/webextension-polyfill.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johman10/ntfy-browser/HEAD/__mocks__/webextension-polyfill.ts -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- 1 | /* eslint-env node */ 2 | 3 | module.exports = { 4 | preset: "ts-jest", 5 | }; 6 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johman10/ntfy-browser/HEAD/package.json -------------------------------------------------------------------------------- /public/_locales/en/messages.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johman10/ntfy-browser/HEAD/public/_locales/en/messages.json -------------------------------------------------------------------------------- /public/css/app.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johman10/ntfy-browser/HEAD/public/css/app.css -------------------------------------------------------------------------------- /public/css/fonts.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johman10/ntfy-browser/HEAD/public/css/fonts.css -------------------------------------------------------------------------------- /public/fonts/roboto-v29-latin-300.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johman10/ntfy-browser/HEAD/public/fonts/roboto-v29-latin-300.woff2 -------------------------------------------------------------------------------- /public/fonts/roboto-v29-latin-500.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johman10/ntfy-browser/HEAD/public/fonts/roboto-v29-latin-500.woff2 -------------------------------------------------------------------------------- /public/fonts/roboto-v29-latin-700.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johman10/ntfy-browser/HEAD/public/fonts/roboto-v29-latin-700.woff2 -------------------------------------------------------------------------------- /public/fonts/roboto-v29-latin-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johman10/ntfy-browser/HEAD/public/fonts/roboto-v29-latin-regular.woff2 -------------------------------------------------------------------------------- /public/icon.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johman10/ntfy-browser/HEAD/public/icon.svg -------------------------------------------------------------------------------- /public/icons/priority-1.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johman10/ntfy-browser/HEAD/public/icons/priority-1.svg -------------------------------------------------------------------------------- /public/icons/priority-2.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johman10/ntfy-browser/HEAD/public/icons/priority-2.svg -------------------------------------------------------------------------------- /public/icons/priority-3.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johman10/ntfy-browser/HEAD/public/icons/priority-3.svg -------------------------------------------------------------------------------- /public/icons/priority-4.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johman10/ntfy-browser/HEAD/public/icons/priority-4.svg -------------------------------------------------------------------------------- /public/icons/priority-5.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johman10/ntfy-browser/HEAD/public/icons/priority-5.svg -------------------------------------------------------------------------------- /public/ntfy-16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johman10/ntfy-browser/HEAD/public/ntfy-16.png -------------------------------------------------------------------------------- /public/ntfy-32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johman10/ntfy-browser/HEAD/public/ntfy-32.png -------------------------------------------------------------------------------- /public/ntfy-512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johman10/ntfy-browser/HEAD/public/ntfy-512.png -------------------------------------------------------------------------------- /public/ntfy-64.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johman10/ntfy-browser/HEAD/public/ntfy-64.png -------------------------------------------------------------------------------- /public/ntfy-outline.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johman10/ntfy-browser/HEAD/public/ntfy-outline.svg -------------------------------------------------------------------------------- /public/ntfy.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johman10/ntfy-browser/HEAD/public/ntfy.svg -------------------------------------------------------------------------------- /public/options.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johman10/ntfy-browser/HEAD/public/options.html -------------------------------------------------------------------------------- /public/popup.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johman10/ntfy-browser/HEAD/public/popup.html -------------------------------------------------------------------------------- /src/background.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johman10/ntfy-browser/HEAD/src/background.ts -------------------------------------------------------------------------------- /src/components/AppBar/AppBar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johman10/ntfy-browser/HEAD/src/components/AppBar/AppBar.tsx -------------------------------------------------------------------------------- /src/components/AppBar/index.ts: -------------------------------------------------------------------------------- 1 | export { default } from "./AppBar"; 2 | -------------------------------------------------------------------------------- /src/components/ErrorBoundary/ErrorBoundary.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johman10/ntfy-browser/HEAD/src/components/ErrorBoundary/ErrorBoundary.tsx -------------------------------------------------------------------------------- /src/components/ErrorBoundary/index.ts: -------------------------------------------------------------------------------- 1 | export { default } from "./ErrorBoundary"; 2 | -------------------------------------------------------------------------------- /src/components/Loader/Loader.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johman10/ntfy-browser/HEAD/src/components/Loader/Loader.tsx -------------------------------------------------------------------------------- /src/components/Loader/index.ts: -------------------------------------------------------------------------------- 1 | export { default } from "./Loader"; 2 | -------------------------------------------------------------------------------- /src/components/NotificationCard/NotificationCard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johman10/ntfy-browser/HEAD/src/components/NotificationCard/NotificationCard.tsx -------------------------------------------------------------------------------- /src/components/NotificationCard/index.ts: -------------------------------------------------------------------------------- 1 | export { default } from "./NotificationCard"; 2 | -------------------------------------------------------------------------------- /src/components/PopupContent/PopupContent.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johman10/ntfy-browser/HEAD/src/components/PopupContent/PopupContent.tsx -------------------------------------------------------------------------------- /src/components/PopupContent/index.ts: -------------------------------------------------------------------------------- 1 | export { default } from "./PopupContent"; 2 | -------------------------------------------------------------------------------- /src/components/TopicConfig/TopicConfig.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johman10/ntfy-browser/HEAD/src/components/TopicConfig/TopicConfig.tsx -------------------------------------------------------------------------------- /src/components/TopicConfig/index.ts: -------------------------------------------------------------------------------- 1 | export { default } from "./TopicConfig"; 2 | -------------------------------------------------------------------------------- /src/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johman10/ntfy-browser/HEAD/src/manifest.json -------------------------------------------------------------------------------- /src/options.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johman10/ntfy-browser/HEAD/src/options.tsx -------------------------------------------------------------------------------- /src/popup.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johman10/ntfy-browser/HEAD/src/popup.tsx -------------------------------------------------------------------------------- /src/types/extension.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johman10/ntfy-browser/HEAD/src/types/extension.ts -------------------------------------------------------------------------------- /src/types/ntfy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johman10/ntfy-browser/HEAD/src/types/ntfy.ts -------------------------------------------------------------------------------- /src/utils/BadgeNumberManager.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johman10/ntfy-browser/HEAD/src/utils/BadgeNumberManager.ts -------------------------------------------------------------------------------- /src/utils/BrowserNotificationManager.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johman10/ntfy-browser/HEAD/src/utils/BrowserNotificationManager.ts -------------------------------------------------------------------------------- /src/utils/ErrorHandler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johman10/ntfy-browser/HEAD/src/utils/ErrorHandler.ts -------------------------------------------------------------------------------- /src/utils/NtfyNotificationManager.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johman10/ntfy-browser/HEAD/src/utils/NtfyNotificationManager.ts -------------------------------------------------------------------------------- /src/utils/TopicSubscriptionManager.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johman10/ntfy-browser/HEAD/src/utils/TopicSubscriptionManager.ts -------------------------------------------------------------------------------- /src/utils/__mocks__/BadgeNumberManager.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johman10/ntfy-browser/HEAD/src/utils/__mocks__/BadgeNumberManager.ts -------------------------------------------------------------------------------- /src/utils/__tests__/BadgeNumberManager.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johman10/ntfy-browser/HEAD/src/utils/__tests__/BadgeNumberManager.spec.ts -------------------------------------------------------------------------------- /src/utils/__tests__/NtfyNotificationManager.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johman10/ntfy-browser/HEAD/src/utils/__tests__/NtfyNotificationManager.spec.ts -------------------------------------------------------------------------------- /src/utils/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johman10/ntfy-browser/HEAD/src/utils/constants.ts -------------------------------------------------------------------------------- /src/utils/emojis/emojisMapped.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johman10/ntfy-browser/HEAD/src/utils/emojis/emojisMapped.ts -------------------------------------------------------------------------------- /src/utils/emojis/rawEmojis.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johman10/ntfy-browser/HEAD/src/utils/emojis/rawEmojis.ts -------------------------------------------------------------------------------- /src/utils/messages/BackgroundMessageHandler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johman10/ntfy-browser/HEAD/src/utils/messages/BackgroundMessageHandler.ts -------------------------------------------------------------------------------- /src/utils/messages/MessageHandler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johman10/ntfy-browser/HEAD/src/utils/messages/MessageHandler.ts -------------------------------------------------------------------------------- /src/utils/messages/OptionsMessageHandler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johman10/ntfy-browser/HEAD/src/utils/messages/OptionsMessageHandler.ts -------------------------------------------------------------------------------- /src/utils/theme.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johman10/ntfy-browser/HEAD/src/utils/theme.ts -------------------------------------------------------------------------------- /test/fixtures/ntfyNotification.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johman10/ntfy-browser/HEAD/test/fixtures/ntfyNotification.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johman10/ntfy-browser/HEAD/tsconfig.json -------------------------------------------------------------------------------- /webpack/webpack.common.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johman10/ntfy-browser/HEAD/webpack/webpack.common.js -------------------------------------------------------------------------------- /webpack/webpack.dev.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johman10/ntfy-browser/HEAD/webpack/webpack.dev.js -------------------------------------------------------------------------------- /webpack/webpack.prod.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johman10/ntfy-browser/HEAD/webpack/webpack.prod.js --------------------------------------------------------------------------------