Skip to content

Uncensored Kominfo blocklist taken directly from their site

Notifications You must be signed in to change notification settings

lepasid/blocklist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 

Repository files navigation

Kominfo Blocklist

Uncensored Kominfo blocklist taken directly from their site
If you wanna use this data easily, we made an "API", documentation is at lepasid/kominfod

Steps to Update this

  1. Get repo perms
  2. Use Linux
  3. Make a .sh file and paste this in
#!/bin/bash
# 4. git clone https://YOUR_USERNAME:[email protected]/lepasid/blocklist.git in your Documents folder
# (If you just git clone normally, do git remote add origin https://YOUR_USERNAME:[email protected]/lepasid/blocklist.git in the $TARGET_DIR folder)

TARGET_DIR=~/Documents/blocklist
FILE_NAME="$(date +"%Y-%m-%d")"
SOURCE_URL=KOMINFO'S SITE, IF YOU WANT TO KNOW WHAT IT IS JOIN OUR DISCORD
GIT_USERNAME=YOUR_USERNAME
GIT_EMAIL=YOUR_EMAIL

cd "$TARGET_DIR"
rm domains
if [ -e "$FILE_NAME" ]; then
    rm "$FILE_NAME"
fi

curl --insecure -o "$TARGET_DIR/domains" "$SOURCE_URL"

git add domains
git commit -m "Update"
git config user.name "$GIT_USERNAME"
git config user.email "$GIT_EMAIL"
git rebase
git push -u origin main

cd ..
echo "Script completed successfully."
  1. chmod +x YOUR_FILE.sh
  2. ./YOUR_FILE.sh
  3. Enjoy

About

Uncensored Kominfo blocklist taken directly from their site

Resources

Stars

Watchers

Forks