ws-kj / orphic Goto Github PK
View Code? Open in Web Editor NEWA natural language shell interface for *nix systems
License: MIT License
A natural language shell interface for *nix systems
License: MIT License
Line 17 in 8cd4dcc
Executing this command
orphic locate into test directory
Returns command
cd test
and when I execute this through orphic it won't take me to the directory.
orphic how much space is free on the boot volume
EOF while parsing a string at line 1 column 43
{"command": "df -h / | awk 'NR==2{print $4}'"}
The actual command df -h / | awk 'NR==2{print $4}'
itself works fine when you copy and paste it on the commandline. This is for orphic 0.1.0. I'm running on PopOS 22.04 an Ubuntu derivative. My rustc is at 1.68.0. I installed via cargo install orphic
Update. Another example of this:
orphic show me the name and size of all files larger than one gigabyte in my home directory
EOF while parsing a string at line 1 column 81
EOF while parsing a string at line 1 column 81
{"command": "find ~/ -type f -size +1G -printf '{\"name\":\"%f\",\"size\":\"%s\"}\\n'" }
This would allow for greater peace of mind before running a command, and allow users to not run a command if it seems dangerous.
I may open a PR to do this myself if I have time in the future.
Hi. I'm trying orphic on mac machine with zsh.
When I execute long-running command like "top", the program simply stucks after confirmation, and I have to abort manually and execute command on my own.
It'd be nice if we can use these types of commands seamlessly :)
Ive tried to pass orphic the API key with $OPENAI_API_KEY
envoirment variable but it thinks i didnt provide any keys (its a variable in the bash shell which is the shell i use in my terminal if it isnt the right way to do it then show me please)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.