forked from osanseviero/InstantCoder
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
76 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,18 @@ | ||
<div style="display: flex; align-items: center; justify-content: center;"> | ||
<img alt="Gemini Coder" src="./public/logo.svg" style="height: 50px;"> | ||
<h1 style="margin-left: 10px;">Gemini Coder</h1> | ||
</div> | ||
Generate small apps with one prompt. Powered by the Ollama API. | ||
|
||
<p align="center"> | ||
Generate small apps with one prompt. Powered by the Gemini API. | ||
</p> | ||
Try it in https://huggingface.co/spaces/luongnv89/ollama-coder | ||
|
||
Try it in https://huggingface.co/spaces/osanseviero/gemini-coder | ||
|
||
This project is fully based on [llamacoder](https://github.com/Nutlope/llamacoder). Please follow [Nutlope](https://github.com/Nutlope) and give them a star.. | ||
This project is fully based on [geminicoder](https://github.com/osanseviero/geminicoder). | ||
|
||
## Tech stack | ||
|
||
- [Gemini API](https://ai.google.dev/gemini-api/docs) to use Gemini 1.5 Pro, Gemini 1.5 Flash, and Gemini 2.0 Flash Experimental | ||
- [Ollama](https://ollama.com) - Recommend pull the following models: `qwen2.5-coder:14b`, `phi3:14b`. Add your models in `./app/(main)/page.tsx` | ||
- [Sandpack](https://sandpack.codesandbox.io/) for the code sandbox | ||
- Next.js app router with Tailwind | ||
|
||
You can also experiment with Gemini in [Google AI Studio](https://aistudio.google.com/). | ||
|
||
## Cloning & running | ||
|
||
1. Clone the repo: `git clone https://github.com/osanseviero/geminicoder` | ||
2. Create a `.env` file and add your [Google AI Studio API key](https://aistudio.google.com/app/apikey): `GOOGLE_AI_API_KEY=` | ||
1. Clone the repo: `git clone https://github.com/luongnv89/ollama-coder` | ||
3. Run `npm install` and `npm run dev` to install dependencies and run locally | ||
|
||
**This is a personal project and not a Google official project** | ||
**This is a personal project and not a Ollama official project** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters