Skip to content

oribeolive/masuda-deleter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Masuda Deleter

Masuda Deleter is a Django application to list and delete posts of Hatena AnonymousDiary.

whole

Features

  • Fetching the posts by logging in and crawling the user pages of Hatena AnonymousDiary
  • Searchable list of the posts
  • Deleting the posts of Hatena AnonymousDiary selectively
  • Graphs of posted datetime and posts with bookmarks

Requirement

  • Docker <=20.10.16
  • Docker Compose <=1.29.2

Installation

Clone this repository.

git clone https://github.com/oribeolive/masuda-deleter

Build Docker containers.

cd [masuda-deleter's directory]
docker-compose build

Execute below to generate a secret key for Django.

docker-compose run app python /code/masuda/generate_secret_key.py

Write Hatena id and password to .env.

cd backend/python/src/masuda
cp .env.example .env
vim .env

.env

HATENA_ID={Hatena ID}
HATENA_PASSWORD={PASSWORD}

Execute migration.

docker-compose run app python /code/masuda/manage.py migrate

Start containers.

docker-compose up -d

Access to http://localhost:8107/web/ after containers start.

Usage

Access the posts page( /web/ ). Input target page numbers of Hatena AnonymousDiary and push the fetch(取込) button.

Wait several seconds to minutes and refresh the browser to display the list.

list

Check the posts you want to delete.

Push the delete checked posts(「あとで消す」記事をついに消す) button.

Push the delete(削除) button in the modal. The posts will be deleted in several seconds to minutes.

Author

mu

https://twitter.com/loglesslove

License

Masuda Deleter is under MIT license.

About

Application to list and delete posts of Hatena AnonymousDiary

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published