https://github.com/brennanbrown/berryhouse
π Berry House is an independent agency and studio based out of Calgary, Canada that builds fast, accessible JAMstack websites and thoughtful, effective writing. We help independent creators, nonβprofits, and small teams communicate clearly and own their platform.
https://github.com/brennanbrown/berryhouse
accessibility agency for-hire freelance jamstack studio
Last synced: about 1 month ago
JSON representation
π Berry House is an independent agency and studio based out of Calgary, Canada that builds fast, accessible JAMstack websites and thoughtful, effective writing. We help independent creators, nonβprofits, and small teams communicate clearly and own their platform.
- Host: GitHub
- URL: https://github.com/brennanbrown/berryhouse
- Owner: brennanbrown
- License: mit
- Created: 2025-08-29T04:56:12.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2025-09-10T05:45:45.000Z (about 2 months ago)
- Last Synced: 2025-09-10T07:35:39.998Z (about 2 months ago)
- Topics: accessibility, agency, for-hire, freelance, jamstack, studio
- Language: Nunjucks
- Homepage: https://berryhouse.ca
- Size: 15.4 MB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

# Berry House
Berry House is a small, valuesβdriven studio site and writing hub built with Eleventy and Tailwind CSS. It emphasizes accessibility, performance, and IndieWeb principlesβowning your platform and content.
This repository contains the production code for the Berry House agency website. It is not a generic theme or starter. If youβre looking for a reusable blog starter, please see the template this site is based on (created by the same author):
- 11ty Indie Web Blog Starter: https://github.com/brennanbrown/11ty-Indie-Web-Blog-Starter
- Live demo of the starter: https://indieweb-blog-starter.netlify.app/
- Live site: https://berryhouse.ca/
- Repository: https://github.com/brennanbrown/berryhouse
## Tech Stack
- Eleventy (11ty) for site generation
- Nunjucks templating
- Tailwind CSS for styling
- Clientβside search with FlexSearch
- Optional analytics (Plausible)
> New to this? Read the non-technical guide: [GUIDE.md](./GUIDE.md)
## Site Features
- **Simple setup** - Edit one config file and you're ready to publish
- **IndieWeb ready** - Microformats, webmentions, and RSS built-in
- **Modern design** - Clean, accessible, mobile-first interface
- **Privacy focused** - No tracking by default, optional ethical analytics
- **Full-featured** - Search, tags, dark mode, and more
## β‘ Quick Start
1. **Clone and install**:
```bash
git clone https://github.com/brennanbrown/berryhouse.git
cd berryhouse
npm install
```
2. **Configure the site** (most important step!):
Edit `src/_data/site.json` with your information:
```json
{
"name": "Your Blog Name",
"author": "Your Name",
"email": "your@email.com",
"url": "https://yourdomain.com",
"bio": {
"short": "Your tagline",
"long": "Your longer bio..."
},
"social": {
"github": "yourusername",
"mastodon": "@you@mastodon.social"
}
}
```
3. **Start the dev server**:
```bash
npm run dev
```
Visit `http://localhost:8080` and start creating!
4. **Build for production**:
```bash
npm run build
```
## π§βπ» Development
- Run dev server (with Tailwind watcher): `npm run dev`
- Build the site: `npm run build`
- Take portfolio screenshots (local): `npm run shots:portfolio`
- Take portfolio screenshots (live links): `npm run shots:portfolio:live`
## β
Testing
This project includes a simple build validation:
- Run tests: `npm test` or `npm run test:build`
- End-to-end accessibility checks: `npm run test:e2e`
Search index is generated at build time (`/search.json`) via a custom Eleventy collection.
## π οΈ Configuration
This project uses a single configuration file, `src/_data/site.json`, for most customization:
Quick reference (matches usage in `src/_includes/layouts/post.njk`, `src/contact.njk`, and `src/donate.njk`):
- **Newsletter** (renders on posts when enabled):
```json
{
"newsletter": {
"enabled": true,
"provider": "buttondown",
"action": "https://buttondown.email/api/emails/embed-subscribe/yourusername",
"title": "Join the Newsletter",
"description": "Get thoughtful updates delivered to your inbox."
}
}
```
Use any provider by swapping the `action` with a POST endpoint.
- **Contact form** (configure a backend):
In `src/contact.njk`, wire up Netlify Forms or a service like Formspree/Basin by adding provider attributes, e.g.:
```html
```
- **Donations/Sponsorship** (renders on `/donate/`):
```json
{
"donate": {
"enabled": true,
"kofi": "yourusername",
"buymeacoffee": "yourusername",
"github": "yourusername",
"message": "If you find value in my writing, consider supporting my work."
}
}
```
### Essential Settings
- **Site info**: Name, description, URL, author
- **Social links**: GitHub, Mastodon, Twitter (all optional)
- **Bio**: Short tagline and longer description
- **Contact**: Email and location
### Optional Features
- **Newsletter**: Buttondown, ConvertKit, or custom integration
- **Donations**: Ko-fi, Buy Me a Coffee, GitHub Sponsors
- **Analytics**: Plausible, Fathom, or Simple Analytics
- **Webmentions**: Automatic setup with webmention.io
### Quick Setup Examples
**Minimal setup** (just the essentials):
```json
{
"name": "My Blog",
"author": "Jane Doe",
"email": "jane@example.com",
"url": "https://janedoe.blog"
}
```
**Full setup** with all features:
```json
{
"name": "Jane's Digital Garden",
"author": "Jane Doe",
"email": "jane@example.com",
"url": "https://janedoe.blog",
"bio": {
"short": "Writer & digital minimalist",
"long": "I write about technology, minimalism, and intentional living."
},
"social": {
"github": "janedoe",
"mastodon": "@jane@mastodon.social"
},
"newsletter": {
"enabled": true,
"provider": "buttondown",
"action": "https://buttondown.email/api/emails/embed-subscribe/jane"
},
"analytics": {
"enabled": true,
"provider": "plausible"
}
}
```
## π Project Structure
```
src/
βββ _data/
β βββ site.json # π― Main config file (edit this!)
β βββ tagColors.json # Tag color mappings
βββ _includes/
β βββ layouts/ # Page layouts
β βββ partials/ # Reusable components
βββ assets/
β βββ css/ # Tailwind CSS
β βββ js/ # Interactive features
βββ blog/ # π Your blog posts go here
βββ about.njk # About page
βββ contact.njk # Contact page
βββ uses.njk # Tools & setup page
βββ now.njk # What you're up to now
βββ blogroll.njk # Recommended blogs
βββ archive.njk # Post archive
βββ style.njk # Living style guide
```
## πΌοΈ Configurable Placeholder Assets
This project includes a tiny build helper that fetches placeholder images so your site looks complete outβofβtheβbox without committing binaries. Files are saved to `src/assets/` and passed through to `/assets/` at build time.
What gets fetched by default:
- **profile.jpg** β used on `about` page
- **og-default.png** β fallback Open Graph image
- **retro-stars.png** β background tile used in one demo post
How to customize:
- **Drop in your own files**: place files with the same names in `src/assets/` and the fetcher will skip downloading.
- **Environment variables**: set any of these to your own URLs
- `PROFILE_IMAGE_URL`
- `OG_DEFAULT_URL`
- `RETRO_STARS_URL`
- Example: `PROFILE_IMAGE_URL=https://example.com/me.jpg npm run build`
- **site.json config**: add an optional `assets` section to `src/_data/site.json`:
```json
{
"assets": {
"profileUrl": "https://example.com/me.jpg",
"ogDefaultUrl": "https://example.com/og.png",
"retroStarsUrl": "https://example.com/retro-stars.png"
}
}
```
- **Skip entirely**: set `SKIP_FETCH_ASSETS=1` (or `true`) to bypass downloading (useful for offline/CI).
The fetcher runs as part of the build (`npm run build`), before CSS and Eleventy.
## π Deployment
### Netlify (recommended)
1. Connect the repository `brennanbrown/berryhouse` in Netlify
2. Build command: `npm run build`
3. Publish directory: `_site`
4. Set the primary domain to `berryhouse.ca`
### Other static hosts
1. Run `npm run build`
2. Upload the contents of the `_site/` directory to your host (e.g., Cloudflare Pages, GitHub Pages with a workflow, Vercel static)
## π IndieWeb Setup
This project includes IndieWeb features out of the box:
### Webmentions
1. Sign up at [webmention.io](https://webmention.io)
2. Add your domain to `site.json`:
```json
"webmentions": {
"enabled": true,
"domain": "yourdomain.com"
}
```
### Microformats
- h-card for your identity
- h-entry for blog posts
- h-feed for your blog listing
- All automatically included!
## π¨ Customization
### Colors & Styling
- Edit `tailwind.config.cjs` for theme colors
- Modify `src/assets/css/build.css` for custom styles
- Update `src/_data/tagColors.json` for tag colors
### Adding Pages
1. Create a new `.njk` file in `src/`
2. Add front matter with layout and permalink
3. Add navigation link in `src/_includes/layouts/base.njk`
### Newsletter Integration
Supports multiple providers:
- **Buttondown**: Set `newsletter.provider` to `"buttondown"`
- **ConvertKit**: Set to `"convertkit"`
- **Custom**: Use any form action URL
## πΊοΈ Roadmap
We track work for this agency site in issues/PRs. Larger feature requests and reusable improvements should be proposed in the underlying starter project when appropriate.
## π€ Contributing
Contributions are welcome. Please note this is the Berry House agency websiteβnot a generic template. Use this repo for fixes to copy, accessibility, performance, or build issues specific to berryhouse.ca.
- For site issues (typos, broken links, accessibility, performance): open an issue here.
- For reusable features or starter-specific improvements: contribute to the 11ty Indie Web Blog Starter instead: https://github.com/brennanbrown/11ty-Indie-Web-Blog-Starter
Workflow:
1. Fork the repository
2. Create a feature branch
3. Make your changes (include clear commit messages)
4. Open a PR with a concise description, screenshots if applicable, and notes on testing
## π License
MIT License β see `LICENSE`.
Note: this repository is the Berry House agency website (production code). If you need a reusable starter, use the 11ty Indie Web Blog Starter linked above.
## π Acknowledgments
Built with:
- [Eleventy](https://11ty.dev) - Static site generator
- [Tailwind CSS](https://tailwindcss.com) - Utility-first CSS
- [FlexSearch](https://github.com/nextapps-de/flexsearch) - Client-side search
- IndieWeb principles and community wisdom
---
**Ready to break free from social media?** Clone this template and start building your corner of the independent web! π±