A collection of personal HTML widgets built with Svelte and compiled to static HTML for embedding across note-taking applications. Each widget is accessible via its own URL route and hosted on GitHub Pages.
Displays the relative time between a specified time and the current time (e.g., "2 hours ago", "in 3 days").
Live Demo: https://gunt3001.github.io/widgets/relative-time
Shows the week number of the current season of the year (Winter, Spring, Summer, Fall).
Live Demo: https://gunt3001.github.io/widgets/seasons
Install dependencies:
pnpm installStart the development server:
pnpm devTo create a production build:
pnpm buildThe static files will be generated in the build directory.
Preview the production build:
pnpm previewThis project is configured for static site generation and is deployed to GitHub Pages. The built files are served from the build directory.
To deploy:
- Build the project:
pnpm build - Push changes to the repository
- GitHub Actions will automatically deploy to GitHub Pages
- Svelte: Component framework
- SvelteKit: Build tool with static adapter
- TypeScript: Type safety
- Tailwind CSS: Styling
- GitHub Pages: Hosting
Personal project - all rights reserved.