Asgardia sources
The source code of the calendar and of the lunar time: readable PHP without a build step or minification, no database needed.
The code was developed by: S.L. Morozov, D.R. Karataev
The cosmic calendar
The “Calendar” sheet: the calendar of the year with holidays, the date converter, cycles, the calendar by months, the year table, the time stamp, the day, the navigator and the counters of the era. Russian and English versions.
Download the source ZIPPackage contents
- astro-calendar/app/api.php
- astro-calendar/app/assets/app.css
- astro-calendar/app/assets/app.js
- astro-calendar/app/assets/fonts/Gilroy-Light.ttf
- astro-calendar/app/assets/fonts/Gilroy-Light.woff
- astro-calendar/app/assets/sheet.css
- astro-calendar/app/lib/.htaccess
- astro-calendar/app/lib/CosmicYear.php
- astro-calendar/app/lib/Epoch.php
- astro-calendar/app/lib/MorozovCalendar.php
- astro-calendar/app/lib/Sheet.php
- astro-calendar/app/lib/Stamp.php
- astro-calendar/app/lib/assets.php
- astro-calendar/app/lib/calendar_page.php
- astro-calendar/app/lib/description.php
- astro-calendar/app/lib/epochs_html.php
- astro-calendar/app/lib/holidays.php
- astro-calendar/app/lib/jsonld.php
- astro-calendar/app/lib/nav.php
- astro-calendar/app/lib/seo.php
- astro-calendar/app/lib/site.php
- astro-calendar/app/lib/strings.php
- astro-calendar/calend-en.php
- astro-calendar/calend.php
- astro-calendar/README.txt
Lunar time
The “Lunar time” page: time on the Moon in khronos, local time of the chosen zone, the counters of the era and the list of articles. Russian and English versions.
Download the source ZIPPackage contents
- astro-lunar-time/app/api.php
- astro-lunar-time/app/assets/app.css
- astro-lunar-time/app/assets/app.js
- astro-lunar-time/app/assets/fonts/Gilroy-Light.ttf
- astro-lunar-time/app/assets/fonts/Gilroy-Light.woff
- astro-lunar-time/app/lib/.htaccess
- astro-lunar-time/app/lib/Epoch.php
- astro-lunar-time/app/lib/MorozovCalendar.php
- astro-lunar-time/app/lib/Stamp.php
- astro-lunar-time/app/lib/assets.php
- astro-lunar-time/app/lib/content.php
- astro-lunar-time/app/lib/epochs_html.php
- astro-lunar-time/app/lib/jsonld.php
- astro-lunar-time/app/lib/nav.php
- astro-lunar-time/app/lib/page.php
- astro-lunar-time/app/lib/seo.php
- astro-lunar-time/app/lib/site.php
- astro-lunar-time/app/lib/strings.php
- astro-lunar-time/en.php
- astro-lunar-time/index.php
- astro-lunar-time/menu-data.php
- astro-lunar-time/README.txt
Original Asgardia pages
The calendar of Asgardia (cycle 4, years 2013–2140; Asgardian year = Gregorian year − 2016) is built with the same code as the main calendar — see the packages above. Originals:
How to install
Unpack the archive and upload the folder to a hosting (any name, any folder), then open calend.php (calendar) or index.php (lunar time) in the browser. The package does not depend on the main site. To try it on your own computer: php -S 127.0.0.1:8000 from the package folder.