What is Gree.do?
Gree.do is a dynamic web service that provides both real-world and Star Wars-themed timestamps through a beautiful animated interface and REST API endpoints. It combines practical time-keeping with the rich lore of the Star Wars universe, offering multiple galactic time systems for developers, fans, and anyone who wants to add a touch of galactic magic to their projects.
Essential Truth
Han shot first.
This fundamental fact anchors our understanding of the galaxy and serves as the cornerstone of all temporal calculations within the Gree.do system.
SWET (Star Wars Epoch Time)
The Foundation of Galactic Time
SWET (Star Wars Epoch Time) is a custom time system designed specifically for this project, similar to Unix time but with a galactic twist. SWET counts seconds since the theatrical release of Star Wars: A New Hope.
Why May 25, 1977?
This date marks the theatrical release of Star Wars in the United States, making it the perfect anchor point for galactic time. Just as Unix time starts from January 1, 1970 (the "Unix Epoch"), SWET starts from the moment that changed science fiction forever.
CGT (Combine Galactic Time)
Combine Galactic Time is an established time system used by the Star Wars Combine community. It provides a standardized way to represent time across the galaxy.
CGT Epoch Modes:
- Current Mode: CGT(0,1,0,0,0) = 1998-12-03 07:00:00 UTC
- Legacy Mode: CGT(0,1,0,0,0) = 1998-12-03 00:00:00 UTC
Other Star Wars Time Systems
GSC
Galactic Standard Calendar
The most widely used calendar system in the Star Wars universe, providing a standardized reference for galactic events.
BBY/ABY
Before/After Battle of Yavin
Timeline system centered around the pivotal Battle of Yavin, where Luke Skywalker destroyed the first Death Star.
"The ability to destroy a planet is insignificant next to the power of the Force."
BTC/ATC
Before/After Treaty of Coruscant
Historical dating system based on the Treaty of Coruscant, marking significant political changes in the galaxy.
GrS
Great ReSynchronization
A calendar reform that standardized time-keeping across different star systems and cultures.
TYA
Tho Yor Arrival
Ancient dating system marking the arrival of the mysterious Tho Yor ships and the founding of the Je'daii Order.
Ruusan
Ruusan Reformation
Calendar system based on the Ruusan Reformation, which reorganized the Galactic Republic after the New Sith Wars.
Technical Implementation
The Gree.do system is built using modern web technologies and follows established astronomical and time-keeping principles adapted for the Star Wars universe.
Conversion Accuracy:
All time conversions are mathematically precise and follow established Star Wars lore where possible. The system handles timezone conversions automatically and supports both naive and timezone-aware datetime objects.
Using the Gree.do API
Gree.do provides two primary API endpoints for integration into your projects:
JSON API Endpoint
GET /api/v1/greedo
Returns structured JSON data perfect for web applications and API integrations.
Text/cURL Endpoint
curl http://gree.do/curl/v1/greedo
Returns human-readable plain text format ideal for command-line usage and scripts.
Credits and References
Special Thanks
- Crystal Odenkirk - Star Wars calendar conversions and timeline research
- SWCombine Community - Combine Galactic Time specifications
- George Lucas - Creating the Star Wars universe that makes this all possible
External References:
May the Force be with you, and remember: Han shot first!