Skip to content

Telescope Logging is a Django-based real-time logging system designed specifically for recording telescope observation sessions. The project integrates several critical components to facilitate accurate and comprehensive logging of observational data

Notifications You must be signed in to change notification settings

RadadiyaAditya/Telescope_Logging

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔭 Telescope Logging System

A web-based Telescope Logging System built with Django (Framework) and PostrgreSQL (Database) to facilitate astronomical observation logging. This system records essential observational data, including start and end timestamps, telescope configurations, environmental conditions, and instrumentation details.

🚀 Features

  • Log Observations with Start & End Times (UTC &LST)
  • Database Integration using PostgreSQL(Deployment) & SQLite (Profuction)
  • Django Templates for UI
  • WebSocket for Live Data Streaming
  • Real-time LST & UTC Updates

⚙️ Tech Stack

  • Backend: Django 🚀
  • Frontend: HTML, CSS, JavaScript, Django Templates
  • Database: PostgreSQL / SQLite
  • Real-time Communication: Django Channels (WebSockets)
  • Version Control: Git & GitHub

Diagram

Project Diagram

🛠️ Installation

1️. Clone the Repository

  git clone https://github.com/RadadiyaAditya/Telescope_Logging.git
  cd Telescope_Logging

2. Virtual Enviroment Setup

  python -m venv venv
  source venv/bin/activate  # On macOS/Linux
  venv\Scripts\activate # On Windows

3. Install Dependencies

  pip install -r requirements.txt

4. Start Server

  daphne -b 0.0.0.0 -p 8000 telescope_log.asgi:application

Access the Telescope Logging System at: 👉 http://127.0.0.1:8000/

🖥️ API Endpoints

Method Endpoint Description
POST /log/start Start an observation session
POST /log/end End an observation session
GET /logs Retrieve all logs
GET /log/{id} Retrieve a specific log entry

Use FastAPI Swagger UI for API testing.


🎯 Future Enhancements

  • 🔹 Authentication & User Management
  • 🔹 Data Export (CSV, JSON)

🤝 Contributing

Feel free to fork this repository and submit pull requests! Contributions are always welcome. 🚀


🛡️ License

This project is licensed under the MIT License.


📞 Contact

For any queries, reach out to:
👤 Aditya Radadiya
📧 adityaradadiya294@gmail.com
🔗 GitHub Profile


Happy Logging! 🌌

About

Telescope Logging is a Django-based real-time logging system designed specifically for recording telescope observation sessions. The project integrates several critical components to facilitate accurate and comprehensive logging of observational data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published