Neptun is a Python-based CLI for interacting with Neptun AI via the Neptun API interface. It is designed to answer questions on DevOps, Docker, Docker Compose, and more.
- Rich command-line interface using Typer
- Styled output using Rich
- Interactive prompts via Questionary
- Seamless authentication and configuration management
- Integration with GitHub and template collections
You can install Neptun via pip:
pip install neptunOnce installed, you can access Neptun using the neptun command.
neptun --help--install-completion Install completion for the current shell.
--show-completion Show completion for the current shell.
--help Show this message and exit.
| Command | Description |
|---|---|
config |
Manage general settings for the application. |
auth |
Connect to the Neptun web client. |
assistant |
Chat with the Neptun chatbot. |
collection |
Manage your Neptun collections. |
github |
Manage imported repositories & use the Neptun GitHub application. |
info |
Display the current status and version of Neptun. |
open |
Open the Neptun web interface. |
health |
Check the status of the Neptun API. |
template |
Manage templates in your collections. |
project |
Create and manage Neptun projects. |
Manage and configure general settings:
neptun config --help
dynamic– Edit app settings dynamically.fallback– Reset to default settings.session-token– Update authentication token.init– Initialize configuration from the web UI.status– Get current configuration and user details.
Authenticate with Neptun:
neptun auth --help
login– Log into your Neptun account.register– Create a new Neptun account.status– View authentication status.send-otp– Send a one-time password.reset-password– Reset password using OTP.
Chat with Neptun AI:
neptun assistant --help
options– List available options.list– Show chat dialogs.enter– Enter a chat dialog.delete– Remove a chat dialog.create– Start a new chat dialog.select– Select an active chat dialog.update– Modify an existing chat.ask– Ask a question.
Manage collections:
neptun collection --help
options– List available template options.create-empty– Create a new empty collection.list– Show existing collections.list-shared– Show shared collections.delete– Remove a collection.update– Modify a collection.inspect– View collection details.create– Generate a collection from local files.pull– Download a collection from Neptun.
Manage GitHub integrations:
neptun github --help
install– Install the Neptun GitHub app on a repository.list-imports– View imported repositories.uninstall– Remove the Neptun GitHub app.
Manage templates:
neptun template --help
delete– Remove a template from a collection.
Work with Neptun projects:
neptun project --help
create– Start a new Neptun project.
This project is licensed under The Unlicense.
- stevan06v
- jonasfroeller
For more details, visit Neptun's official repository.