Skip to content

yuga-hashimoto/self-evolving-website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

550 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Self-Evolving Website

License Status ko-fi

A Next.js-based website that evolves itself automatically using AI.

πŸš€ Concept

This project is an experiment in autonomous software evolution. The website is equipped with a mechanism to update its own codebase, content, and features driven by AI models (Claude, AI 2, etc.) running on a schedule.

Twice a day (at 6:00 and 18:00 JST), the system:

  1. Analyzes its own performance (via Google Analytics).
  2. Reviews the current codebase and feature set.
  3. Generates a new prompt to improve itself.
  4. Implements changes directly to the codebase.
  5. Deploys the updated version to production.

πŸ›  Tech Stack

πŸ— Architecture

The self-evolution process is handled by GitHub Actions workflows located in .github/workflows/:

  • ai-evolve-ai1-skill-cli.yml: Scheduled workflow for the generic/free tier evolution.
  • ai-evolve-ai2-skill-cli.yml: Scheduled workflow for the premium/specific model evolution.

These workflows execute scripts in scripts/ to:

  1. Fetch analytics data (fetch-analytics.js).
  2. Generate a prompt based on recent changelogs and analytics (generate-prompt.js).
  3. Execute the AI coding agent to modify the source code (ai-evolve.js).
  4. Verify the build (npm run build).
  5. Commit and push changes if the build passes.

🏁 Getting Started

Prerequisites

  • Node.js 20+
  • npm

Installation

  1. Clone the repository:

    git clone https://github.com/yuga-hashimoto/self-evolving-website.git
    cd self-evolving-website
  2. Install dependencies:

    npm install
  3. Run the development server:

    npm run dev

    Open http://localhost:3000 with your browser to see the result.

🀝 Contributing

While this website is designed to evolve via AI, human contributions are welcome! Please check CONTRIBUTING.md for details on how to propose changes manually.

πŸ“„ License

This project is licensed under the MIT License.

About

🧬 A website that evolves itself using AI. Two AI models (Mimo vs Grok) compete to improve engagement. No human coding - pure autonomous evolution.

Topics

Resources

Contributing

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

  •  

Packages

 
 
 

Contributors