An open API service indexing awesome lists of open source software.

https://github.com/bjornmelin/aws-next-edge-bedrock-repl

Modern edge-first REPL for AWS Bedrock with Next.js 14, tRPC, and TypeScript. High-performance playground for AWS Bedrock development.
https://github.com/bjornmelin/aws-next-edge-bedrock-repl

Last synced: 6 months ago
JSON representation

Modern edge-first REPL for AWS Bedrock with Next.js 14, tRPC, and TypeScript. High-performance playground for AWS Bedrock development.

Awesome Lists containing this project

README

          

# aws-next-edge-bedrock-repl

![Next.js](https://img.shields.io/badge/Next.js%2014-black?style=for-the-badge&logo=next.js&logoColor=white)
![TypeScript](https://img.shields.io/badge/TypeScript-007ACC?style=for-the-badge&logo=typescript&logoColor=white)
![AWS](https://img.shields.io/badge/AWS-232F3E?style=for-the-badge&logo=amazon-aws&logoColor=white)
![Edge Computing](https://img.shields.io/badge/Edge%20Computing-000000?style=for-the-badge&logo=vercel&logoColor=white)

🚀 Modern edge-first REPL for AWS Bedrock, built with Next.js 14, tRPC, and TypeScript.

A high-performance, type-safe interactive playground for AWS Bedrock, featuring:
- ⚡️ Edge-first architecture with global low latency
- 💻 Real-time code execution via AWS Bedrock
- 🔒 Type-safe API layer with tRPC
- 📝 Monaco Editor with TypeScript support
- 🎨 Modern UI with Tailwind CSS and shadcn/ui
- 🔄 Real-time updates and history management
- 🛠️ Advanced model configuration and switching

## 🚀 Tech Stack

- **Framework:** Next.js 14 (App Router)
- **Language:** TypeScript
- **API Layer:** tRPC
- **Styling:** Tailwind CSS + shadcn/ui
- **Editor:** Monaco Editor
- **Cloud:** AWS Bedrock
- **Deployment:** Edge Functions
- **State Management:** TanStack Query + tRPC

## 📦 Installation

```bash
# Clone the repository
git clone https://github.com/BjornMelin/aws-next-edge-bedrock-repl.git

# Navigate to the project directory
cd aws-next-edge-bedrock-repl

# Install dependencies
npm install

# Set up environment variables
cp .env.example .env.local

# Start the development server
npm run dev
```

## 🔧 Configuration

1. Set up your AWS credentials
2. Configure environment variables in `.env.local`
3. Adjust AWS Bedrock settings as needed

## 💻 Development

```bash
# Run development server
npm run dev

# Run tests
npm run test

# Build for production
npm run build

# Start production server
npm run start
```

## 🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

## 📝 License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

## 🌟 Support

Give a ⭐️ if this project helped you!

## 📫 Contact

- GitHub: [@BjornMelin](https://github.com/BjornMelin)
- LinkedIn: [@bjorn-melin](https://www.linkedin.com/in/bjorn-melin/)