mirror of
https://github.com/neongamerbot-qk/hackclub-nest
synced 2024-11-24 09:23:42 +00:00
Compare commits
No commits in common. "2d76c953aca266c1b44aa5a0556377455ce95895" and "0f307f02f994d50d05f79e5f422d9348cc0bb202" have entirely different histories.
2d76c953ac
...
0f307f02f9
9 changed files with 51 additions and 155 deletions
23
.bashrc
23
.bashrc
|
@ -6,7 +6,7 @@ clear
|
||||||
# If not running interactively, don't do anything
|
# If not running interactively, don't do anything
|
||||||
case $- in
|
case $- in
|
||||||
*i*) ;;
|
*i*) ;;
|
||||||
*) return ;;
|
*) return;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# don't put duplicate lines or lines starting with space in the history.
|
# don't put duplicate lines or lines starting with space in the history.
|
||||||
|
@ -14,11 +14,11 @@ esac
|
||||||
HISTCONTROL=ignoreboth
|
HISTCONTROL=ignoreboth
|
||||||
|
|
||||||
# append to the history file, don't overwrite it
|
# 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)
|
# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
|
||||||
HISTSIZE=10
|
HISTSIZE=1000
|
||||||
HISTFILESIZE=20
|
HISTFILESIZE=2000
|
||||||
|
|
||||||
# check the window size after each command and, if necessary,
|
# check the window size after each command and, if necessary,
|
||||||
# update the values of LINES and COLUMNS.
|
# update the values of LINES and COLUMNS.
|
||||||
|
@ -38,7 +38,7 @@ fi
|
||||||
|
|
||||||
# set a fancy prompt (non-color, unless we know we "want" color)
|
# set a fancy prompt (non-color, unless we know we "want" color)
|
||||||
case "$TERM" in
|
case "$TERM" in
|
||||||
xterm-color | *-256color) color_prompt=yes ;;
|
xterm-color|*-256color) color_prompt=yes;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# uncomment for a colored prompt, if the terminal has the capability; turned
|
# uncomment for a colored prompt, if the terminal has the capability; turned
|
||||||
|
@ -66,11 +66,11 @@ unset color_prompt force_color_prompt
|
||||||
|
|
||||||
# If this is an xterm set the title to user@host:dir
|
# If this is an xterm set the title to user@host:dir
|
||||||
case "$TERM" in
|
case "$TERM" in
|
||||||
xterm* | rxvt*)
|
xterm*|rxvt*)
|
||||||
PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1"
|
PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1"
|
||||||
;;
|
;;
|
||||||
*) ;;
|
*)
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# enable color support of ls and also add handy aliases
|
# enable color support of ls and also add handy aliases
|
||||||
|
@ -112,10 +112,3 @@ if ! shopt -oq posix; then
|
||||||
. /etc/bash_completion
|
. /etc/bash_completion
|
||||||
fi
|
fi
|
||||||
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"
|
|
||||||
|
|
|
@ -22,16 +22,16 @@ print_info() {
|
||||||
info "GPU" gpu
|
info "GPU" gpu
|
||||||
info "Memory" memory
|
info "Memory" memory
|
||||||
|
|
||||||
info "GPU Driver" gpu_driver # Linux/macOS only
|
# info "GPU Driver" gpu_driver # Linux/macOS only
|
||||||
info "CPU Usage" cpu_usage
|
# info "CPU Usage" cpu_usage
|
||||||
info "Disk" disk
|
# info "Disk" disk
|
||||||
info "Battery" battery
|
# info "Battery" battery
|
||||||
info "Font" font
|
# info "Font" font
|
||||||
# info "Song" song
|
# info "Song" song
|
||||||
# [[ "$player" ]] && prin "Music Player" "$player"
|
# [[ "$player" ]] && prin "Music Player" "$player"
|
||||||
info "Local IP" local_ip
|
# info "Local IP" local_ip
|
||||||
info "Public IP" public_ip
|
# info "Public IP" public_ip
|
||||||
info "Users" users
|
# info "Users" users
|
||||||
# info "Locale" locale # This only works on glibc systems.
|
# info "Locale" locale # This only works on glibc systems.
|
||||||
|
|
||||||
info cols
|
info cols
|
||||||
|
@ -45,7 +45,7 @@ print_info() {
|
||||||
# Default: 'off'
|
# Default: 'off'
|
||||||
# Values: 'on', 'off'
|
# Values: 'on', 'off'
|
||||||
# Flag: --title_fqdn
|
# Flag: --title_fqdn
|
||||||
title_fqdn="on"
|
title_fqdn="off"
|
||||||
|
|
||||||
|
|
||||||
# Kernel
|
# Kernel
|
||||||
|
@ -116,7 +116,7 @@ uptime_shorthand="on"
|
||||||
# Example:
|
# Example:
|
||||||
# on: '1801MiB / 7881MiB (22%)'
|
# on: '1801MiB / 7881MiB (22%)'
|
||||||
# off: '1801MiB / 7881MiB'
|
# off: '1801MiB / 7881MiB'
|
||||||
memory_percent="on"
|
memory_percent="off"
|
||||||
|
|
||||||
# Change memory output unit.
|
# Change memory output unit.
|
||||||
#
|
#
|
||||||
|
@ -128,7 +128,7 @@ memory_percent="on"
|
||||||
# kib '1020928KiB / 7117824KiB'
|
# kib '1020928KiB / 7117824KiB'
|
||||||
# mib '1042MiB / 6951MiB'
|
# mib '1042MiB / 6951MiB'
|
||||||
# gib: ' 0.98GiB / 6.79GiB'
|
# gib: ' 0.98GiB / 6.79GiB'
|
||||||
memory_unit="gib"
|
memory_unit="mib"
|
||||||
|
|
||||||
|
|
||||||
# Packages
|
# Packages
|
||||||
|
@ -159,7 +159,7 @@ package_managers="on"
|
||||||
# Example:
|
# Example:
|
||||||
# on: '/bin/bash'
|
# on: '/bin/bash'
|
||||||
# off: 'bash'
|
# off: 'bash'
|
||||||
shell_path="on"
|
shell_path="off"
|
||||||
|
|
||||||
# Show $SHELL version
|
# Show $SHELL version
|
||||||
#
|
#
|
||||||
|
@ -249,7 +249,7 @@ cpu_cores="logical"
|
||||||
# C: 'Intel i7-6500U (4) @ 3.1GHz [27.2°C]'
|
# C: 'Intel i7-6500U (4) @ 3.1GHz [27.2°C]'
|
||||||
# F: 'Intel i7-6500U (4) @ 3.1GHz [82.0°F]'
|
# F: 'Intel i7-6500U (4) @ 3.1GHz [82.0°F]'
|
||||||
# off: 'Intel i7-6500U (4) @ 3.1GHz'
|
# off: 'Intel i7-6500U (4) @ 3.1GHz'
|
||||||
cpu_temp="on"
|
cpu_temp="off"
|
||||||
|
|
||||||
|
|
||||||
# GPU
|
# GPU
|
||||||
|
@ -679,10 +679,10 @@ bar_color_total="distro"
|
||||||
# infobar: 'info [---=======]'
|
# infobar: 'info [---=======]'
|
||||||
# barinfo: '[---=======] info'
|
# barinfo: '[---=======] info'
|
||||||
# off: 'info'
|
# off: 'info'
|
||||||
cpu_display="infobar"
|
cpu_display="off"
|
||||||
memory_display="infobar"
|
memory_display="off"
|
||||||
battery_display="infobar"
|
battery_display="off"
|
||||||
disk_display="infobar"
|
disk_display="off"
|
||||||
|
|
||||||
|
|
||||||
# Backend Settings
|
# Backend Settings
|
||||||
|
|
4
.github/workflows/deploy.yml
vendored
4
.github/workflows/deploy.yml
vendored
|
@ -8,11 +8,7 @@ jobs:
|
||||||
environment:
|
environment:
|
||||||
name: production
|
name: production
|
||||||
steps:
|
steps:
|
||||||
- name: is zeon
|
|
||||||
uses: zeon-neon/gh-action-no-zeon@v1
|
|
||||||
id: zeonallowed
|
|
||||||
- name: Execute
|
- name: Execute
|
||||||
if: ${{ steps.zeonallowed.outputs.skip == 'false' }}
|
|
||||||
uses: appleboy/ssh-action@v1.0.3
|
uses: appleboy/ssh-action@v1.0.3
|
||||||
with:
|
with:
|
||||||
host: hackclub.app
|
host: hackclub.app
|
||||||
|
|
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -12,5 +12,3 @@ sent # all sent mail is there
|
||||||
.gitconfig
|
.gitconfig
|
||||||
.git-credentials
|
.git-credentials
|
||||||
.cache/*
|
.cache/*
|
||||||
.env
|
|
||||||
.env.*
|
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
# 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
6
TODO.md
|
@ -1,6 +0,0 @@
|
||||||
## Todo
|
|
||||||
|
|
||||||
replace crontab with systemd services so they are sorta public.
|
|
||||||
create nix setup (flake.nix)
|
|
||||||
add slack bot
|
|
||||||
add public mail filter
|
|
|
@ -1,80 +1,11 @@
|
||||||
<!doctype html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Neon - Nest</title>
|
<title>Welcome to 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>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<center>
|
<h1>Welcome to Nest!</h1>
|
||||||
<main>
|
<p><strong>This is your own personal website hosted on Nest.</strong></p>
|
||||||
<h1>My nest instance</h1>
|
<p>Visit our <a href="https://guides.hackclub.app/index.php/Quickstart">Quickstart guide</a> to get started!</p>
|
||||||
<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>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
git config --global user.name "Neon"
|
|
||||||
git config --global user.email "neon@saahild.com"
|
|
|
@ -1,9 +0,0 @@
|
||||||
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"
|
|
Loading…
Reference in a new issue