barrenechea / barrenechea-website

Source code for barrenechea.cl, where the website's construction takes place
https://www.barrenechea.cl
3 stars 1 forks source link
astrojs i18n llm llm-inference mdx opengraph tailwindcss

Barrenechea Logo

Barrenechea Website Repository

Source code for barrenechea.cl, where the website's construction takes place.

Overview

Welcome to the official repository for the Barrenechea website. This site is crafted with modern web technologies to ensure a fast, responsive, and visually appealing experience for all visitors.

Key Features

Getting Started

To contribute to the development of the website or set up a local version, follow the steps below:

Prerequisites

Ensure you have Node.js >=20 installed on your machine.

Installation

  1. Clone the repository and navigate to its directory:

    git clone https://github.com/barrenechea/barrenechea-website.git
    cd barrenechea-website
  2. Install project dependencies:

    npm install

Development Server

To start the local development server:

npm start

Visit http://localhost:3000 in your browser to view the site.

Gitpod Development

Alternatively, launch a ready-to-code dev environment with Gitpod:

Open in Gitpod

Internationalization (i18n) Content Automation

For detecting and translating content automatically:

npm run i18n:generate

Before running the command, set the OPENAI_API_KEY environment variable with your OpenAI API key for translation services.

For custom AI API endpoints, use the OPENAI_BASE_URL environment variable. I'm currently experimenting with the llama-cpp-python server as an alternative.