A sleek, professional and responsive open-source portfolio built with Astro with customizable features and content.
Feature | Description |
---|---|
Responsive Design 💡 | Optimized layout for various screen sizes. |
Easy Theming ⛅ | Easily switch between light and dark modes, with built-in versions of the two. |
Optimized Performance ⚙️ | Built with Astro, focusing on fast load times and minimal resource usage. |
Project Showcase 📜 | Dedicated sections for highlighting projects, complete with images, descriptions, and links. |
Skills Badges ⚒️ | Display your skills and technologies with customizable badges for quick visual reference. |
Spotify Integration 🎧 | Displays the song currently playing on Spotify, giving a personal touch to the portfolio. |
SEO Optimized 🔰 | Built with SEO best practices to improve search engine rankings Open Graph and Twitter Card integration for better social media visibility. |
Open-Source 🖥️ | Fully open-source, allowing others to fork, contribute, and personalize the portfolio. |
showcase.mp4
All commands are run from the root of the project, from a terminal:
Command | Action |
---|---|
npm install |
Installs dependencies |
npm run dev |
Starts local dev server at localhost:4321 |
npm run start |
Runs npm run dev with the --host argument |
npm run build |
Build your production site to ./dist/ |
npm run preview |
Preview your build locally, before deploying |
npm run astro ... |
Run CLI commands like astro add , astro check |
npm run astro -- --help |
Get help using the Astro CLI |
Click here to expand Spotify Setup Steps
For every step here, insert all the information to your environment variables (check here)
1 - Collect your Spotify Data
- https://developer.spotify.com/dashboard/create
- Select "Web API" and make sure the redirect URI is your site (I.E:
https://mysite.com/api/spotify
) You CAN provide a localhost and finish authentication in a development environment
- Select "Web API" and make sure the redirect URI is your site (I.E:
- Collect the Client ID & Client Secret
2 - Collect your Redis data (used for storing your access tokens along with refresh tokens)
-
- Select
cache
& the rest is up to you
- Select
3 - Authenticate your Spotify account
At this point, you need your server running, whether it is locally or in production, make sure your redirect URI is matching in both the Spotify Dashboard & your environment variables.
-
Navigate to
/api/spotify
- You will be prompted to log in to Spotify and then asked for permission to authorize the app you've created, accept.
-
Once you have been redirected back, edit your URL as follows:
- This extra step only exists to prevent unauthorized spotify linking to your portfolio
- Once you have done that, you should be ready to go.