No description https://prompts.rlew.io
  • SCSS 53.2%
  • JavaScript 35.1%
  • Nunjucks 9%
  • TypeScript 2.7%
Find a file
renovate[bot] b73b6b0aeb
chore(deps): update dependency @11ty/eleventy to ^3.1.5 (#33)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-27 07:02:26 +01:00
.app chore(deps): update dependency @11ty/eleventy to ^3.1.5 (#33) 2026-05-27 07:02:26 +01:00
.obsidian fix: update file-ignore plugin configuration structure 2025-06-29 14:37:10 +00:00
.plans Set up Eleventy-based AI prompts documentation site 2025-06-29 03:24:32 +00:00
guides feat!: archive site content and update homepage 2026-01-29 14:41:41 +00:00
public Add favicon from rlew.io 2025-06-29 13:40:13 +00:00
.editorconfig Add cross-platform line ending configuration 2025-06-29 12:08:34 +00:00
.gitattributes fix: enforce LF line endings across all text files 2025-06-29 15:30:30 +01:00
.gitignore Remove server.log and add log files to gitignore 2025-06-29 03:35:34 +00:00
.node-version chore(deps): update node.js to v20.20.2 (#31) 2026-04-23 00:02:51 +01:00
app.mjs feat!: archive site content and update homepage 2026-01-29 14:41:41 +00:00
app.styles.scss Set up Eleventy-based AI prompts documentation site 2025-06-29 03:24:32 +00:00
CHANGELOG.md fix: correct Claude plugins URL to official GitHub repo 2026-01-29 14:45:18 +00:00
CLAUDE.md fix(docs): prevent CLAUDE.md wikilink creation in content 2025-07-02 14:44:40 +01:00
index.md fix: improve official plugins section wording 2026-01-29 14:48:47 +00:00
LICENSE Set up Eleventy-based AI prompts documentation site 2025-06-29 03:24:32 +00:00
n.njk Set up Eleventy-based AI prompts documentation site 2025-06-29 03:24:32 +00:00
package-lock.json fix(deploy): configure cloudflare pages build settings (#19) 2025-12-12 12:38:24 +00:00
package.json chore: add npm start convenience script for development 2025-08-13 21:28:35 +01:00
README.md docs: add official Claude Code documentation and improve troubleshooting 2025-06-29 16:30:25 +00:00
renovate.json fix: group all parcel packages in renovate config 2026-02-17 21:40:05 +00:00
TODO.md Mark all TODO items as completed 2025-06-29 11:46:22 +00:00
wrangler.toml fix(deploy): configure cloudflare pages build settings (#19) 2025-12-12 12:38:24 +00:00

AI Prompts

This repository contains an Obsidian notes vault with AI prompts and documentation, configured to generate a static website using Eleventy and the eleventy-notes starter template.

Overview

This project combines the power of Obsidian for note-taking with Eleventy's static site generation capabilities, providing:

  • Local Editing: Use Obsidian to edit and manage your notes locally
  • Static Site Output: Automatically generate a beautiful, searchable website from your notes
  • Wikilinks Support: Internal linking using [[Note Name]] syntax
  • Organised Content: Separate sections for different types of content (prompts, documentation, etc.)
  • Version Control: Full Git integration for tracking changes

Project Structure

/
├── .app/                    # Eleventy-notes core application files
├── .plans/                  # Planning and setup documentation
├── prompts/                 # AI prompt collection
├── public/                  # Static assets (images, etc.)
├── _site/                   # Generated static site (git-ignored)
├── README.md               # This file (also serves as the site landing page)
└── [other notes].md        # Additional documentation and notes

Quick Start

Prerequisites

  • Node.js 16+ and npm
  • Git
  • Obsidian (optional, for enhanced editing experience)

Setup

  1. Clone the repository

    git clone https://github.com/ryanlewis/ai-prompts.git
    cd ai-prompts
    
  2. Install dependencies

    cd .app
    npm install
    cd ..
    
  3. Start the development server

    npm start
    
  4. View your site Open http://localhost:8080 in your browser

Building for Production

npm run build

The static site will be generated in the _site directory.

Configuration

Site Settings

Edit app.mjs to customize:

  • Site title and description
  • Theme colors
  • Sidebar navigation
  • External links

Content Organization

  • Main Notes: Place markdown files in the root directory or organize in folders
  • Prompts: Add AI prompts to the prompts/ directory
  • Assets: Store images and other static files in public/

Features

  • Use [[Note Name]] to link between notes
  • Automatic backlinks show which notes reference the current page
  • Hierarchical sidebar navigation with collapsible sections
  • Full-text search across all notes
  • Instant results as you type
  • Works offline once the site is loaded

Themes

  • Multiple color schemes available
  • Light/dark mode support
  • Responsive design for mobile devices

Writing Notes

Markdown Support

  • Standard Markdown syntax
  • Code blocks with syntax highlighting
  • Tables, lists, and blockquotes
  • Task lists with checkboxes

Frontmatter Options

---
title: Custom Page Title
tags: [tag1, tag2]
date: 2024-01-01
---

Special Features

  • Callout blocks for important information
  • Mermaid diagram support
  • Math equations with KaTeX

Deployment

The generated site can be deployed to:

  • GitHub Pages
  • Netlify
  • Vercel
  • Cloudflare Pages
  • Any static hosting service

See .plans/00-SETUP.md for detailed deployment instructions.

Development

Available Scripts

  • npm start - Start development server with live reload
  • npm run build - Build production site
  • npm run clean - Clean build artifacts

Customization

  • Styles: Add custom CSS to public/custom.css
  • JavaScript: Add functionality in public/custom.js
  • Templates: Modify layouts in .app/_layouts/

Troubleshooting

Common Issues

  1. Build Errors: Ensure Node.js 16+ is installed
  2. Missing Notes: Check file paths and wikilink syntax
  3. Search Not Working: Only available in production build

If you encounter other issues, please create an issue on GitHub.

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Submit a pull request

License

This project uses the eleventy-notes template by Sandro Roth, which is licensed under the MIT License. Your content remains your own.

Resources