Add Reddit contribs, update project contribs, other about page updates

This commit is contained in:
Hans5958 2022-07-03 12:11:05 +07:00
parent df5d3a08f1
commit 80207358f9
5 changed files with 5182 additions and 13 deletions

29
all-authors.py Normal file
View file

@ -0,0 +1,29 @@
import requests
authors = []
queue = []
post_read = 0
def get_authors(ids: list[str]):
global post_read, authors
post_read += len(ids)
print(f'Getting authors... ({post_read} read)')
response = requests.get('https://api.pushshift.io/reddit/search/submission/?ids=' + ','.join(ids))
for post in response.json()['data']:
if post['author'] not in authors:
authors.append(post['author'])
print(post['author'], end=', ')
print()
with open('data/read-ids.txt', 'r', encoding='utf-8') as f:
ids = f.readlines()
for id in ids:
id = id.strip()
queue.append(id)
if (len(queue) == 50):
get_authors(queue)
queue.clear()
get_authors(queue)
with open('all-authors.txt', 'w', encoding='utf-8') as f:
f.write('\n'.join(authors))

View file

@ -444,4 +444,14 @@ .period-group.no-time-slider .period-input-controls {
display: none !important;
}
/* about.html */
#credits a {
text-decoration: none;
}
#credits a:hover {
text-decoration: underline;
}
/* purgecss end ignore */

30
web/_js/about.js Normal file
View file

@ -0,0 +1,30 @@
/*
========================================================================
The 2022 r/place Atlas
An atlas of Reddit's 2022 r/place, with information to each
artwork of the canvas provided by the community.
Copyright (c) 2017 Roland Rytz <roland@draemm.li>
Copyright (c) 2022 Place Atlas contributors
Licensed under the GNU Affero General Public License Version 3
https://place-atlas.stefanocoding.me/license.txt
========================================================================
*/
const redditWrapperEl = document.querySelector('#reddit-contributors-wrapper')
fetch('all-authors.txt')
.then(response => response.text())
.then(text => text.trim().split('\n').sort())
.then(contributors => {
document.querySelector('#reddit-contributors-count').textContent = contributors.length
for (const index in contributors) {
contributor = contributors[index]
const userEl = document.createElement('a')
userEl.href = 'https://reddit.com/user/' + contributor
userEl.textContent = contributor
redditWrapperEl.appendChild(userEl)
redditWrapperEl.appendChild(document.createTextNode(' '))
}
})

View file

@ -80,27 +80,119 @@
<div class="col-md-7 col-xl-8">
<h1 class="display-5 fw-bold mb-4">The 2022 r/place Atlas</h1>
<p>This is an atlas aiming to chart all the artworks created during the <a href="https://www.reddit.com/r/place/">r/place</a> April Fools event on Reddit in 2022. It is made with information to each artwork of the canvas provided by the community.</p>
<p>The original code was developed by <a href="https://draemm.li/various/place-atlas/">Roland Rytz</a> (<a href="mailto:roland.rytz@gmail.com">mail</a>, <a href="https://reddit.com/user/draemmli/">reddit</a>) and is available under the free <a href="https://www.gnu.org/licenses/agpl-3.0.en.html">AGPL license</a> on <a href="https://github.com/RolandR/place-atlas">GitHub</a>.</p>
<p>The original code was developed by <a href="https://draemm.li/various/place-atlas/">Roland Rytz</a> <a href="mailto:roland.rytz@gmail.com"><i aria-label="Mail" class="bi bi-envelope"></i></a> <a href="https://reddit.com/user/draemmli/"><i aria-label="Reddit" class="bi bi-reddit"></i></a> and is available under the free <a href="https://www.gnu.org/licenses/agpl-3.0.en.html">AGPL license</a> on <a href="https://github.com/RolandR/place-atlas">GitHub</a>.</p>
<hr>
<p>The currently maintained version of the website is managed by Stefano Haagmans and is obtainable under the same license within a <a href="https://github.com/placeAtlas/atlas">GitHub fork</a>. Images are provided by <a href="https://place.thatguyalex.com/">Alex Tsernoh</a>.</p>
<p>The currently maintained version of the website is managed by Stefano Haagmans and is obtainable under the same license within a <a href="https://github.com/placeAtlas/atlas">GitHub fork</a>. Initial images are provided by <a href="https://place.thatguyalex.com/">Alex Tsernoh</a>.</p>
<p>Maintaining and updating the website takes work, but I enjoy doing it for free and giving this to people. But if you would like to support me, or the people who helped me with contributions to this project. You're free to support us though <a href="https://paypal.me/placeAtlas/5">PayPal</a>, <a href="https://www.patreon.com/placeAtlas">Patreon</a>, or <a href="https://ko-fi.com/placeatlas">Ko-Fi</a>.</p>
<p>To maintain the same tradition, I will also be offering stickers to anyone donating more then 20$ (Due to the size increase). But, you're not forced to do anything! This only shows appreciation to us and the people who've worked on this project</p>
<p>Roland Rytz worked on the Atlas full-time (and more!) for over two weeks during the 2017 r/place event. If you'd like to support Roland, you can do so by <a href="https://paypal.me/draemmli">PayPal</a>. If you donate more than 10(€/$/CHF/mBTC), He'll (hopefully) send you a nice sticker of the 2017 Place canvas!</p>
<h2>Contributing</h2>
<p>The Atlas relies on user contributions.</p>
<p>To contribute a label for an artwork, please read <a href="https://www.reddit.com/r/placeAtlas2/comments/tu203o/how_to_contribute/">this post on Reddit</a> to learn how to submit a new entry. Alternatively, contributions can be made directly on <a href="https://github.com/placeAtlas/atlas/blob/master/CONTRIBUTING.md">GitHub</a>.</p>
<p>The <a href="https://reddit.com/r/placeAtlas2/">r/placeAtlas2</a> subreddit is also the place to submit all bug reports, feature requests or questions.</p>
<h2>Contributors and Maintainers</h2>
<ul>
<li>Current maintainer: <a href="https://reddit.com/user/TCOOfficiall">TCOOfficiall</a></li>
<li>Images: <a href="https://reddit.com/user/prosto_sanja">prosto_sanja</a> (<a href="https://place.thatguyalex.com/">website</a>)</li>
<li>Contributor: <a href="https://reddit.com/user/electric-blue">electric-blue</a></li>
<li>Contributor: <a href="https://reddit.com/user/m654zy">m654zy</a></li>
<li>Contributor: <a href="https://reddit.com/user/xXLInkster17Xx">xXLInkster17Xx</a></li>
</ul>
<p>The 2022 Atlas would not have been possible without the help of our Reddit contributors. This section will be updated with all of the contributor's usernames.</p>
<p>Thank you to everyone who submitted new entries, amended existing ones, reported bugs and just supported the project in general.</p>
<div id="credits">
<h2>Credit</h2>
<h3>Project Contributors</h3>
<ul>
<li>Project Lead:
<a href="https://reddit.com/user/TCOOfficiall">TCOOfficiall</a> (Stefano Haagmans)
<a href="https://stefanocoding.me/"><i aria-label="Website" class="bi bi-globe"></i></a>
<a href="https://github.com/Codixer"><i aria-label="GitHub" class="bi bi-github"></i></a>
</li>
<li>Archival Team:
<ul>
<li>
<a href="https://github.com/electric-blue">electric-blue</a> (tycho)
<a href="https://github.com/ab-gh"><i aria-label="GitHub" class="bi bi-github"></i></a>
</li>
<li>
Nick12
<a href="https://github.com/nico-abram"><i aria-label="GitHub" class="bi bi-github"></i></a>
</li>
<li>
<a href="https://reddit.com/user/m654zy">m654zy</a>
</li>
<li>
<a href="https://reddit.com/user/AnonymousRandPerson">AnonymousRandPerson</a>
<a href="https://github.com/AnonymousRandomPerson"><i aria-label="GitHub" class="bi bi-github"></i></a>
</li>
</ul>
</li>
<li>Development Team:
<ul>
<li>skyyc</li>
<li>
<a href="https://reddit.com/user/prosto_sanja">prosto_sanja</a> (Alex Tsernoh)
<a href="https://place.thatguyalex.com/"><i aria-label="Website" class="bi bi-globe"></i></a>
<a href="https://github.com/ProstoSanja"><i aria-label="GitHub" class="bi bi-github"></i></a>
</li>
<li>jso</li>
<li>
<a href="https://reddit.com/user/Hans5958_">Hans5958_</a>
<a href="https://hans5958.github.io/"><i aria-label="Website" class="bi bi-globe"></i></a>
<a href="https://github.com/Hans5958"><i aria-label="GitHub" class="bi bi-github"></i></a>
</li>
<li>
<a href="https://reddit.com/user/mxdanger">mxdanger</a>
<a href="https://github.com/mxdanger"><i aria-label="GitHub" class="bi bi-github"></i></a>
</li>
</ul>
</li>
<li>Wiki Team:
<ul>
<li>
<a href="https://reddit.com/user/xXLInkster17Xx">xXLInkster17Xx</a> (Aeywoo)
<a href="https://github.com/Aeywoo"><i aria-label="GitHub" class="bi bi-github"></i></a>
</li>
<li>
Nick12
<a href="https://github.com/nico-abram"><i aria-label="GitHub" class="bi bi-github"></i></a>
</li>
<li>pax</li>
<li>Artillect</li>
<li>axollyon</li>
<li>
<a href="https://reddit.com/user/Crkza">Crzka</a> (Cappy)
<a href="https://github.com/korewaChino"><i aria-label="GitHub" class="bi bi-github"></i></a>
</li>
<li>CodeDev</li>
<li>dntk</li>
<li>Eurobat</li>
<li>FuriousChocolate</li>
<li>
<a href="https://reddit.com/geekahedron">geekahedron</a>
</li>
<li>Jim Milton</li>
<li>
Noah
<a href="https://github.com/NoahS04"><i aria-label="GitHub" class="bi bi-github"></i></a>
</li>
<li>Saya</li>
<li>
Sodapone
<a href="https://github.com/Sodapone"><i aria-label="GitHub" class="bi bi-github"></i></a>
</li>
<li>
tea
<a href="https://github.com/dreamingkills"><i aria-label="GitHub" class="bi bi-github"></i></a>
</li>
<li>Zurke</li>
</ul>
</li>
<li>Others:
<ul>
<li>"The Final Clean" canvas: r/TheFinalClean community</li>
<li>Everyone who contributes from <a href="https://github.com/placeAtlas/atlas/graphs/contributors">GitHub</a>, <a href="https://discord.gg/pJkm23b2nA">Discord</a>, or other channels.</li>
</ul>
</li>
</ul>
<h3>Reddit Contributors</h3>
<p>The 2022 Atlas would not have been possible without the help of our <span id="reddit-contributors-count"></span> Reddit contributors.</p>
<p>Thank you to everyone who submitted new entries, amended existing ones, reported bugs and just supported the project in general.</p>
<div id="reddit-contributors-wrapper" style="text-align: justify;"></div>
</div>
</div>
<div class="col-md-5 col-xl-4">
<div class="position-sticky" style="top: 5rem;">
@ -126,7 +218,7 @@ <h4>Sponsor this project</h4>
</div>
<div class="p-4">
<h4>Deployment</h4>
<p>Site powered by Netlify.</p>
<p>This site is powered by Netlify.</p>
<a class="d-flex flex-wrap justify-content-left gap-2" href="https://www.netlify.com" target="_blank" rel="noopener">
<img src="https://www.netlify.com/img/global/badges/netlify-color-bg.svg" alt="Deploys by Netlify" />
<img src="https://api.netlify.com/api/v1/badges/1e7291ce-0680-45ed-9843-47a32a992bbb/deploy-status" type="image/svg+xml" alt="Netlify status" />
@ -141,5 +233,6 @@ <h4>Deployment</h4>
</div>
</main>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js" crossorigin="anonymous"></script>
<script src="./_js/about.js" defer></script>
</body>
</html>

5007
web/all-authors.txt Normal file

File diff suppressed because it is too large Load diff