Skip to content

Commit

Permalink
Update readme. Made JSON pretty.
Browse files Browse the repository at this point in the history
  • Loading branch information
mmiscool committed Dec 11, 2024
1 parent cbafe6c commit d23845e
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 29 deletions.
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ With **aiCoder** as your coding co-pilot, you can simplify development, refine y

The magic lies in aiCoder’s advanced merging logic, which keeps your original code intact while integrating new snippets precisely and reliably.


![NEW UI](./images/aiCoder.gif)


## Star History

[![Star History Chart](https://api.star-history.com/svg?repos=mmiscool/aiCoder&type=Date)](https://star-history.com/#mmiscool/aiCoder&Date)

## Purpose and Benefits
**aiCoder** is designed to enhance your coding experience by leveraging the power of AI. It helps you:
- Save time by automating repetitive coding tasks.
Expand All @@ -30,7 +38,7 @@ The magic lies in aiCoder’s advanced merging logic, which keeps your original

### From NPM
```
npm i aicodertool -g
npm i -g aicodertool
```

### From Source
Expand All @@ -41,7 +49,7 @@ npm i aicodertool -g
npm install && npm install -g .
```

After installation, you’re all set! Just run the `aiCoder` command in any project directory.
After installation, you’re all set! Just run the `aiCoder` or the much short `a` command in any project directory.

If you want to use local Ollama as your LLM provider install it with the following commands.
```
Expand Down
Binary file added images/aiCoder.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
52 changes: 26 additions & 26 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/aiCoderApiFunctions.js
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ export class conversation {
chatMode: this.chatMode,
lastModified: new Date().toISOString()
};
const conversationJSON = JSON.stringify(conversationObject);
const conversationJSON = JSON.stringify(conversationObject, null, 2);
const filePath = `./.aiCoder/conversations/${id}.json`;
await writeFile(filePath, conversationJSON);

Expand Down

0 comments on commit d23845e

Please sign in to comment.