Skip to content

FafaGithub77/dwarfii-stellarium-goto

 
 

Repository files navigation

Dwarfium

GitHub issues GitHub last commit GitHub downloads Alt

This website connects to the Dwarf II telescope to Stellarium via the Dwarf II API and Stellarium remote control plugin. Once Dwarf II and Stellarium are connected, you can select an object in Stellarium, and then tell Dwarf II to go to that object.

screenshot of Stellarium and app

Dwarf II Session Data

You have access to your session data for inspection and Download

screenshot of session data

Dwarf II Camera

You can control the telescope the same way as in the app.

screenshot of session data

Automated updates for Application Version

The Desktop Application is available for Windows, MAC Os and Linux

screenshot of session data

MAC OS

The Mac OS support is limited as we have no MACs available to provide dedicated support. Running this Tools as a desktop application requires signing which is currently not possible for us.

You can still use Dwarfium with the provided web package here

for Mac ARM users: if you see the issue that it can't be installed and should be moved to trash the suggested solution is:

xattr -d com.apple.quarantine /Applications/Dwarfium.app

Setup for coders

If you are interested in seeing how the code works or contributing to the project, then follow these steps.

This app is built with Next.js, Typescript, and Bootstrap css. This app uses eslint and Prettier to lint and format the code.

  1. Clone this repo.

  2. Install libraries.

npm install
  1. Start server.
npm run dev
  1. Production ready build.
npm run buld
  1. Build desktop App based on your OS

In order to build the desktop app you need to install Rust

npm run tauri build

Setup for non-coders

If you just want to get the site up and running on your machine, then follow these steps.

  1. Download desired Release.

  2. For Webbrowser version:

2.1 Unzip the file. A DwarfStellariumGoto directory will be created. The website is a static html site (html, javascript, and css), so it should work on any OS that can run a browser and a web server.

2.2. Start a server inside the DwarfStellariumGoto directory. I recommend using Python's webserver, but you can use any webserver you want.

cd DwarfStellariumGoto
python -m http.server

2.3. Visit the site in a browser. If you use the Python's server, visit localhost:8000

Details

Stellarium remote control plugin starts a webserver that allows people to access Stellarium desktop app through a web browser. When people select an object in Stellarium, they can access information about that object through http://<localhost or IP>:<port>/api/main/status.

This app connects to /api/main/status, and parses the returned data to get the object name, right acension and declination. The app then sends a goto command to the DWARF II with RA, declination, latitude, and longitude data via Dwarf II API.

The Desktop App wraps the webservice in a windowed environment. Rust is providing the webservice and serves the pages.

About

App to connect Dwarf II with Stellarium

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 49.9%
  • TypeScript 29.8%
  • Jupyter Notebook 16.1%
  • CSS 2.6%
  • Python 1.1%
  • JavaScript 0.5%