A developer-centric resume using Astro and Tailwind CSS. It separates content (Markdown) from UI and is optimised for PDF generation.
- Data-UI Separation: Resume and cover letter content are managed via Markdown files.
- Print-Optimised (
@media print): Generates formatted, A4-sized PDFs directly from the browser without any layout breaks. - Privacy First: Sensitive personal information (like phone numbers and emails) is managed via environment variables and safely masked during public deployment.
- Cover Letter Management: Includes a public sample file for deployment fallback and a
.gitignore-protected folder to manage your actual cover letter locally without exposing it to the public repository. - Blazing Fast: Built with Astro for zero-client-side JavaScript by default.
- Astro
- Tailwind CSS
- Markdown
.
├── .github/
│ └── workflows/
│ └── deploy.yml # Automated DO deployment configuration
├── infra/
│ └── nginx.conf # Nginx configuration
├── public/
├── src/
│ ├── components/ # Shared UI components (e.g., PrintButton.astro)
│ ├── layouts/ # Global layout containing @media print rules
│ ├── data/
│ │ ├── resume.md # Core resume content
│ │ ├── cover-letter-sample.md # Public fallback sample for deployment
│ │ └── cover-letters/ # Local-only cover letters (ignored by Git)
│ └── pages/
│ ├── index.astro # Main resume page
│ └── cover.astro # Cover letter page
├── .env.example # Template for environment variables
└── .gitignore
-
Clone the repository:
git clone git@github.com:youngryou/developer-resume.git cd developer-resume -
Install dependencies:
npm install
-
Set up environment variables:
- Copy
.env.exampleto.envand fill in your actual contact details (the.envfile is excluded from Git).
- Copy
-
Start the development server:
npm run dev
-
Open your browser:
- Resume:
http://localhost:4321 - Cover Letter:
http://localhost:4321/cover
- Resume:
-
To write and print your cover letter:
- Create the directory and the target file:
mkdir -p src/data/cover-letters && touch src/data/cover-letters/current.md - Open
current.mdand add your frontmatter and letter body. - The local preview at
/coverwill automatically switch from the sample text to your customised content.
- Create the directory and the target file:
-
Click the "Save as PDF" button on the top right to test the print layout and save your application documents.
MIT License