Skip to content

Commit

Permalink
🎉
Browse files Browse the repository at this point in the history
  • Loading branch information
JarbasAl committed Nov 25, 2024
1 parent 3cf0772 commit b6cbe54
Show file tree
Hide file tree
Showing 4 changed files with 93 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .bash_aliases
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
alias ologs="tail -f /ramdisk/mycroft/!(bus.log)"

alias docs-community="/home/ovos/.venv/bin/python /home/ovos/.venv/bin/doc_viewer community"
alias docs-technical="/home/ovos/.venv/bin/python /home/ovos/.local/bin/doc_viewer technical"
alias docs-hivemind="/home/ovos/.venv/bin/python /home/ovos/.local/bin/doc_viewer hivemind"
alias docs-messages="/home/ovos/.venv/bin/python /home/ovos/.local/bin/doc_viewer messages"
17 changes: 17 additions & 0 deletions .bashrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# If not running interactively, don't do anything
[[ $- != *i* ]] && return

PS1='\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w \$\[\033[00m\] '

alias ll='ls -la'

source .venvs/ovos/bin/activate

######################################################################
# Initialize OpenVoiceOS CLI Environment
######################################################################
. .cli_login.sh

if [[ -f ~/.bash_aliases ]]; then
source ~/.bash_aliases;
fi
64 changes: 64 additions & 0 deletions .cli_login.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
#!/bin/bash

echo -e "\e[1;31m
++. .::::. .++.
:****%@@@@@@%*+**:
:++ -#@@@@@@@@@@@@@@#= ++:
-**. .%@@@@@@@@@@@@@@@@%. **=
=**: .%@@@@@@@@@@@@@@@@@@%. .**+
+**- .%@@@@@@@@@@@@@@@@@@@@%: -***
***= .%@@@@@@@@@@@@@@@@@@@@@@% =***
:-. ***+ *@@@@@@@@@@@@@@@@@@@@@@@@# +***. -:
.**+ .**** =@@@@@@@@@@@@@@@@@@@@@@@@@@+ ****: =**:
:*** :****.:%@@@@@@@@@@@@@@@@@@@@@@@@@@@:.****: +**-
-***. -****:#@@@@@@@@@@@@@@@@@@@@@@@@@@@@#:****- .***=
-*+. =***: =****#@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*****= :***+ .+*=
.***- +***= =****@@@@@@@@@@@%%#%@@@@@@@@@@@@@@@@@****+ -**** -***:
=***+ ****+ +***%@@@@@@@@*-. .. .-*@@@@@@@@@@@@@@%***+ +****. =***=
***** .***** ****@@@@@@@#. -+ ...+. -#+--:-=+#@@@@@#*** *****: *****.
-*****: :*****. .***%@@@@@@@: .%=..** ..:-:...-%@@@%***. .*****- .*****-
******- -*****- .**#@@@@@@@@ :@:=%. =#=-+#- .%@@@#**: :*****= -*****+
:******+ +*****= :**%@@@@@@@@- -%%: @- +% *@@@%**: -*****+ +******-
+*******. ******+ -**#@@@@@*-. .. #*. .#* #@@@%**- +****** *******+
-===+**+*****-.***+***.=*#%%%%%: .=++=. -+++- =%%%%%#*= ***+***.:*****+**+===-
:---:. -******. .*****+@@@@: :@- -@: -#*+++ .:+%@@@@@@@*****. ******- .:---:
-***** +****-#@@@. =@....@= *#. . .%@@@@@@@@@#****+ +****-
.****+ =****:=@@@= .#*--+# .=***- : #@@@@@@@@@-****= =****.
+***= :****. %@@@+. .--. .@-: .%@@@@@@@@* ****- -***+
=***: .**** -@@@@@*=::::=++. +*++**..:#@@@@@@@@%. ****. :***=
:***. **** *@@@@@@@@@@@@@%+-....:-*%@@@@@@@@@= +*** ***-
*** +**+ #@@#@@@@@@@@@@@@@@@@@@@@@@@@@@@@+ =**+ +**.
-+- =**= .@@@*@@@@@@@@@@@@@@@@@@@@@@@@@@+ -**= -+=
:**- *%@%+%@@@@@@@@@@@@@@@@@@@@@@@% -**-
:: +*#@@##%@@@@@@@@@@@@@@@@@@@@#+ ::
=****%@%%@@@@@@@@@@@@@@@@%#**=
-*** .+%@@@@@@@@@@@@@@@#= +**-
:**+ :=*%@@@@@@%%*=. =**:
.**= .::.. -**.
\e[0m"

echo " =============================="
echo " --- Welcome to OpenVoiceOS ---"
echo " raspOVOS development Edition"
echo " =============================="
echo ""
echo ""
echo "OVOS Tool COMMANDs:"
echo " ovos-config Manage your local OVOS configuration files"
echo " ovos-listen Activate the microphone to listen for a command"
echo " ovos-speak <phrase> Have OVOS speak a phrase to the user"
echo " ovos-say-to <phrase> Send an utterance to OVOS as if spoken by a user"
echo
echo "OVOS Docs COMMANDs:"
echo " ovos-docs-viewer community View the OVOS Community docs in the terminal"
echo " ovos-docs-viewer technical View the OVOS Technical docs in the terminal"
echo " ovos-docs-viewer hivemind View the HiveMind docs in the terminal"
echo " ovos-docs-viewer messages View OVOS Message specs in the terminal"
echo
echo "OVOS Log Viewer:"
echo " ovos-logs [COMMAND] --help Small tool to help navigate the logs"
echo " ologs View all logs realtime"
echo
echo "Misc Helpful COMMANDs:"
echo " ovos-simple-cli Chat with your device through the terminal"
echo
6 changes: 6 additions & 0 deletions build_raspOVOS.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,12 @@ cp -v /mounted-github-repo/splashscreen.service /etc/systemd/system/splashscreen
chmod 644 /etc/systemd/system/splashscreen.service
ln -s /etc/systemd/system/splashscreen.service /etc/systemd/system/multi-user.target.wants/splashscreen.service

# add bashrc and company
echo "Creating aliases and cli login screen..."
cp -v /mounted-github-repo/.bashrc /home/$USER/.bashrc
cp -v /mounted-github-repo/.bash_aliases /home/$USER/.bash_aliases
cp -v /mounted-github-repo/.cli_login.sh /home/$USER/.cli_login.sh

# Create virtual environment for ovos
echo "Creating virtual environment..."
mkdir -p /home/$USER/.venvs
Expand Down

0 comments on commit b6cbe54

Please sign in to comment.