CaptiveDreamer commited on
Commit
2696ee2
·
1 Parent(s): 555bf94

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +69 -1
README.md CHANGED
@@ -1,3 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
- license: mit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  ---
 
1
+ # CaraArchive Index Dataset
2
+
3
+ ### 1) This is an Index Dataset, not an Image dataset
4
+ - This dataset contains **0 image data**.
5
+ - It only contains links to Cara App's CDN and metadata.
6
+ - HuggingFace may load some images in the preview because it detects the CDN links, however those images do not exist as data in this dataset, HF literally just loads them using your own connection as a preview.
7
+
8
+ ### 2) This dataset is *100% Complete*
9
+ - It includes **3.43 million posts** (and their thumbnails) from **790k users** to which belong **8.52 million artworks**, making a total of **~12 million image links**.
10
+ - Every user and every post on the platform (from 14/6/26 and before) is included here.
11
+ - Some people got the impression that not all of their posts are there because they searched their names in the CDN URLs, however *not all URLs include the name in them* (many use server timestamps and random hashes).
12
+
13
  ---
14
+
15
+ ### How to Query the Database `tool.py` (make sure catalog.db is in the directory)
16
+
17
+ To see a clean summary overview of an account
18
+ ```bash
19
+ python tool.py --user <username>
20
+ ```
21
+
22
+ To see all artworks, software, metadata and creator for a specific post:
23
+ ```bash
24
+ python tool.py --post <Post URL or ID>
25
+ ```
26
+
27
+ To find the post and creator that an artwork belongs to:
28
+ ```bash
29
+ python tool.py --art <CDN URL or filename>
30
+ ```
31
+
32
+ ---
33
+
34
+ ### Database Structure (`catalog.db`)
35
+
36
+ The SQLite database contains 3 main tables:
37
+
38
+ #### `master_artworks_12m` (8,522,366 rows)
39
+ Contains all full-resolution master artwork uploads.
40
+ - `id`: Unique image ID (`<post_id>_slide_<number>`)
41
+ - `post_id`: Post ID this artwork belongs to
42
+ - `author_slug`: Username of the creator
43
+ - `slide_number`: Order in the multi-image gallery (1, 2, 3...)
44
+ - `title`: Post title
45
+ - `cdn_url`: Direct high-res CDN link
46
+ - `width`: Image width in pixels
47
+ - `height`: Image height in pixels
48
+ - `created_at`: Upload timestamp
49
+
50
+ #### `artworks` (3,431,475 rows)
51
+ Contains all posts and cover thumbnails.
52
+ - `post_id`: Unique post ID
53
+ - `author_slug`: Username of the creator
54
+ - `author_id`: User UUID
55
+ - `cdn_url`: Cover image / thumbnail link
56
+ - `created_at`: Creation timestamp
57
+
58
+ #### `post_metadata` (3,431,475 rows)
59
+ Contains all tags, software, descriptions, and audit statuses.
60
+ - `post_id`: Post ID
61
+ - `author_slug`: Username
62
+ - `author_name`: Display name
63
+ - `title`: Post title
64
+ - `content`: Description / lore text
65
+ - `softwares`: Software used (e.g. `["Blender", "Photoshop"]`)
66
+ - `tags`: Categories and tags (e.g. `["Illustration", "ConceptArt"]`)
67
+ - `status_code`: HTTP status (`200` = active, `404` = deleted post, `403` = private)
68
+ - `is_deleted`: `1` if post was removed, `0` if active
69
+ - `created_at`: Creation timestamp
70
+
71
  ---