All Projects → githubocto → flat-demo-NASA-photo-of-the-day

githubocto / flat-demo-NASA-photo-of-the-day

Licence: MIT license
A Flat Data GitHub Action demo repo

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to flat-demo-NASA-photo-of-the-day

Flat Remix Gnome
Flat Remix is a GNOME Shell theme inspired by material design. It is mostly flat using a colorful palette with some shadows, highlights, and gradients for some depth.
Stars: ✭ 1,291 (+8506.67%)
Mutual labels:  flat
Nova Colors
Single source of truth to consume Nova color values
Stars: ✭ 217 (+1346.67%)
Mutual labels:  flat
flat
Project flat is the Web, Windows and macOS client of Agora Flat open source classroom.
Stars: ✭ 4,251 (+28240%)
Mutual labels:  flat
Flat Remix
Flat Remix is an icon theme inspired by material design. It is mostly flat using a colorful palette with some shadows, highlights, and gradients for some depth.
Stars: ✭ 1,518 (+10020%)
Mutual labels:  flat
Redmine Theme Minimalflat2
Minimal and flat theme for Redmine.
Stars: ✭ 128 (+753.33%)
Mutual labels:  flat
flat-server
A Node.js server for the Agora Flat open source classroom.
Stars: ✭ 488 (+3153.33%)
Mutual labels:  flat
Itg flat vim
Port of the awesome Sublime Text theme itg.flat for VIM
Stars: ✭ 40 (+166.67%)
Mutual labels:  flat
equilux-theme
A Material Design-like theme for GNOME/GTK+ based desktop environments.
Stars: ✭ 328 (+2086.67%)
Mutual labels:  flat
Lit
World's smallest responsive 🔥 css framework (395 bytes)
Stars: ✭ 1,866 (+12340%)
Mutual labels:  flat
sleek button
A simple but yet customizable button.
Stars: ✭ 63 (+320%)
Mutual labels:  flat
Jekyll Theme Yat
🎨 Yet another theme for elegant writers with modern flat style and beautiful night/dark mode.
Stars: ✭ 113 (+653.33%)
Mutual labels:  flat
Installer
InnoSetup高仿有道云笔记安装程序的脚本模板,改一改背景图片就可以一键打包属于自己的美观的互联网风格的安装程序
Stars: ✭ 126 (+740%)
Mutual labels:  flat
flat-ui
No description or website provided.
Stars: ✭ 355 (+2266.67%)
Mutual labels:  flat-data
Mecha
Mecha is a free flat-file content management system that carries the concept of minimalism.
Stars: ✭ 88 (+486.67%)
Mutual labels:  flat
react-native-flat-button
Flat button component for react-native
Stars: ✭ 26 (+73.33%)
Mutual labels:  flat
Legacycss
Legacy CSS - Modern and Lightweight CSS Framework
Stars: ✭ 48 (+220%)
Mutual labels:  flat
Filebase
A Simple but Powerful Flat File Database Storage.
Stars: ✭ 235 (+1466.67%)
Mutual labels:  flat
Space-Frontier
A reimagining of the game of my childhood - Stellar Frontier
Stars: ✭ 18 (+20%)
Mutual labels:  spaceship
css-flat-loader
CSS Flat 一种CSS模块化解决方案
Stars: ✭ 16 (+6.67%)
Mutual labels:  flat
spacezsh-prompt
Spacezsh: async prompt does things in the ZSH way
Stars: ✭ 15 (+0%)
Mutual labels:  spaceship

Flat Data Demo: NASA Image of the Day

This demo is part of a larger Flat Data project created by GitHub OCTO. Read more about the project here.

What this demo does

This repository uses a Flat Data Action to fetch a JSON file with information about NASA's image of the day every day at 8 am UTC. Using a postprocessing script, Flat grabs the image URL within the JSON data and downloads the image as well.

Inside .github/workflows/flat.yaml:

- name: Fetch data
        uses: githubocto/flat@v3
        with:
          http_url: https://api.nasa.gov/planetary/apod?api_key=DEMO_KEY # The data to fetch every day
          downloaded_filename: data.json # The http_url gets saved and renamed in our repository as data.json
          postprocess: postprocess.ts # A postprocessing javascript or typescript file written in Deno

diagram

Postprocessing

Refer to the Flat postprocessing library for more helper functions and examples for writing postprocessing scripts.

License

MIT

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].