61 Commits

Author SHA1 Message Date
Raphael S. 2630e82ecb feat(tts): enhance text-to-speech API with voice and model options
- Added support for customizable voice and model IDs in the TTS API.
- Improved alignment handling with new data structures for timestamps.
- Updated caching mechanism to include voice and model in content hash.
- Enhanced logging for better debugging and performance tracking.
2025-11-30 23:34:13 +00:00
Raphael S. 8e50ef4604 feat(tts): implement text-to-speech API for article narration
- Add a new API route for text-to-speech functionality that synthesizes speech from article content.
- Cache audio and timestamp data to improve performance and reduce redundant API calls.
- Handle errors gracefully and provide meaningful responses for missing articles or API failures.

feat(audio-reader): create audio reader component for narration playback

- Develop a client-side audio reader component that fetches narration data and synchronizes word highlighting during playback.
- Implement play/pause functionality with visual feedback for loading and error states.
- Ensure accessibility and responsiveness in the audio playback interface.

feat(rehype): add rehype plugin for word spans in markdown

- Introduce a rehype plugin that wraps words in spans for better interaction with the audio reader.
- Normalize words and manage word IDs for synchronization with audio timestamps.

style(audio-reader): enhance styles for audio reader component

- Improve the visual design of the audio reader component, including button styles and progress indicators.
- Ensure consistent spacing and alignment for a better user experience.

fix(normalize-word): refine word normalization logic

- Update the normalization function to handle various non-word characters more effectively.
2025-11-30 03:31:37 +00:00
Raphael S. b714f913be feat(authors): add new authors and update author schema
- Introduced new author data files for Anton Stallbörger, Jace Attard, Raphael Salaja, and Russell Dare.
- Updated the author schema to include additional social media fields.
- Implemented a script to generate the authors index file automatically.
- Added utility functions for handling author data, including fetching and validating author information.
- Enhanced the author display components in the header to include avatars and initials.

BREAKING CHANGE: The author schema now requires a new structure for social media links.
2025-11-30 00:02:40 +00:00
Raphael S. 9bf6db7f2e feat(article): add Article component with styles and metadata support 2025-11-28 02:33:22 +00:00
Raphael S. 702a679e25 feat(theme): implement theming support with next-themes
- Added a ThemeProvider to manage light and dark themes.
- Updated styles to support theme-based color changes.
- Introduced new CSS variables for typography and colors.
- Removed outdated markdown content and improved code block styling.
- Enhanced configuration for rehypeCodeOptions to support new themes.

BREAKING CHANGE: Theming structure has changed, requiring updates to CSS and component usage.
2025-11-27 20:42:32 +00:00
Raphael S. 1241c26510 feat(lenis): add Lenis scrolling provider component
- Introduced a new LenisProvider component to manage smooth scrolling.
- Utilizes the Lenis library with a React wrapper for better performance.
- The component updates the animation frame for smooth scrolling effects.

feat(vercel): integrate Vercel analytics and speed insights

- Added Vercel's Analytics and SpeedInsights components for performance tracking.
- These components will help in monitoring application performance and user interactions.

docs: add configuration guide for the library

- Created a new documentation file detailing how to configure the library options.
- Included example configuration and a table of available options for clarity.
2025-11-27 13:36:43 +00:00
Raphael S. b3efbe67d2 feat: remove unused SVG assets and update TypeScript configuration
- Deleted unused SVG files to clean up the project.
- Updated TypeScript configuration for improved path mappings and included new files.
- Added new source files for dynamic and server-side rendering with Fumadocs.
- Introduced markdown content files for documentation and API reference.
- Implemented new styling and theming system with CSS variables for better design consistency.

BREAKING CHANGE: The structure of the source files has changed, requiring updates to imports in other parts of the application.
2025-11-25 23:35:41 +00:00
Raphael S. be261279a2 chore: integrate ReactLenis for smooth scrolling and update dependencies 2025-10-11 22:58:14 +01:00
Raphael S. 82f9948bf2 refactor: update PostCSS configuration and improve TypeScript settings 2025-10-11 20:40:05 +01:00
Raphael S. bd758860e2 chore: upgrade to next 16
- upgraded Next.js from 15.5.4 to 16.0.0-beta.0
- updated React and ReactDOM from 19.1.0 to 19.2.0
- adjusted @types/react and @types/react-dom to specific versions
- added overrides for @types/react and @types/react-dom
2025-10-11 20:33:00 +01:00
Raphael S. 3b1a091f97 chore: initial commit 2025-10-11 20:20:19 +01:00