Skip to content

Instantly share code, notes, and snippets.

View sm1ky's full-sized avatar
🏠
Working from home

Artem sm1ky

🏠
Working from home
View GitHub Profile
@sm1ky
sm1ky / throne-discord-json-rules.json
Created August 16, 2025 18:19
Array of rules for Discord in Throne [Client for VLESS/VMESS and other]
[{
"action": "hijack-dns",
"protocol": "dns"
}
,{
"action": "route",
"domain": [
"bucharest1071.discord.gg",
"bucharest1272.discord.gg",
"bucharest1311.discord.gg",
@sm1ky
sm1ky / install_remna_node.sh
Created August 4, 2025 02:07
install remna node
#!/bin/bash
# Remnawave Node Installation Script
set -e
# Colors for output
RED='\033[0;31m'
GREEN='\033[0;32m'
YELLOW='\033[1;33m'
@sm1ky
sm1ky / install_awg.sh
Last active December 23, 2025 11:28
Install wireguard & awg
#!/bin/bash
set -e
export DEBIAN_FRONTEND=noninteractive
LOG_FILE="/tmp/amneziawg_install.log"
RESULT_FILE="/tmp/amneziawg_install_result.log"
AWG_WORKDIR=~/awg
echo "Начало установки AmneziaWG" > $LOG_FILE
echo "Не завершено" > $RESULT_FILE
@sm1ky
sm1ky / awgcfg.py
Last active May 10, 2025 18:02
awg script
# SPDX-License-Identifier: MIT
# Author: remittor <remittor@gmail.com>
# Created: 2024
import os
import sys
import glob
import subprocess
import optparse
import random