marketulinek / webbinspace

What is the Webb observing right now? 🌌

Home Page:https://webbinspace.cz

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

My personal project I am developing while exploring Django and scraping in Python πŸ”­

Webb In Space

It's showing what the Webb telescope is observing right now.

Screenshot of Webb In Space App

The application is divided into three parts:

Scraping the data:

  • It scrapes this page looking for new reports and saved them into /data_source/cycle_{number}/ folder as new txt file.
  • Use command: python manage.py observation_plan_scout.

Parsing the data:

  • It searches the data_source folder looking for new files. Then parses the data in these files and saves them into the database.
  • Use command: python manage.py report_parser.

Showing the data on the web page:

  • Homepage shows what is the current target of the Webb's observation.

How to install

🐍 Python 3.9 required

  • Install the dependencies: pip install -r requirements.txt
  • Apply migrations: python manage.py migrate
  • Create your .env file:
# Example for development
DEBUG=True
DEVELOPMENT_MODE=True
ALLOWED_HOSTS=127.0.0.1,localhost
  • Run the app: python manage.py runserver

Built With

  • Django - Python web framework
  • Bootstrap - Front-end framework
  • Chart.js - JavaScript charting library
  • Mermaid - JavaScript-based diagramming and charting tool

About

What is the Webb observing right now? 🌌

https://webbinspace.cz


Languages

Language:Python 77.4%Language:HTML 15.8%Language:CSS 3.9%Language:Dockerfile 1.4%Language:JavaScript 1.3%Language:Shell 0.3%