Compare commits

..

30 commits

Author SHA1 Message Date
Zeon
2d76c953ac chore(ci): automated push
Some checks are pending
Remote SSH Command / Build (push) Waiting to run
2024-09-11 03:08:01 +00:00
zeon-neon[bot]
f0a7a8b35a
enhancement(lint): Fix lint errors for .bash_history
Co-authored-by: NeonGamerBot-QK <saahilattud@gmail.com>
Signed-off-by: zeon-neon[bot] <136533918+zeon-neon[bot]@users.noreply.github.com>
2024-09-11 03:07:04 +00:00
Zeon
dc65a9a24d chore(ci): automated push 2024-09-11 03:07:01 +00:00
zeon-neon[bot]
3f9ff54cf6
enhancement(lint): Fix lint errors for .gitignore
Co-authored-by: NeonGamerBot-QK <saahilattud@gmail.com>
Signed-off-by: zeon-neon[bot] <136533918+zeon-neon[bot]@users.noreply.github.com>
2024-09-11 03:01:45 +00:00
zeon-neon[bot]
6620b3d33a
enhancement(lint): Fix lint errors for TODO.md
Co-authored-by: NeonGamerBot-QK <saahilattud@gmail.com>
Signed-off-by: zeon-neon[bot] <136533918+zeon-neon[bot]@users.noreply.github.com>
2024-09-11 03:01:44 +00:00
zeon-neon[bot]
910c40f042
enhancement(lint): Fix lint errors for .bashrc
Co-authored-by: NeonGamerBot-QK <saahilattud@gmail.com>
Signed-off-by: zeon-neon[bot] <136533918+zeon-neon[bot]@users.noreply.github.com>
2024-09-11 03:01:43 +00:00
Saahil
4a9176ca93
chore: add some stuff 2024-09-10 23:01:40 -04:00
zeon-neon[bot]
8d0b640ad3
enhancement(lint): Fix lint errors for .bashrc
Co-authored-by: NeonGamerBot-QK <saahilattud@gmail.com>
Signed-off-by: zeon-neon[bot] <136533918+zeon-neon[bot]@users.noreply.github.com>
2024-09-11 02:52:43 +00:00
395c2ee3ae Merge remote-tracking branch 'refs/remotes/origin/main' 2024-09-11 02:52:30 +00:00
Zeon
f1a364d789 chore(ci): automated push 2024-09-11 02:52:01 +00:00
Zeon
ea1cb7f732 chore(ci): automated push 2024-09-11 02:51:01 +00:00
Zeon
cef9bf5d5f chore(ci): automated push 2024-09-11 02:50:01 +00:00
Zeon
8594cd7e5b chore(ci): automated push 2024-09-11 02:49:01 +00:00
zeon-neon[bot]
3f412b0780
enhancement(lint): Fix lint errors for .bashrc
Co-authored-by: NeonGamerBot-QK <saahilattud@gmail.com>
Signed-off-by: zeon-neon[bot] <136533918+zeon-neon[bot]@users.noreply.github.com>
2024-09-11 02:48:04 +00:00
Zeon
42bb714096 chore(ci): automated push 2024-09-11 02:48:01 +00:00
Zeon
34b0cd51fd chore(ci): automated push 2024-09-11 02:47:01 +00:00
Zeon
7976e9b62b chore(ci): automated push 2024-09-11 02:46:01 +00:00
zeon-neon[bot]
a335c10cef
enhancement(lint): Fix lint errors for update_git.sh
Co-authored-by: NeonGamerBot-QK <saahilattud@gmail.com>
Signed-off-by: zeon-neon[bot] <136533918+zeon-neon[bot]@users.noreply.github.com>
2024-09-11 02:38:56 +00:00
zeon-neon[bot]
920abfa4bf
enhancement(lint): Fix lint errors for reset_git.sh
Co-authored-by: NeonGamerBot-QK <saahilattud@gmail.com>
Signed-off-by: zeon-neon[bot] <136533918+zeon-neon[bot]@users.noreply.github.com>
2024-09-11 02:38:55 +00:00
Zeon
c332dbfee0 chore(ci): automated push 2024-09-11 02:38:52 +00:00
zeon-neon[bot]
c425fe495e
enhancement(lint): Fix lint errors for .github/workflows/deploy.yml
Co-authored-by: NeonGamerBot-QK <saahilattud@gmail.com>
Signed-off-by: zeon-neon[bot] <136533918+zeon-neon[bot]@users.noreply.github.com>
2024-09-11 01:24:27 +00:00
Saahil
31e2671fe9
Update deploy.yml 2024-09-10 21:24:25 -04:00
zeon-neon[bot]
d5e52a0f5c
enhancement(lint): Fix lint errors for .github/workflows/deploy.yml
Co-authored-by: NeonGamerBot-QK <saahilattud@gmail.com>
Signed-off-by: zeon-neon[bot] <136533918+zeon-neon[bot]@users.noreply.github.com>
2024-09-11 01:23:18 +00:00
19a96341e7 ci: update 2024-09-11 01:23:12 +00:00
zeon-neon[bot]
1aa4dc9936
enhancement(lint): Fix lint errors for .github/workflows/deploy.yml
Co-authored-by: NeonGamerBot-QK <saahilattud@gmail.com>
Signed-off-by: zeon-neon[bot] <136533918+zeon-neon[bot]@users.noreply.github.com>
2024-09-11 01:16:58 +00:00
Saahil
0d71302d9d
Update deploy.yml 2024-09-10 21:16:56 -04:00
zeon-neon[bot]
56389c76fb
enhancement(lint): Fix lint errors for .github/workflows/deploy.yml
Co-authored-by: NeonGamerBot-QK <saahilattud@gmail.com>
Signed-off-by: zeon-neon[bot] <136533918+zeon-neon[bot]@users.noreply.github.com>
2024-09-11 01:15:11 +00:00
Saahil
acea283983
Update deploy.yml 2024-09-10 21:15:09 -04:00
zeon-neon[bot]
cd1fb4d041
enhancement(lint): Fix lint errors for pub/index.html
Co-authored-by: NeonGamerBot-QK <saahilattud@gmail.com>
Signed-off-by: zeon-neon[bot] <136533918+zeon-neon[bot]@users.noreply.github.com>
2024-09-11 01:09:27 +00:00
Saahil
19d7d0afc0
Update index.html 2024-09-10 21:09:24 -04:00
9 changed files with 155 additions and 51 deletions

63
.bashrc
View file

@ -5,8 +5,8 @@ clear
# If not running interactively, don't do anything
case $- in
*i*) ;;
*) return;;
*i*) ;;
*) return ;;
esac
# don't put duplicate lines or lines starting with space in the history.
@ -14,11 +14,11 @@ esac
HISTCONTROL=ignoreboth
# append to the history file, don't overwrite it
shopt -s histappend
#shopt -s histappend
# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
HISTSIZE=1000
HISTFILESIZE=2000
HISTSIZE=10
HISTFILESIZE=20
# check the window size after each command and, if necessary,
# update the values of LINES and COLUMNS.
@ -33,12 +33,12 @@ shopt -s checkwinsize
# set variable identifying the chroot you work in (used in the prompt below)
if [ -z "${debian_chroot:-}" ] && [ -r /etc/debian_chroot ]; then
debian_chroot=$(cat /etc/debian_chroot)
debian_chroot=$(cat /etc/debian_chroot)
fi
# set a fancy prompt (non-color, unless we know we "want" color)
case "$TERM" in
xterm-color|*-256color) color_prompt=yes;;
xterm-color | *-256color) color_prompt=yes ;;
esac
# uncomment for a colored prompt, if the terminal has the capability; turned
@ -47,42 +47,42 @@ esac
#force_color_prompt=yes
if [ -n "$force_color_prompt" ]; then
if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then
# We have color support; assume it's compliant with Ecma-48
# (ISO/IEC-6429). (Lack of such support is extremely rare, and such
# a case would tend to support setf rather than setaf.)
color_prompt=yes
else
color_prompt=
fi
if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then
# We have color support; assume it's compliant with Ecma-48
# (ISO/IEC-6429). (Lack of such support is extremely rare, and such
# a case would tend to support setf rather than setaf.)
color_prompt=yes
else
color_prompt=
fi
fi
if [ "$color_prompt" = yes ]; then
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
else
PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
fi
unset color_prompt force_color_prompt
# If this is an xterm set the title to user@host:dir
case "$TERM" in
xterm*|rxvt*)
xterm* | rxvt*)
PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1"
;;
*)
;;
*) ;;
esac
# enable color support of ls and also add handy aliases
if [ -x /usr/bin/dircolors ]; then
test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
alias ls='ls --color=auto'
#alias dir='dir --color=auto'
#alias vdir='vdir --color=auto'
test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
alias ls='ls --color=auto'
#alias dir='dir --color=auto'
#alias vdir='vdir --color=auto'
#alias grep='grep --color=auto'
#alias fgrep='fgrep --color=auto'
#alias egrep='egrep --color=auto'
#alias grep='grep --color=auto'
#alias fgrep='fgrep --color=auto'
#alias egrep='egrep --color=auto'
fi
# colored GCC warnings and errors
@ -99,7 +99,7 @@ alias l='ls -CF'
# See /usr/share/doc/bash-doc/examples in the bash-doc package.
if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
. ~/.bash_aliases
fi
# enable programmable completion features (you don't need to enable
@ -112,3 +112,10 @@ if ! shopt -oq posix; then
. /etc/bash_completion
fi
fi
export PATH=$PATH:~/.local/bin
neofetch
nest resources
#export PF_INFO="ascii title os host kernel uptime pkgs memory"
#PF_INFO="ascii"
#PF_ASCII="Catppuccin"

View file

@ -22,16 +22,16 @@ print_info() {
info "GPU" gpu
info "Memory" memory
# info "GPU Driver" gpu_driver # Linux/macOS only
# info "CPU Usage" cpu_usage
# info "Disk" disk
# info "Battery" battery
# info "Font" font
info "GPU Driver" gpu_driver # Linux/macOS only
info "CPU Usage" cpu_usage
info "Disk" disk
info "Battery" battery
info "Font" font
# info "Song" song
# [[ "$player" ]] && prin "Music Player" "$player"
# info "Local IP" local_ip
# info "Public IP" public_ip
# info "Users" users
info "Local IP" local_ip
info "Public IP" public_ip
info "Users" users
# info "Locale" locale # This only works on glibc systems.
info cols
@ -45,7 +45,7 @@ print_info() {
# Default: 'off'
# Values: 'on', 'off'
# Flag: --title_fqdn
title_fqdn="off"
title_fqdn="on"
# Kernel
@ -116,7 +116,7 @@ uptime_shorthand="on"
# Example:
# on: '1801MiB / 7881MiB (22%)'
# off: '1801MiB / 7881MiB'
memory_percent="off"
memory_percent="on"
# Change memory output unit.
#
@ -128,7 +128,7 @@ memory_percent="off"
# kib '1020928KiB / 7117824KiB'
# mib '1042MiB / 6951MiB'
# gib: ' 0.98GiB / 6.79GiB'
memory_unit="mib"
memory_unit="gib"
# Packages
@ -159,7 +159,7 @@ package_managers="on"
# Example:
# on: '/bin/bash'
# off: 'bash'
shell_path="off"
shell_path="on"
# Show $SHELL version
#
@ -249,7 +249,7 @@ cpu_cores="logical"
# C: 'Intel i7-6500U (4) @ 3.1GHz [27.2°C]'
# F: 'Intel i7-6500U (4) @ 3.1GHz [82.0°F]'
# off: 'Intel i7-6500U (4) @ 3.1GHz'
cpu_temp="off"
cpu_temp="on"
# GPU
@ -679,10 +679,10 @@ bar_color_total="distro"
# infobar: 'info [---=======]'
# barinfo: '[---=======] info'
# off: 'info'
cpu_display="off"
memory_display="off"
battery_display="off"
disk_display="off"
cpu_display="infobar"
memory_display="infobar"
battery_display="infobar"
disk_display="infobar"
# Backend Settings
@ -861,4 +861,4 @@ background_color=
# Useful for piping into another command.
# Default: 'off'
# Values: 'on', 'off'
stdout="off"
stdout="off"

View file

@ -8,7 +8,11 @@ jobs:
environment:
name: production
steps:
- name: is zeon
uses: zeon-neon/gh-action-no-zeon@v1
id: zeonallowed
- name: Execute
if: ${{ steps.zeonallowed.outputs.skip == 'false' }}
uses: appleboy/ssh-action@v1.0.3
with:
host: hackclub.app

2
.gitignore vendored
View file

@ -12,3 +12,5 @@ sent # all sent mail is there
.gitconfig
.git-credentials
.cache/*
.env
.env.*

5
.wget-hsts Normal file
View file

@ -0,0 +1,5 @@
# HSTS 1.0 Known Hosts database for GNU Wget.
# Edit at your own risk.
# <hostname> <port> <incl. subdomains> <created> <max-age>
raw.githubusercontent.com 0 0 1726022810 31536000
github.com 0 1 1726022810 31536000

6
TODO.md Normal file
View file

@ -0,0 +1,6 @@
## Todo
replace crontab with systemd services so they are sorta public.
create nix setup (flake.nix)
add slack bot
add public mail filter

View file

@ -1,11 +1,80 @@
<!DOCTYPE html>
<!doctype html>
<html>
<head>
<title>Welcome to Nest!</title>
<title>Neon - Nest</title>
<style>
:root {
--rosewater: #f5e0dc;
--flamingo: #f2cdcd;
--pink: #f5c2e7;
--mauve: #cba6f7;
--red: #f38ba8;
--maroon: #eba0ac;
--peach: #fab387;
--yellow: #f9e2af;
--green: #a6e3a1;
--teal: #94e2d5;
--sky: #89dceb;
--sapphire: #74c7ec;
--blue: #89b4fa;
--lavender: #b4befe;
--text: #cdd6f4;
--subtext1: #bac2de;
--subtext0: #a6adc8;
--overlay2: #9399b2;
--overlay1: #7f849c;
--overlay0: #6c7086;
--surface2: #585b70;
--surface1: #45475a;
--surface0: #313244;
--base: #1e1e2e;
--mantle: #181825;
--crust: #11111b;
}
body,
html {
background-color: #181825;
color: #cdd6f4;
}
a:hover {
color: #b4befe;
}
a:visited {
color: #cba6f7;
}
.mauve {
color: #cba6f7;
}
a {
color: #89b4fa;
}
</style>
</head>
<body>
<h1>Welcome to Nest!</h1>
<p><strong>This is your own personal website hosted on Nest.</strong></p>
<p>Visit our <a href="https://guides.hackclub.app/index.php/Quickstart">Quickstart guide</a> to get started!</p>
<center>
<main>
<h1>My nest instance</h1>
<p>
Welcome to my nest instace which currently has nothing & is
<a href="https://github.com/NeonGamerBot-QK/hackclub-nest/"
>open source</a
>.
</p>
<p>
You may email me about hackclub inquries at
<a href="mailto:neon@hackclub.app">neon@hackclub.app</a> (note) all
emails WILL be put on the repo, to have your email censored please
mention it in your email and the body will be censored. By default
names, non-public emails, other sensitive info is removed before being
uploaded to repo.
</p>
<p>
For other inquries email
<a href="mailto:neon@saahild.com">neon@saahild.com</a>
</p>
<a href="https://saahild.com/retro">saahild.com/retro</a>
</main>
</center>
</body>
</html>

2
reset_git.sh Normal file
View file

@ -0,0 +1,2 @@
git config --global user.name "Neon"
git config --global user.email "neon@saahild.com"

9
update_git.sh Normal file
View file

@ -0,0 +1,9 @@
echo "Updating files.."
git config --global user.name "Zeon"
git config --global user.email "zeon@saahild.com"
git add . || bash reset_git.sh
git commit -m 'chore(ci): automated push' || bash reset_git.sh
git push || bash reset_git.sh
bash reset_git.sh
#git config --global user.name "Neon"
#git config --global user.email "neon@saahild.com"