All Projects → TravisL12 → apod_chrome_extension

TravisL12 / apod_chrome_extension

Licence: MIT license
Astronomy Picture of the Day (APOD) Chrome Extension for the new tab screen

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language
CSS
56736 projects
HTML
75241 projects

Projects that are alternatives of or similar to apod chrome extension

Termtrack
Track satellites in your terminal
Stars: ✭ 375 (+2243.75%)
Mutual labels:  astronomy, space
Nasa-And-Spacex-Cooperation
Theme Outer Space
Stars: ✭ 41 (+156.25%)
Mutual labels:  astronomy, space
Space Reads
A big list of space book and whitepaper recommendations.
Stars: ✭ 96 (+500%)
Mutual labels:  astronomy, space
Apod Api
Astronomy Picture of the Day API service
Stars: ✭ 290 (+1712.5%)
Mutual labels:  astronomy, space
Cosmonium
3D astronomy and space exploration program.
Stars: ✭ 153 (+856.25%)
Mutual labels:  astronomy, space
Messier87
A realtime raytracing blackhole renderer
Stars: ✭ 53 (+231.25%)
Mutual labels:  astronomy
view-background-image
Chrome extension that adds "View background image" to the context menu
Stars: ✭ 35 (+118.75%)
Mutual labels:  firefox-addon
yt astro analysis
yt astrophysical analysis modules
Stars: ✭ 18 (+12.5%)
Mutual labels:  astronomy
nextdriver
An Arduino-based controller for Celestron CG5-series equatorial mounts
Stars: ✭ 21 (+31.25%)
Mutual labels:  astronomy
rust-spice
WOW! The complete NASA/NAIF Spice toolkit is actually usable on Rust
Stars: ✭ 31 (+93.75%)
Mutual labels:  space
SevenTV
A Web Extension implementing 7TV emotes and other features for integration in Twitch and YouTube chat. ⚠️ A full rewrite is in progress, avoid further contributions to this repo. See https://github.com/seventv/extensionv3
Stars: ✭ 205 (+1181.25%)
Mutual labels:  firefox-addon
astrobook
The Astrobook source files
Stars: ✭ 32 (+100%)
Mutual labels:  astronomy
Gotanda
Gotanda is browser Web Extension for OSINT.
Stars: ✭ 149 (+831.25%)
Mutual labels:  firefox-addon
A-Track
A-Track: Detecting Moving Objects in FITS images.
Stars: ✭ 18 (+12.5%)
Mutual labels:  astronomy
sbpy
A Python package for small bodies research
Stars: ✭ 60 (+275%)
Mutual labels:  astronomy
SimpleKeplerOrbits
Unity3d static 2-body orbits simulation
Stars: ✭ 76 (+375%)
Mutual labels:  space
heyoka.py
Python library for ODE integration via Taylor's method and LLVM
Stars: ✭ 45 (+181.25%)
Mutual labels:  astronomy
AstroTime.jl
Astronomical time keeping in Julia
Stars: ✭ 32 (+100%)
Mutual labels:  astronomy
copy-selected-tabs-to-clipboard
Provides ability to copy title and URL of selected tabs to the clipboard for Firefox 63 and later.
Stars: ✭ 46 (+187.5%)
Mutual labels:  firefox-addon
omnibang
Browser extension for searching many sites directly from address bar using bangs provided by DuckDuckGo.
Stars: ✭ 31 (+93.75%)
Mutual labels:  firefox-addon

Astronomy Picture of the Day (APOD) Extension by Travis Lawrence!

Sun image:

I really love space and astronomy pictures and for about 10 or 15 years I've had APOD as my home page! But I don't specifically see my homepage that much anymore and I've been missing out on my APOD fix.

So what did I do??? I built an extension to show me an APOD on every new tab I open!

Get the plug-in for Chrome!

Get the plug-in for Firefox!

This extension might seem like a lot of work for such a simple purpose. This is not by accident, I set out to build the best APOD viewing extension that I could think of and if you think there's something that could be added to make this better I can't wait to hear from you!

APOD By The Trav Features

Your New Tab page will now be the Astronomy Picture of the Day (APOD)! Your top sites are shown in the top left of the page to maintain some usefulness from the default new tab screen.

  • Save your favorite APOD's for viewing again with the "Save Favorites" button at the bottom right.
  • Click the date in the title bar to display a date selector.
APOD Options
  • Use the options in the Chrome menu bar to set Today or a Random APOD on new tab.
  • High definition photos only. Each APOD has a standard-res and hi-res image, initially the hi-res image is attempted to be shown but if the file size is too large (takes too long to download) it'll default to the standard resolution image. This setting will force high resolution photos only.
  • Toggle showing your Top sites, or hide them to focus on the space pics.
  • Toggle showing your viewing history bar which is shown at the bottom of the page.
  • Enable the ability to see Todays APOD a certain number of times before a random photo is selected. This allows you to see the most recent APOD a few times and then move onto some new pictures (thanks Hambly!).
Navigation shortcuts:
  • Random APOD - r
  • Today's APOD - t
  • Previous Day APOD - j
  • Next Day APOD - k
Tab Shortcuts:
  • Toggle Explanation - e
  • Toggle Favorites - f
  • Toggle Search - s
History Navigation (previously viewed APOD's):
  • Previous History - left-arrow
  • Next History - right-arrow

Development

If you want to fork, develop and build this extension locally then follow these steps:

  • Fork/Download the repository and using the terminal navigate to the directory.

  • Build the dependencies by running yarn or npm install (Yarn is recommended).

  • For active development you must re-build the extension after changes are made using yarn build.

  • Add the unpacked extension in Chrome (after running yarn watch or yarn build). Do this by opening up the Chrome preferences:

    • On the left sidebar click extensions (or just navigate directly to chrome://extensions/).
    • Make sure Developer mode is activated in the top right of the page.
    • Select Load Unpacked at the top left of the page, navigate to the build folder inside the project directory. Go open a new tab in Chrome and you'll now be running the development version.
  • Again, you must re-run yarn build after every save of the files for them to show up.

Reviewer notes

Firefox validation warnings

  • Firefox has issued a warning for the use of innerHTML which is performed one time to avoid more widespread use. This single use is done inside a wrapper element and has been reviewed to avoid becoming an injection vector.

Dependencies

  • axios - This is strictly used for ajax calls to the NASA API.

  • Additional dependencies are considered well known sources as they all pertain to the use of webpack (i.e. babel, uglifyJS, path, etc.)

Service Worker tips

How I got service workers working

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].