Scripts and URLs

Дата публикации:

celestia.mobi frontends have the same support for scripts and URLs as desktop Celestia.

Scripts

Favorites → Scripts on mobile and File → Scripts menu on desktop lists all the Celestia's built in scripts and scripts in the public folder like the script add-ons you download from celestia.mobi. You can also add scripts to the public folder manually. To learn how to put scripts in the public folder, go to Use Add-ons and Scripts.

Celestia can also open scripts directly, open your file browser and find a .cel/.celx file, you should be able to choose to open it in Celestia.

URLs

cel:// URLs (Bookmarks)

cel:// URLs (Bookmarks) capture the state of Celestia so that you can return to it later. Celestia has a built-in bookmarks manager, you can access bookmarks from Bookmarks menu on desktop and from Favorites on mobile. You can also type an cel:// URL in the address bar in the web browser, and the system should prompt you to open the URL in Celestia.

celaddon:// and celguide:// URLs

celaddon:// and celguide:// are URL schemes in celestia.mobi frontends to open add-ons or articles. Typically add-ons have this URL celaddon://item?item=ADDON_ID, articles have this URL celguide://guide?guide=ARTICLE_ID.

celestia:// URLs

celestia:// is a new URL scheme in celestia.mobi frontends to accomplish various tasks.

celestia://addon/ADDON_ID

Opens an add-on with the given ADDON_ID.

celestia://article/ARTICLE_ID

Opens an article with the given ARTICLE_ID.

celestia://object/OBJECT_PATH?action=ACTION

ACTION is optional, if not specified, the URL opens the info view of the object with the given OBJECT_PATH. ACTION can be one of the following: select, go, center, follow, chase, track, syncOrbit, lock, and land.