File size: 1,701 Bytes
9d90dc5
 
71ae3c3
9d90dc5
 
71ae3c3
 
 
9d90dc5
 
 
71ae3c3
9d90dc5
 
 
 
 
 
7ba3128
9d90dc5
7ba3128
9d90dc5
 
 
 
 
 
 
 
 
 
 
 
 
a90abba
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9d90dc5
d84ea71
9d90dc5
d84ea71
 
9d90dc5
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
---
license: apache-2.0
pretty_name: Chabiko Stream
---

# Dataset Card for Chabiko Stream

> "Rule 34 (Part AI). Anything that can be in a dataset, **will be in one** eventually given enough time." - KaraKaraWitch

XChan + Chibiko -> Chabiko

chabiko is a XChan scraper. and as such, Chabiko Stream is a daily dump of threads and posts of X chan posts.

## ArchiverModes

Broadly, the Archiver archives in 2 modes:

- "Archive" [The board supports archives of closed threads.]
  - Archives are refreshed at a max of 10 minutes. If boards are moving faster, refreshes happen more often.
- "PostStream" [The Board does not support archives. As such, fall back to Streaming as posts. (This is similar to MissingKeys.)]
  - Streams are refreshed at a max of 20 seconds. If boards are moving faster, refreshes happen more often.

## Supported Sites

- 4chan
- [TBD] Futaba Channel

## Formats

Both Archive modes are written to jsonl:

- For Archive mode, each json line represents an entire thread dump.
- For PostStream, each json represents a single post.

## Models

Refer to the following pydantic model for parsing:

```py
class AttachmentData(pydantic.BaseModel):
    attachment_url: str
    filename: str


class Post(pydantic.BaseModel):
    board: str
    thread: int
    pid:int
    name: str
    msg: str
    attachment: Optional[AttachmentData] = None
    posted:int
    
class Thread(pydantic.BaseModel):
    
    title:Optional[str]
    posts:list[Post]
```

## Notices

- Archiving only text for now since I need to see how much data images would take up.
- **Due to potential abuse, we are closing community posts.** Contact KaraKaraWitch in other known channels.

## License

Apache 2.0.