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: 4 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 (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2025-05-27T04:40:33.000Z (4 months ago)
- Last Synced: 2025-05-27T05:29:43.181Z (4 months ago)
- Topics: firefox-extension, firefox-webextension, typescript, weather
- Language: TypeScript
- Size: 2.59 MB
- Stars: 10
- Watchers: 2
- Forks: 5
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# New tab Moment
[](https://snyk.io/test/github/laedit/new-tab-moment)
[](https://github.com/laedit/new-tab-moment/releases/latest)
[](https://addons.mozilla.org/en-US/firefox/addon/new-tab-moment/)
[](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 with icon

### Dark theme

### Dark theme with icon

### Custom CSS

### Options page

### Weather info

### Additional clocks

## 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)