Skip to content

Cool-Coder174/AstroChat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AstroChat

AstroChat is an AstroVim plugin that adds GitHub Copilot-like functionality.

Features

  • Seamless integration with AstroVim
  • GitHub Copilot-like code suggestions
  • Easy to configure and use
  • AI-powered code predictions for your current line
  • HTTPS authentication that opens your browser for login

Installation Guide

Prerequisites

  • Ensure you have AstroVim installed
  • Supported OS: macOS, Linux

macOS Installation

  1. Open your terminal.
  2. Clone the repository:
    git clone https://github.com/Cool-Coder174/AstroChat.git
  3. Navigate to the AstroChat directory:
    cd AstroChat
  4. Run the installation script:
    ./install.sh
  5. Add the plugin to your AstroVim configuration:
    Plug 'AstroChat'
  6. Reload your AstroVim configuration:
    :source $MYVIMRC

Linux Installation

  1. Open your terminal.
  2. Clone the repository:
    git clone https://github.com/Cool-Coder174/AstroChat.git
  3. Navigate to the AstroChat directory:
    cd AstroChat
  4. Run the installation script:
    ./install.sh
  5. Add the plugin to your AstroVim configuration:
    Plug 'Cool-Coder174/AstroChat'
  6. Reload your AstroVim configuration:
    :source $MYVIMRC

Usage

  • Run :AstroChatAuth to log in via your default browser and paste the token back into Neovim.
  • Start typing in AstroVim, and AstroChat will provide code suggestions similar to GitHub Copilot.
  • Press <C-y> in insert mode or run :AstroChatPredict to request an AI prediction for the current line.
  • Use the configured key bindings to accept or reject suggestions.

Contributing

Contributions are welcome! Please open an issue or submit a pull request on GitHub.

License

This project is licensed under the MIT License.


Contributing to My Copilot Astro Plugin

First off, thank you for considering contributing to this project! Your support helps make it better.

How Can I Contribute?

Reporting Bugs

If you encounter any issues:

  1. Search Existing Issues: Before opening a new issue, please check if it has already been reported.
  2. Open a New Issue: If it hasn't been reported, open a new issue and provide detailed information:
    • Steps to reproduce the problem.
    • Expected behavior.
    • Actual behavior.
    • Screenshots or logs, if applicable.

Suggesting Enhancements

To propose improvements:

  1. Search Existing Discussions: Ensure the enhancement hasn't been suggested already.
  2. Open a New Discussion: If not found, start a new discussion detailing:
    • The enhancement you have in mind.
    • Why it would be beneficial.
    • Any implementation ideas.

Submitting Pull Requests

For code contributions:

  1. Fork the Repository: Create your own copy of the repository.
  2. Create a New Branch: Use a descriptive name for your branch (e.g., feature/add-auth-command).
  3. Make Changes: Implement your changes with clear and concise code.
  4. Commit Changes: Write meaningful commit messages.
  5. Push to Your Fork: Upload your changes to your GitHub account.
  6. Open a Pull Request: Submit a pull request to the main repository:
    • Describe the changes you've made.
    • Reference any related issues or discussions.

Code of Conduct

Please adhere to our Code of Conduct in all interactions.

About

AstroChat is an AstroVim plugin that adds github co-pilot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •