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.
You have access to your session data for inspection and Download
You can control the telescope the same way as in the app.
The Desktop Application is available for Windows, MAC Os and Linux
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
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.
-
Clone this repo.
-
Install libraries.
npm install
- Start server.
npm run dev
- Production ready build.
npm run buld
- Build desktop App based on your OS
In order to build the desktop app you need to install Rust
npm run tauri build
If you just want to get the site up and running on your machine, then follow these steps.
-
Download desired Release.
-
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
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.