- 🚀 Overview
- 🏁 Getting Started
- 🔑 Environment Variables
- 📦 Deployment
- 🔒 Security
- 📄 License
- 👏 Acknowledgements
A modern, high-performance website built with Astro and TailwindCSS. Features include multilingual support, dynamic blog functionality, real-time Spotify integration, and a Resend-powered contact system. The site prioritises accessibility and performance whilst maintaining a clean, responsive design.
- Node.js ≥22.0.0 or Bun ≥1.0.0
- A Resend API key for email functionality
- Git for version control
-
Clone the repository
git clone https://github.com/whallin/hallinmedia-website.git cd hallinmedia-website
-
Install dependencies (choose one)
npm install # or bun install
-
Create a
.env
file in the root directory and add the relevant variables. -
Start the development server
npm run dev # or bun run dev
The site will be available at http://localhost:4321
Required environment variables:
RESEND_API_KEY
- Your Resend API key for email forms (default:null
)
The website is primarily deployed on Cloudflare Pages, taking advantage of its CDN and development capabilities. The project includes the @astrojs/cloudflare
adapter by default.
npm run build
# or
bun run build
-
Cloudflare Pages (Recommended)
- Connect your GitHub repository to Cloudflare Pages
- Set build command:
npm run build
orbun run build
- Set build output directory:
dist
- Add your environment variables in the Cloudflare Pages dashboard
-
Other Platforms
- The site can be deployed to any static hosting platform by changing the Astro adapter in
astro.config.mjs
- Supported platforms include Vercel, Netlify, or any static file host
- Refer to Astro's deployment guides for platform-specific instructions
- The site can be deployed to any static hosting platform by changing the Astro adapter in
I, William Hallin, prioritise security. For more information, please see my Security Policy, which covers how to report vulnerabilities, the most recent security patches, best practices, and regulatory requirements.
This project is licensed under the GPL-3.0 License - please see the LICENSE file for further details.
- Astro - Web framework for building fast content sites
- TailwindCSS - Utility-first CSS framework
- MDX - Markdown and JSX integration
- Cloudflare - Hosting and deployment platform
- Resend - Email delivery service
- Prettier - Code formatting and organization
- Fontsource - Self-hosted fonts
- Iconify - Icon system