Arivertisements
An open source alternative to Johnvertisements from john.citrons.xyz!
# What's This?
TL;DR? We serve your silly images to people and optionally link the target website back. If you want yours arivertised, make an 722x84 image, create a meta file (see last point of # Arivertising Yourself), and email it to me.
This project was inspired by Johnvertisements from john.citrons.xyz, motivated by several significant concerns around security (unrestricted iframes), privacy (doesn't align with best practices), transparency (not FOSS), and performance (eager iframes, suboptimal performance & uptime).
This is why Arivertisements were born :D We aim to improve on silly non-commercial "advertisements", where we are not affiliated with anyone by aligning these silly embeds with best security, privacy, and open source practices.
But enough yap. Further see how to embed an Arivertisement on your website, how to contribute your own Arivertisement, our testimonials, or the leaderboard!
# Embedding an Arivertisement
To embed an Arivertisement, simply add an iframe pointing to https://ad.ari.lt/ads/embed, optionally with your URL to be listed on the public leaderboard: https://ad.ari.lt/ads/embed?from=example.com (or https://example.com/).
Here's a helper script to generate secure HTML to embed it:
If you want to use a strict CSP, you may want to move style into its own element (with a nonce) or a relevant stylesheet. Also, the "allow popups" attributes are for target="_blank" links to work, since Arivertisements can have a target To link on click :)
On average, a new Arivertisment will load every 5 minutes (client cache TTL). The Arivertisement images are cached for 30 days. Newer Arivertisements are prioritised with a dampened exponenential decay over 14 days.
# Arivertising Yourself
Everyone is encouraged to Arivertise. It is the best way to Arivertise. You are not required to have an Arivertisment embed on your website, but it is highly recommended. Either way, to Arivertise you have three options:
-
Contribute directly to the Arivertisements repository with a pull request (requires an account).
Expand for a note regarding repository size
- Please don't forget to optimise your image using online (e.g, "PNG optimiser online") or local tools such as
optipng -o7 -strip all my-ad.pngfor PNGs,jpegoptim --strip-all my-ad.jpgfor JPEGs, andgifsicle --batch --optimize=3 --lossy=100 --colors=40 my-ad.giffor GIFs. This helps to keep the respotory size small.
- Please don't forget to optimise your image using online (e.g, "PNG optimiser online") or local tools such as
-
Clone the Arivertisements repository on another forge (e.g., GitHub) and send an email to [email protected] (decentralised git)
Expand for a guide for GitHub
- Create an empty GitHub repository on your account called 'arivertisements'
- Run
git clone https://git.ari.lt/ari.lt/arivertisements --depth 1(you can leave out the--depth 1if you want to keep the whole commit history, but due to the repository size, it is recommended to only shallow clone) - Run
git remote set-url origin ssh://[email protected]:YourUsername/arivertisements.git(or the https version) -
Make your changes (based on
CONTRIBUTING.md), commit (signed +Signed-off-by), and push- Please don't forget to optimise your image using online (e.g, "PNG optimiser online") or local tools such as
optipng -o7 -strip all my-ad.pngfor PNGs,jpegoptim --strip-all my-ad.jpgfor JPEGs, andgifsicle --batch --optimize=3 --lossy=100 --colors=40 my-ad.giffor GIFs. This helps to keep the respotory size small.
- Please don't forget to optimise your image using online (e.g, "PNG optimiser online") or local tools such as
- Notify me on e-mail, after which I will manually
git pullyour repository to the upstream.
-
E-Mail [email protected] your metadata file and image, while giving explicit permission to forge a commit as you (direct contribution).
Expand for a guide on how to do that
- Create your image which meets the contribution guidelines at
CONTRIBUTING.mdin the Arivertisements repository (legal, moral, 722x84, common format, up to 256 KiB, optimised). - Optimise your image using online (e.g, "PNG optimiser online") or local tools such as
optipng -o7 -strip all my-ad.pngfor PNGs,jpegoptim --strip-all my-ad.jpgfor JPEGs, andgifsicle --batch --optimize=3 --lossy=100 --colors=40 my-ad.giffor GIFs. - Write your metadata file named the same as your image just a
.txtbased on the same guidelines: - Notify me on e-mail, attaching both the image and your metadata file, with explicit forging consent:
I am okay with you forging a git commit for me based on the provided metadata file and I affirm the contribution rules and conditions at https://git.ari.lt/ari.lt/arivertisements (CONTRIBUTING.md file)
The rules and conditions being your image and metadata meets requirements, is your own original and verifiable work, and you explicitly license it under the CC-BY-NC-SA 4.0 license for use in Arivertisements.
- Create your image which meets the contribution guidelines at
# Testimonials
- "I got my first email from a person who came accross the site [shittyweb.org] - they found it through the 'free money' Arivertisment" - Nathan Smith (shittyweb.org), a happy Arivertiser
- "Nathan from ad.ari.lt is so silly!" - Kali (dystopia.zip), silly and goofy Arivertiser
- "i farted" - jjj333_p (pain.agency), ewww stinky!!! Arivertiser
- Submit yours through email at [email protected]!
# Leaderboard of Top Arivertisers
General statistics:
- Total Arivertisements delivered: 23211
- Total Arivertisements in rotation: 21 +1 for yours...? We're waiting!
- Total sites Arivertising: 31 nudge nudge
Leaderboard:
| Domain/Website | Count |
|---|---|
| ari.lt | 9054 |
| shittyweb.org | 2800 |
| aria.coffee | 2087 |
| zenfyr.dev | 1224 |
| https://pain.agency | 907 |
| ari.express | 844 |
| dystopia.zip | 624 |
| koi.rip | 562 |
| https://priyanshoon.me/ | 444 |
| xan.lol | 303 |
Note: To be listed you must render at least 256 Arivertisements and have a valid A record at all times. To get delisted, email [email protected]. Trying to cheat will get your score reset to 0.