Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/laedit/new-tab-moment
New tab Moment - Firefox addon
https://github.com/laedit/new-tab-moment
firefox-extension firefox-webextension typescript weather
Last synced: 3 months ago
JSON representation
New tab Moment - Firefox addon
- Host: GitHub
- URL: https://github.com/laedit/new-tab-moment
- Owner: laedit
- License: mpl-2.0
- Created: 2017-10-28T08:30:33.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-09-12T04:39:12.000Z (5 months ago)
- Last Synced: 2024-09-12T14:13:53.330Z (5 months ago)
- Topics: firefox-extension, firefox-webextension, typescript, weather
- Language: TypeScript
- Size: 2.1 MB
- Stars: 10
- Watchers: 3
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# New tab Moment
[![Known Vulnerabilities](https://snyk.io/test/github/laedit/new-tab-moment/badge.svg)](https://snyk.io/test/github/laedit/new-tab-moment)
[![GitHub release (latest by date)](https://img.shields.io/github/v/release/laedit/new-tab-moment)](https://github.com/laedit/new-tab-moment/releases/latest)
[![Mozilla Add-on](https://img.shields.io/amo/v/[email protected])](https://addons.mozilla.org/en-US/firefox/addon/new-tab-moment/)
[![Edge Add-on](https://img.shields.io/badge/edge-add--on-blue)](https://microsoftedge.microsoft.com/addons/detail/new-tab-moment/lcacfcmcnhmjoleiabongjmbcclnogan)Minimalist clock and weather on the new tab page, based on [Moment](https://github.com/alfredxing/moment) from [Alfred Xing](https://alfredxing.com/).
## Screenshots
### Light theme
![Light theme](./images/Light-theme.png)
### Light theme with icon
![Light theme - icon](./images/Light-theme-icon.png)
### Dark theme
![Dark theme](./images/Dark-theme.png)
### Dark theme with icon
![Dark theme - icon](./images/Dark-theme-icon.png)
### Custom CSS
![Custom css](./images/Custom-css.png)
### Options page
![Options part 1](./images/Options-1.png)
![Options part 2](./images/Options-2.png)### Weather info
![Weather info](./images/Weather-data.png)
### Additional clocks
![Additional clocks](./images/Additionnal-clocks.png)
## Contribute
All contributions are welcome :)
Require `yarn`.
### Install
Clone the repo and run `yarn install`.
## Build
run `yarn build`.
## Test
run `yarn test`.
By default it's Firefox Developer Edition which is used, you can change that in the `web-ext:run` scripts in `package.json`.
If necessary you can create a free account on [OpenWeatherMap](https://openweathermap.org/) and generate two api keys: one for current weather and the second for the geocoding and add them in the `secrets.ts`.
## Deploy
Make sure that [CHANGELOG.md](./CHANGELOG.md) and the version number in the manifest are up to date.
Tag the branch with the same version.
That will create a github release and publish the addon to firefox.
The edge draft is created but [publication must be done manually](https://partner.microsoft.com/en-us/dashboard/microsoftedge/overview).## Credits
Thanks to :
- [Alfred Xing](https://alfredxing.com/) for the original [Moment addon](https://github.com/alfredxing/moment)
- [OpenWeatherMap](https://openweathermap.org/) for the weather data
- [Dennis Tiensvold](https://thenounproject.com/dtiensvold/) for the [clock icon](https://thenounproject.com/term/clock/621519) from [the Noun Project](https://thenounproject.com)
- [Erik Flowers](http://www.helloerik.com/) for the [weather icons](https://erikflowers.github.io/weather-icons/)
- [Fuse Studio](https://thenounproject.com/fusestudio/) for the [cog icon](https://thenounproject.com/icon/cog-1049477/) from [the Noun Project](https://thenounproject.com)