This project is a web-based console for interacting with the Space format, a meta-data format for LLM applications. It allows users to load and interact with different sections of a Gemini Space, such as prompts, context, and configurations.
View your app in AI Studio: https://ai.studio/apps/drive/1_Xk4-a1GvpKQdMKbdxqqHNIXuOCtPjBf
- Load from local files: Users can load
⫻sections from their local file system. - Interactive UI: A user-friendly interface to view and manage different sections.
- Gemini Integration: Powered by the Gemini API for advanced functionalities.
- Syntax Highlighting: Code sections are highlighted for better readability.
- Framework: React
- Build Tool: Vite
- Language: TypeScript
- AI: Gemini API
- Icons: Lucide React
/
├── .gitignore
├── App.tsx
├── components/
│ └── SectionCard.tsx
├── index.html
├── index.tsx
├── metadata.json
├── package.json
├── README.md
├── services/
│ └── geminiService.ts
├── tsconfig.json
├── types.ts
├── utils/
│ └── parser.ts
└── vite.config.ts
Prerequisites:
Installation:
-
Clone the repository:
git clone https://github.com/your-username/space-format-console.git cd space-format-console -
Install dependencies:
npm install
-
Set up environment variables:
Create a
.env.localfile in the root directory and add your Gemini API key:GEMINI_API_KEY=your_gemini_api_key
Running the application:
npm run devThis will start the development server at http://localhost:5173.
npm run dev: Starts the development server.npm run build: Builds the application for production.npm run preview: Serves the production build locally for preview.
Contributions are welcome! Here's how you can get started:
- Fork the repository.
- Create a new branch:
git checkout -b feature/your-feature-name - Make your changes.
- Commit your changes:
git commit -m "feat: add your feature" - Push to the branch:
git push origin feature/your-feature-name - Create a pull request.
- Code Style: We follow the standard TypeScript and React conventions. Please ensure your code is well-formatted and readable.
- Commit Messages: We use the Conventional Commits format for our commit messages.
- Pull Requests: Please provide a detailed description of your changes in the pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
