https://github.com/danr/neptyne
editor-agnostic jupyter kernel communication (+ kakoune integration)
https://github.com/danr/neptyne
Last synced: about 1 year ago
JSON representation
editor-agnostic jupyter kernel communication (+ kakoune integration)
- Host: GitHub
- URL: https://github.com/danr/neptyne
- Owner: danr
- License: mit
- Created: 2019-04-28T17:08:35.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2021-02-26T02:46:50.000Z (over 5 years ago)
- Last Synced: 2023-04-10T16:27:33.079Z (over 3 years ago)
- Language: Python
- Homepage:
- Size: 228 KB
- Stars: 7
- Watchers: 3
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# neptyne
[![IRC][IRC Badge]][IRC]
Editor-agnostic jupyter kernel interaction and [kakoune](http://kakoune.org) integration
## Installation and usage
Have the python kernel installed and run
```
pip install . --user
```
Now run
```
neptyne FILES...
```
In the directory you want some files to be viewed. Now open your browser and start editing and saving the files:
```
chromium --app=http://localhost:8234
```
## Usage with kakoune
Inside kakoune run
```
source %sh{neptyne kak_source}
```
Now you can use eg `neptyne-enable-process-on-idle` to rerun the kernel on NormalIdle and InsertIdle.
No files need to be listed on the command line, communication goes via a file called `.requests`.
## Installation with docker
```
docker run -p 8234:8234 -v "$PWD:/workdir" -it $(docker build -q .) neptyne -b 0.0.0.0 FILES...
```
## License
MIT
[IRC]: https://webchat.freenode.net?channels=kakoune
[IRC Badge]: https://img.shields.io/badge/IRC-%23kakoune-blue.svg