-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
172 lines (166 loc) · 7.48 KB
/
index.html
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta property="og:title" content="Bluerain">
<meta property="og:description" content="Bluesky firehose visualized in a Matrix-style rain">
<meta property="og:site_name" content="Bluerain">
<meta property="og:image"
content="https://raw.githubusercontent.com/syxanash/bluerain/refs/heads/main/assets/images/banner.png">
<meta property="og:url" content="https://simone.computer/bluerain">
<meta property="og:type" content="website">
<meta name="twitter:card" content="summary">
<meta name="description" content="Bluesky firehose visualized in a Matrix-style rain">
<meta name="theme-color" content="#000000">
<meta name="author" content="Simone Marzulli">
<link rel="canonical" href="https://simone.computer/bluerain">
<link rel="icon" type="image/png" href="assets/images/favicon/favicon-96x96.png" sizes="96x96">
<link rel="icon" type="image/svg+xml" href="assets/images/favicon/favicon.svg">
<link rel="shortcut icon" href="assets/images/favicon/favicon.ico">
<link rel="apple-touch-icon" sizes="180x180" href="assets/images/favicon/apple-touch-icon.png">
<meta name="apple-mobile-web-app-title" content="Bluerain">
<link rel="manifest" href="site.webmanifest">
<title>Bluerain - A Matrix-Style Bluesky Firehose</title>
<link rel="stylesheet" href="assets/css/style.css">
<link rel="stylesheet" href="assets/css/cde/combined.min.css">
<link rel="stylesheet" href="assets/css/cde/skins/black.css">
<link rel="preload" as="font" href="assets/fonts/noto.woff" type="font/woff" crossorigin="anonymous">
</head>
<body>
<canvas>
</canvas>
<div class="corner-buttons fade-in">
<button id="showFilter">Filter</button>
<button id="showSettings">Settings</button>
<button id="toggleSound">Sound On</button>
<button id="pauseButton">Pause</button>
</div>
<div class="welcome-window">
<fieldset class="padding" style="background-color: black !important; padding: 10px;">
<span>THE BLUESKY FIREHOSE HAS YOU</span>
</fieldset>
</div>
<dialog id="filter-dialog" class="dialog-style" style="background-color: #00000045 !important;">
<div class="window active" style="background-color: #00000045 !important;">
<div class="title-bar">
<div class="title-bar-buttons">
<button id="aboutFilters" style="color: #c6c6c6;">?</button>
</div>
<div class="title-bar-text">
Filter Posts
</div>
<div class="title-bar-buttons">
<button id="filterCloseButton" data-close=""></button>
</div>
</div>
<div class="window-body" style="background-color: #00000045 !important;">
<div class="body-style skeet-message-dialog" style="background-color: #00000045 !important;">
Enter some words to filter new posts<br><br>
<div style="display: flex; align-items: center;">
<input id="filterInput" class="filter-input" type="text" value="" style="margin-right: 5px;">
<button id="filterSubmit">Add</button>
</div>
<div id="wordsListFiltered" class="filtered-list"></div>
<div id="wordsWarning" class="filter-warning">
If you don't see any posts try adding more words
</div>
</div>
</div>
</div>
</dialog>
<dialog id="skeet-dialog" class="dialog-style" style="background-color: #00000045 !important;">
<div class="window active" style="background-color: #00000045 !important;">
<div class="title-bar">
<div class="title-bar-text">
Post
</div>
<div class="title-bar-buttons">
<button id="skeetCloseButton" data-close=""></button>
</div>
</div>
<div class="window-body" style="background-color: #00000045 !important;">
<div class="body-style skeet-message-dialog" style="background-color: #00000045 !important;">
<span id="skeetMessage"></span><br><br>
<span id="skeetUrl" class="skeet-url-link"></span>
</div>
</div>
</div>
</dialog>
<dialog id="settings-dialog" class="dialog-style" style="background-color: #00000045 !important;">
<div class="window active" style="background-color: #00000045 !important;">
<div class="title-bar">
<div class="title-bar-text">
Settings
</div>
<div class="title-bar-buttons">
<button id="settingsCloseButton" data-close=""></button>
</div>
</div>
<div class="window-body" style="background-color: #00000045 !important;">
<div class="body-style" style="background-color: #00000045 !important;">
<button id="showEmojisButton">Hide Emojis</button><br><br>
<button id="toggleTextShadowButton">Enable Text Shadow</button><span id="firefoxShadowWarning"
style="font-weight: bold; display: none;"> <span class="noto-emoji-warning" role="img"
aria-label="warning">⚠</span> Slow
on Firefox!</span><br><br>
<button id="toggleNSFW">Hide NSFW Posts</button><br><br>
<span id="fullscreenButtonContainer"><button id="toggleFullscreen">Toggle Fullscreen</button><br><br></span>
<b>Rain speed</b>
<div class="group-buttons-container">
<button id="speedBtn1">1</button>
<button id="speedBtn2">2</button>
<button id="speedBtn3" class="active">3</button>
<button id="speedBtn4">4</button>
<button id="speedBtn5">5</button>
</div>
<b>Font size</b>
<div class="group-buttons-container">
<button id="fontSizeBtn1">1</button>
<button id="fontSizeBtn2">2</button>
<button id="fontSizeBtn3" class="active">3</button>
<button id="fontSizeBtn4">4</button>
<button id="fontSizeBtn5">5</button>
</div>
<div style="display: grid; padding-bottom: 20px;">
<span><b>Rain color</b></span>
<div class="dropdown select-wrapper">
<select id="colorDropdown" class="select-style">
<option>Blue</option>
<option>Green</option>
<option>Red</option>
<option>Orange</option>
<option>Pink</option>
<option>Yellow</option>
<option>White</option>
</select>
</div>
</div>
<div style="display: grid;">
<span><b>Rain font</b></span>
<div class="dropdown select-wrapper">
<select id="fontDropdown" class="select-style">
<option>Mono</option>
<option>Chicago</option>
<option>OCR-A</option>
<option>Matrix Code</option>
<option>Courier New</option>
<option>DatCub</option>
<option>White Rabbit</option>
<option>Space Mono</option>
</select>
</div>
</div>
<div class="credits">
<span>by <a style="color: #0ae2ff;" href="https://bsky.app/profile/simone.computer" target="_blank">syx</a>
<span class='noto-emoji-coffee' role="img" aria-label="coffee"><a href="https://ko-fi.com/syxanash"
target="_blank">☕</a></span></span>
</div>
</div>
</div>
</div>
</dialog>
<script type="module" src="assets/js/bluerain.js"></script>
</body>
</html>