Anonymize artist identifiers via hashing and remove copyrighted text to comply with Huggingface's request
Deleted (see Changed for replacement)
usernames.txt790k- In
catalog.dbtitle(text) β removed, replaced bytitle_len;content(text) β removed, replaced bycontent_len;bio(text) β removed, replaced bybio_len - In
catalog.dbauthor_slug(text) β removed;author_name(text) β removed;author_id(text) β removed; all three replaced by singlesalted_hash
Changes for catalog.db
| Before | After |
|---|---|
author_slug + author_name + author_id (example_slug / ExampleArtist / 00000000-0000-0000-0000-000000000000) |
salted_hash 16 hex e.g. ab39ba031b36f554 |
title Example Title |
title_len 13 |
content Example content text ... |
content_len 248 |
bio Example bio β€οΈ |
bio_len 130 |
Added: follower_counter following_counter (for every user), images table including: post_id, ord, cdn_url, is_cover, is_ai_auto_flagged, width, height 8.5M slides, plus kept raw_tags, status_code, is_deleted, softwares, tags.
salted_hash is SHA256(slug + secret constant salt) truncated to 16 hex. Same artist β same hash. It is impossible to obtain user information from salted hash.
Source: Saverign/CaraArchive:salted-hash 9c3f38d catalog.db 4.8G artworks 3,431,475 post 3,431,474 images 8,521,351.
This PR does not update the README, the maintainer will need to update it.
using salted usernames instead of plaintext is smart.
but, i dont think we have to remove title/content ?
title maybe not, content can probably be copyrighted
lets talk on discord, username is saverign
Get this confirmed by HF staff as well.