A map generator to show the most popular tags (search terms) on https://rule34.xxx/
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.
 
 
 
Alice be35ff2ee8 Fixed formatting again 3 years ago
PopularTagsByCountry Updated README, added the python script into Resources 3 years ago
.gitattributes Add .gitignore and .gitattributes. 6 years ago
.gitignore Add .gitignore and .gitattributes. 6 years ago
PopularTagsByCountry.sln Add project files. 6 years ago
README.md Fixed formatting again 3 years ago
compile_linux64.bat Add project files. 6 years ago

README.md

PopularTagsByCountry

A map generator taking modified nginx logs, turning them into an HTML world map and top 100 lists

This C# and Python hybrid program reads out log files of very large size (~4GB), filters out unwanted tags as declared in the excluded_tags file and turns them into a Plotly choropleth worldmap.

Prerequisites

  • For building the project, an installation of Json.NET is required

In the Visual Studio console:

Install-Package Newtonsoft.Json
  • You must have Plotly installed for the python choropleth script to run
pip install plotly

Usage

  • Neuter and convert the NGINX access log to remove identifiable data and save disk space into JSON as follows:
[ISO 3166-1 alpha-2 code, State abbreviation, Search term(s)]
Example: ["US","NY","mei_(character)"]
  • Optional: provide a list of unwanted tags in a file called excluded_tags
  • Run the binary in a terminal with the location of your log file as an argument, e.g. in bash:
./PopularTagsByCountry geotags.log

Development

  • IDE: Visual Studio 2019
  • Languages: C# 8.0, Python 3
  • SDK: .NET Core 3.1

Build

  1. Clone the repository
  2. Open and build in any Visual Studio past version 10.0.40219.1