commits
Add additional common names for moon phases including cultural names like "Wolf Moon" and "Snow Moon" to improve user experience when searching with different terminology
Add PHASE_ALIASES constant to map alternative phase names to standard ones
Implement normalizePhase method to handle phase name variations and improve error messaging
- Add new utility functions for array operations
- Implement proper class-based services with better error handling
- Add debug mode for testing message generation
- Improve scheduler with time utilities and graceful shutdown
- Refactor message generation with configurable constants
- Add type safety with new interfaces
Change code block language from 'sh' to 'ini' for better syntax highlighting of the config file example
add manual hashtag facet creation and validation to ensure proper hashtag detection
sort facets by byte offset and add debug logging for facet verification
Explain the two possible debug scenarios based on whether Bluesky credentials are provided
When DEBUG_MODE is enabled and Bluesky credentials are present, immediately post moon phase instead of entering debug loop. This allows for quicker testing of the Bluesky posting functionality without waiting for scheduled runs.
- Modify getPlayfulMoonMessage to return hashtag along with message
- Update debug output to show mock Bluesky post structure
- Implement RichText facets for hashtag support in actual posts
Add emoji and phase-specific hashtags to moon phase messages to enhance visual appeal and social media sharing. Ensure messages still fit within character limits.
- Add probabilistic conditions for message parts inclusion
- Randomize order of additional message parts
- Simplify message construction logic
Ensure proper spacing in base message and restructure month flair handling
Add British references only when month flair exists
Move moon phase message generation logic to moonPhaseMessages module
Extract constants to moonPhaseConstants module for better organization
Restructure project by moving utility functions from utils to core directory for better organization. Add new timeUtils function to calculate delay until next midnight UTC.
Add multiple message variations for each month to provide more diverse and interesting moon phase descriptions. Also maintain the existing Pride reference functionality for June.
Expand the variety of moon phase messages across all categories (general, British, and pride) to provide more diverse and engaging user experiences
Expand the variety of moon phase messages for better user engagement
Explain that debug mode logs all possible moon phase messages at once rather than cycling through them
- Add DEBUG_MODE flag to enable debug logging of moon messages
- Add dev:init and dev:start scripts to package.json
- Update README with new debug mode instructions and simplified setup
Move moon phase logic to moonPhaseService
Extract time utilities to timeUtils
Create blueskyService for posting functionality
Update README to reflect new structure
- Add axios and types for HTTP requests to fetch moon phase data
- Update tsconfig for better module interoperability
- Implement core bot functionality with moon phase fetching and posting
- Include playful message generation with lycanthropic and British themes
- Add README with setup and usage instructions
Include common directories and files that should be excluded from version control such as node_modules, build artifacts, editor files, and environment variables
Add tsconfig.json for TypeScript configuration
Include package.json with project metadata and dependencies
Add MIT license file for project licensing
- Add new utility functions for array operations
- Implement proper class-based services with better error handling
- Add debug mode for testing message generation
- Improve scheduler with time utilities and graceful shutdown
- Refactor message generation with configurable constants
- Add type safety with new interfaces
- Add axios and types for HTTP requests to fetch moon phase data
- Update tsconfig for better module interoperability
- Implement core bot functionality with moon phase fetching and posting
- Include playful message generation with lycanthropic and British themes
- Add README with setup and usage instructions