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.
- Host: GitHub
- URL: https://github.com/bjornmelin/aws-next-edge-bedrock-repl
- Owner: BjornMelin
- Created: 2024-11-13T06:58:07.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-11-13T17:40:46.000Z (11 months ago)
- Last Synced: 2024-12-06T00:08:10.642Z (10 months ago)
- Size: 38.1 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# aws-next-edge-bedrock-repl



🚀 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/)