Getting Started
#1
Getting Started
Introduction to Antler - A modern flat-file content management system built with Astro, featuring both static site generation and an admin interface
Antler is a sophisticated, dual-purpose content management system that combines the power of static site generation with a comprehensive admin interface for content management.
What Makes Antler Unique
Dual Architecture
- Development Mode: Full-featured React-based admin interface at
/adminwith complete content management capabilities - Production Mode: Pure static site generation for deployment to any hosting platform
- Content-First: All content stored as Markdown files with YAML frontmatter for maximum portability
- Schema-Aware: Built-in validation and type safety with Zod schemas for all content types
Advanced Features
Content Management
- π Rich Content Editor: Advanced Markdown editor with live preview and syntax highlighting
- π¨ Schema-Aware Forms: Dynamic forms that adapt to content type schemas with real-time validation
- π File Management: Complete file upload, organization, and asset management system
- π Bulk Operations: Mass content operations for efficient management
- π Content Search: Advanced search and filtering across all content types
Theme System
- π¨ 16+ Color Themes: Professional color schemes including Blue, Purple, Green, Orange families
- π Real-time Switching: Instant theme changes without page reload
- πΎ User Preferences: Persistent theme selection with localStorage
- π― Site-wide Configuration: Set default themes and control user overrides
Resume Management
- π€ Complete Resume System: 7 specialized content collections for professional profiles
- π Personal Information: Contact details, bio, and professional summary
- πΌ Experience Management: Work history with detailed role descriptions
- π Education Tracking: Academic background and certifications
- π οΈ Skills Organization: Technical and soft skills with proficiency levels
- π Achievements: Awards, certifications, and notable accomplishments
- π Projects Portfolio: Professional and personal project showcases
Site Configuration
- βοΈ Template System: Pre-built site templates for different use cases
- π§ Configuration Management: Comprehensive site settings through admin interface
- π Analytics Integration: Built-in support for Google Analytics and other tracking
- π SEO Optimization: Meta tags, structured data, and search engine optimization
- π Multi-mode Support: Blog-only, portfolio, documentation, and hybrid modes
Quick Start
Prerequisites
- Node.js 18+ installed
- Basic knowledge of Markdown and web development
Installation
-
Clone or download the project
-
Install dependencies:
npm install -
Start development server:
npm run dev -
Access your site:
- Public Site: http://localhost:4321
- Admin Interface: http://localhost:4321/admin
First Steps
Using the Admin Interface
- Navigate to http://localhost:4321/admin
- Explore the dashboard to see your content overview
- Click on any content type (Blog, Projects, Docs) to manage content
- Use the βNewβ button to create content with guided forms
- Upload images through the File Manager
Manual Content Creation
You can also create content manually by adding Markdown files to:
src/content/blog/- Blog postssrc/content/projects/- Project showcasessrc/content/docs/- Documentationsrc/content/resume*/- Resume sections
Development vs Production
Development Mode
- Admin interface available at
/admin - Hot reloading for content changes
- File upload capabilities
- Dynamic API endpoints for content management
Production Build
- Admin interface excluded from build
- Pure static files generated
- Optimized for deployment
- No server-side dependencies
# Build for production
npm run build
# Preview production build
npm run preview
Content Collections
Antler provides comprehensive content collections for different use cases:
Core Collections
- Blog Posts: Articles with tags, featured images, publication dates, and reading time
- Projects: Portfolio items with technologies, GitHub links, live URLs, and detailed descriptions
- Documentation: Organized docs with groups, ordering, and cross-references
- Team Members: Staff profiles with roles, bio, and social links
- Products: Product showcases with pricing, features, and specifications
Resume Collections
- Personal Information: Contact details, professional summary, and bio
- Experience: Work history with detailed role descriptions and achievements
- Education: Academic background, degrees, and certifications
- Skills: Technical and soft skills with proficiency levels
- Achievements: Awards, certifications, and notable accomplishments
- Projects: Professional and personal project portfolio
- References: Professional references and testimonials
Each content collection has its own Zod schema defined in src/content/config.ts, ensuring type safety, validation, and consistent data structure across your entire site.
Next Steps
Essential Guides
- Explore the Admin Interface for comprehensive content management
- Learn about the Theme System and customization options
- Understand Resume Management for professional profiles
- Review Site Configuration for advanced settings
Advanced Features
- Check out API Reference for programmatic access
- Explore Site Templates for different use cases
- Learn about Advanced Features and customization
Development Workflow
- Content Creation: Use the admin interface for guided content creation with schema validation
- Theme Customization: Select and configure themes through the admin panel
- Site Configuration: Set up analytics, SEO, and site-wide settings
- File Management: Upload and organize assets through the file manager
- Production Build: Generate static files for deployment
Getting Help
- Admin Interface: Use the built-in help tooltips and guided forms
- Documentation: Comprehensive guides for all features and capabilities
- Example Content: Review sample content in each collection directory
- API Reference: Complete documentation for all available endpoints
- Schema Validation: Real-time feedback and error messages for content validation