Automate Scrubbing your Facebook Presence
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

30 lines
678 B

# Makefile
NAME:= deletefb
url := https://facebook.com/$$username
.PHONY: all build run
all: build run
build:
@docker build -t $(NAME) .
run:
@read -p "Enter your Facebook email: " email; \
@read -p "Enter your Facebook password: " password; \
@read -p "Enter your Facebook username: " username;
@docker run -ti --rm \
-e DISPLAY=$DISPLAY \
-v /tmp/.X11-unix:/tmp/.X11-unix \
--cap-add=SYS_ADMIN \
--cap-add=NET_ADMIN \
--cpuset-cpus 0 \
-v /tmp/.X11-unix:/tmp/.X11-unix \
--device /dev/dri \
-v /dev/shm:/dev/shm \
$(NAME):latest "`which python3` -m deletefb.deletefb -e mail="$$email" -e pass=$$password -e url=$$url"