Starmap Generator - New Update
Hey guys, what is up!
I have not been super active here lately, but when I got the email that the platform is ending soon, it reminded me that I left my last starmap update unfinished back in the summer.
So today, I finally decided to wrap it up! Implementing Google Auth, fixing random bugs, and getting everything to work smoothly was a bit of a headache, but I am glad it is finally done.
Here is a quick breakdown of what is fixed and what is new in this update:
Google Auth and Account Security
- Google sign-in now checks if the user email is verified.
- Prevents linking a Google account if it is already tied to another profile.
- Friendly error messages instead of raw Python code errors if something goes wrong or OAuth is not configured.
- Added fallback for SECRET_KEY if it is not set on local setups.
Font Handling and Poster Generation
- Added a robust fallback system: if a selected font is missing, it falls back to a system font, and finally to Pillow built-in font.
- Restricted font file access strictly to the project folder for safety.
- Poster generation will not crash anymore just because a font file is missing.
Fixed Map Coordinates
- Southern latitudes now correctly show S.
- Western longitudes now correctly show W.
Better Preview and Error Handling
- Clearer error messages for invalid inputs.
- Frontend JavaScript now accurately catches failed preview requests instead of pretending everything worked.
Upgraded Surprise Me Feature
- Added curated, readable color palettes.
- Randomizes spacing, layouts, and display options for much better dynamic designs in one click.
New Quick Buttons
- Now Button: Populates inputs with your current local date and time.
- Copy Coordinates: Quick button to copy latitude and longitude to your clipboard.
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.