2022-02-21 23:25:44 +01:00
|
|
|
<script>
|
|
|
|
import { onMount } from "svelte";
|
2023-09-14 21:11:41 +02:00
|
|
|
import Euro from "../util/Euro.svelte";
|
2022-02-21 23:25:44 +01:00
|
|
|
import Modal from "../util/Modal.svelte";
|
2023-09-14 21:11:41 +02:00
|
|
|
import OtherPlans from "./OtherPlans.svelte";
|
2022-02-21 23:25:44 +01:00
|
|
|
|
|
|
|
let file_expiry
|
|
|
|
let direct_linking
|
|
|
|
|
|
|
|
onMount(() => {
|
|
|
|
if (window.location.hash === "#direct_linking" || window.location.hash === "#hotlinking") {
|
|
|
|
direct_linking.toggle()
|
|
|
|
}
|
|
|
|
})
|
|
|
|
</script>
|
2023-09-14 21:11:41 +02:00
|
|
|
|
|
|
|
<section>
|
|
|
|
<p>
|
2024-11-18 17:09:27 +01:00
|
|
|
Pixeldrain features two different payment modes. We offer a monthly
|
|
|
|
subscription which is managed by Patreon, and a prepaid service which
|
|
|
|
supports a dozen different payment providers. For low usage Prepaid is
|
|
|
|
usually better as there's no monthly fee.
|
2023-09-14 21:11:41 +02:00
|
|
|
</p>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<div class="vertical_scroll">
|
|
|
|
<div class="grid">
|
2022-02-21 23:25:44 +01:00
|
|
|
<div></div>
|
2023-09-15 10:33:03 +02:00
|
|
|
<div class="top_row free_feat">
|
|
|
|
<span class="bold">Free</span>
|
2022-02-21 23:25:44 +01:00
|
|
|
</div>
|
2023-09-14 21:11:41 +02:00
|
|
|
<div class="top_row pro_feat">
|
2023-09-15 10:33:03 +02:00
|
|
|
<span class="bold">Pro</span>
|
2023-05-01 21:39:15 +02:00
|
|
|
</div>
|
2023-09-15 12:02:36 +02:00
|
|
|
<div class="top_row prepaid_feat">
|
2024-09-10 22:50:54 +02:00
|
|
|
<span class="bold">Prepaid</span>
|
2023-05-01 21:39:15 +02:00
|
|
|
</div>
|
2023-09-14 21:11:41 +02:00
|
|
|
|
|
|
|
<div class="left_col">
|
|
|
|
Price
|
2023-05-01 21:39:15 +02:00
|
|
|
</div>
|
2023-09-15 10:33:03 +02:00
|
|
|
<div class="feature_cell free_feat">
|
2023-09-14 21:11:41 +02:00
|
|
|
<span class="bold">Free</span>
|
2022-02-21 23:25:44 +01:00
|
|
|
</div>
|
2023-09-14 21:11:41 +02:00
|
|
|
<div class="feature_cell pro_feat">
|
|
|
|
<span class="bold">€4 / month</span> or
|
|
|
|
<span class="bold">€40 / year</span><br/>
|
|
|
|
Charged through Patreon
|
2022-02-21 23:25:44 +01:00
|
|
|
</div>
|
2023-09-15 12:02:36 +02:00
|
|
|
<div class="feature_cell prepaid_feat">
|
2024-09-18 22:07:26 +02:00
|
|
|
<span class="bold">No monthly fee</span>
|
2022-02-21 23:25:44 +01:00
|
|
|
</div>
|
2023-09-14 21:11:41 +02:00
|
|
|
|
|
|
|
<div class="left_col">
|
2023-09-15 18:10:35 +02:00
|
|
|
Downloading
|
2023-09-14 21:11:41 +02:00
|
|
|
</div>
|
2023-09-15 10:33:03 +02:00
|
|
|
<div class="feature_cell free_feat">
|
2024-09-23 19:47:46 +02:00
|
|
|
<span class="bold">6 GB per day</span><br/>
|
2023-09-15 18:10:35 +02:00
|
|
|
|
2023-10-24 11:27:29 +02:00
|
|
|
Download speed is reduced to 1 MiB/s when exceeded. Max 5 concurrent
|
2023-09-15 18:10:35 +02:00
|
|
|
downloads
|
2023-09-14 21:11:41 +02:00
|
|
|
</div>
|
2023-09-15 13:56:03 +02:00
|
|
|
<div class="feature_cell pro_feat">
|
2024-02-21 14:26:21 +01:00
|
|
|
<span class="bold">4 TB per 30 days</span><br/>
|
2023-09-15 18:10:35 +02:00
|
|
|
|
|
|
|
Transfer limit is used for downloading, sharing and hotlinking. No
|
|
|
|
connection limit
|
2023-09-14 21:11:41 +02:00
|
|
|
</div>
|
2023-09-15 13:56:03 +02:00
|
|
|
<div class="feature_cell prepaid_feat">
|
|
|
|
<span class="bold">€2 per TB transferred</span><br/>
|
2023-09-14 21:11:41 +02:00
|
|
|
|
2023-09-15 18:10:35 +02:00
|
|
|
Used for downloading, sharing and hotlinking. You only pay for what
|
|
|
|
you use. No connection limit
|
2023-09-14 21:11:41 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="left_col">
|
2022-03-22 23:02:47 +01:00
|
|
|
<button class="round" on:click={direct_linking.toggle}>
|
|
|
|
<i class="icon">info</i>
|
2023-09-14 21:11:41 +02:00
|
|
|
Hotlinking
|
2022-03-22 23:02:47 +01:00
|
|
|
</button>
|
|
|
|
</div>
|
2023-09-15 10:33:03 +02:00
|
|
|
<div class="feature_cell free_feat">
|
2024-02-21 14:26:21 +01:00
|
|
|
<span class="bold">Hotlinking not supported</span><br/>
|
|
|
|
Hotlinked files get blocked
|
2023-09-15 13:56:03 +02:00
|
|
|
</div>
|
|
|
|
<div class="feature_cell span2 pro_feat">
|
2024-02-21 14:26:21 +01:00
|
|
|
<span class="bold">Hotlinking supported</span><br/>
|
2023-09-15 13:56:03 +02:00
|
|
|
Hotlinking uses your transfer limit
|
2022-02-21 23:25:44 +01:00
|
|
|
</div>
|
2023-09-14 21:11:41 +02:00
|
|
|
|
2023-09-15 09:34:39 +02:00
|
|
|
<div class="left_col">
|
|
|
|
Storage
|
|
|
|
</div>
|
|
|
|
<div class="feature_cell span2 pro_feat">
|
|
|
|
<span class="bold">No limit</span><br/>
|
2023-09-15 18:10:35 +02:00
|
|
|
Files expire when they are not downloaded
|
2023-09-15 09:34:39 +02:00
|
|
|
</div>
|
2023-09-15 12:02:36 +02:00
|
|
|
<div class="feature_cell prepaid_feat">
|
2023-09-15 09:34:39 +02:00
|
|
|
<span class="bold">€4 / TB / month</span><br/>
|
2024-11-18 17:09:27 +01:00
|
|
|
No limit, you only pay for what you use
|
2023-09-15 09:34:39 +02:00
|
|
|
</div>
|
|
|
|
|
2023-09-14 21:11:41 +02:00
|
|
|
<div class="left_col">
|
|
|
|
<button class="round" on:click={file_expiry.toggle}>
|
|
|
|
<i class="icon">info</i>
|
|
|
|
File expiry
|
|
|
|
</button>
|
2022-02-21 23:25:44 +01:00
|
|
|
</div>
|
2023-09-15 10:33:03 +02:00
|
|
|
<div class="feature_cell free_feat">
|
2024-11-18 17:09:27 +01:00
|
|
|
<span class="bold">120 days</span> (4 months)
|
2023-09-14 21:11:41 +02:00
|
|
|
</div>
|
|
|
|
<div class="feature_cell pro_feat">
|
2023-09-15 13:56:03 +02:00
|
|
|
<span class="bold">240 days</span> (8 months)<br/>
|
2024-11-18 17:09:27 +01:00
|
|
|
Plans without expiry are available
|
2023-09-14 21:11:41 +02:00
|
|
|
</div>
|
2023-09-15 12:02:36 +02:00
|
|
|
<div class="feature_cell prepaid_feat">
|
2024-11-18 17:09:27 +01:00
|
|
|
<span class="bold">Files do not expire</span><br/>
|
|
|
|
While prepaid plan is active
|
2023-09-14 21:11:41 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="left_col">
|
2023-09-15 09:34:39 +02:00
|
|
|
Max file size
|
2023-09-14 21:11:41 +02:00
|
|
|
</div>
|
2023-09-15 10:33:03 +02:00
|
|
|
<div class="feature_cell free_feat">
|
2023-09-15 09:34:39 +02:00
|
|
|
<span class="bold">20 GB</span> per file
|
2023-09-14 21:11:41 +02:00
|
|
|
</div>
|
2023-09-15 09:34:39 +02:00
|
|
|
<div class="feature_cell span2 pro_feat">
|
2023-09-26 22:49:50 +02:00
|
|
|
<span class="bold">100 GB</span> per file
|
2023-09-14 21:11:41 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="left_col">
|
2023-11-29 12:33:04 +01:00
|
|
|
Payment processors
|
2023-09-14 21:11:41 +02:00
|
|
|
</div>
|
2023-11-29 12:33:04 +01:00
|
|
|
<div class="feature_cell free_feat">
|
2024-02-21 14:26:21 +01:00
|
|
|
<span class="bold">None</span>
|
2023-09-14 21:11:41 +02:00
|
|
|
</div>
|
2023-11-29 12:33:04 +01:00
|
|
|
<div class="feature_cell pro_feat">
|
|
|
|
<span class="bold">PayPal</span>, <span class="bold">Credit card</span>
|
2023-09-14 21:11:41 +02:00
|
|
|
</div>
|
2023-09-15 12:02:36 +02:00
|
|
|
<div class="feature_cell prepaid_feat">
|
2024-09-10 22:50:54 +02:00
|
|
|
<span class="bold">PayPal</span>, <span class="bold">SEPA</span>,
|
|
|
|
<span class="bold">Credit card</span><br/>
|
|
|
|
And many more
|
2022-02-21 23:25:44 +01:00
|
|
|
</div>
|
2023-09-14 21:11:41 +02:00
|
|
|
|
2022-02-21 23:25:44 +01:00
|
|
|
<div></div>
|
2023-09-15 10:33:03 +02:00
|
|
|
<div class="bottom_row free_feat">
|
2023-09-14 21:11:41 +02:00
|
|
|
Free
|
|
|
|
</div>
|
|
|
|
<div class="bottom_row pro_feat">
|
2022-02-21 23:25:44 +01:00
|
|
|
{#if window.user.subscription.id === "patreon_1"}
|
|
|
|
You have this plan<br/>
|
|
|
|
Thank you for supporting pixeldrain!
|
|
|
|
{:else}
|
2022-11-01 10:54:31 +01:00
|
|
|
<a href="https://www.patreon.com/join/pixeldrain/checkout?rid=5736701&cadence=1" class="button button_highlight round">
|
|
|
|
€ 4 per month
|
2022-02-21 23:25:44 +01:00
|
|
|
</a>
|
|
|
|
or
|
2022-11-01 10:54:31 +01:00
|
|
|
<a href="https://www.patreon.com/join/pixeldrain/checkout?rid=5736701&cadence=12" class="button button_highlight round">
|
|
|
|
€ 40 per year!
|
2022-02-21 23:25:44 +01:00
|
|
|
</a>
|
|
|
|
<br/>
|
|
|
|
(Excluding tax)
|
|
|
|
<br/>
|
|
|
|
Subscription managed by Patreon
|
|
|
|
{/if}
|
|
|
|
</div>
|
2023-09-15 12:02:36 +02:00
|
|
|
<div class="bottom_row prepaid_feat">
|
2023-09-14 21:11:41 +02:00
|
|
|
{#if window.user.username === ""}
|
|
|
|
<!-- User is not logged in -->
|
|
|
|
Account required<br/>
|
|
|
|
<a href="/login?redirect=checkout" class="button button_highlight round">
|
|
|
|
<i class="icon">login</i>
|
|
|
|
Log in
|
|
|
|
</a>
|
|
|
|
or
|
|
|
|
<a href="/register?redirect=checkout" class="button button_highlight round">
|
|
|
|
<i class="icon">how_to_reg</i>
|
|
|
|
Register
|
|
|
|
</a>
|
|
|
|
<br/>
|
|
|
|
Payments processed by Mollie<br/>
|
|
|
|
No recurring payments
|
|
|
|
{:else}
|
|
|
|
<!-- User is logged in -->
|
|
|
|
{#if window.user.subscription.type === ""}
|
2023-09-15 09:34:39 +02:00
|
|
|
<a href="/user/prepaid/deposit#deposit" class="button button_highlight round">
|
2023-09-14 21:11:41 +02:00
|
|
|
Deposit credit
|
|
|
|
</a>
|
|
|
|
to activate Prepaid
|
|
|
|
{:else if window.user.subscription.type === "patreon"}
|
|
|
|
Patreon subscription active. Prepaid cannot be activated
|
|
|
|
{:else if window.user.subscription.type === "prepaid"}
|
|
|
|
Prepaid plan is active.<br/>
|
|
|
|
Current balance <Euro amount={window.user.balance_micro_eur}/>
|
|
|
|
<br/>
|
2023-09-15 09:34:39 +02:00
|
|
|
<a href="/user/prepaid/deposit#deposit" class="button button_highlight round">
|
2023-09-14 21:11:41 +02:00
|
|
|
Top up my credit
|
|
|
|
</a>
|
|
|
|
{/if}
|
|
|
|
{/if}
|
|
|
|
</div>
|
2022-02-21 23:25:44 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2023-09-14 21:11:41 +02:00
|
|
|
<section>
|
2024-11-18 17:09:27 +01:00
|
|
|
<h2>Other plans available on Patreon</h2>
|
2023-09-14 21:11:41 +02:00
|
|
|
<OtherPlans/>
|
|
|
|
</section>
|
|
|
|
|
2022-02-21 23:25:44 +01:00
|
|
|
<Modal bind:this={file_expiry} title="File Expiry Postponing" padding>
|
|
|
|
<p>
|
2022-03-22 23:02:47 +01:00
|
|
|
Files on pixeldrain have to expire eventually. If we didn't do this the
|
|
|
|
website would keep growing forever and we would run out of money pretty
|
|
|
|
quickly.
|
2022-02-21 23:25:44 +01:00
|
|
|
</p>
|
|
|
|
<p>
|
2024-09-10 22:50:54 +02:00
|
|
|
Pixeldrain uses a postponing system for expiring files. When a file is
|
|
|
|
freshly uploaded it gets 120 days by default (240 days if you have the
|
|
|
|
pro plan). After these 120 days we will check when the file was last
|
|
|
|
viewed. Files which are regularly viewed could still bring new users to
|
|
|
|
the platform, it would be rude to show these people a File Not Found
|
|
|
|
page. So if the file was viewed in the last 120 days we will simply
|
|
|
|
postpone the next check a month. If the file was not viewed however, it
|
|
|
|
will be deleted.
|
2022-02-21 23:25:44 +01:00
|
|
|
</p>
|
|
|
|
<p>
|
2022-03-22 23:02:47 +01:00
|
|
|
Views are only counted when someone visits the download page in a web
|
|
|
|
browser. This makes sure that users can see that the file comes from
|
|
|
|
pixeldrain.
|
2022-02-21 23:25:44 +01:00
|
|
|
</p>
|
|
|
|
<p>
|
2022-03-22 23:02:47 +01:00
|
|
|
This way we can minimize dead links, and you won't have to tell your
|
|
|
|
friends to 'hurry and download this before it expires'.
|
2022-02-21 23:25:44 +01:00
|
|
|
</p>
|
|
|
|
</Modal>
|
|
|
|
|
|
|
|
<Modal bind:this={direct_linking} title="Hotlinking Bandwidth" padding>
|
|
|
|
<p>
|
2022-03-22 23:02:47 +01:00
|
|
|
Paying for bandwidth is the most expensive part of running pixeldrain.
|
|
|
|
Because of this we have to limit what can be downloaded and by who.
|
2022-02-21 23:25:44 +01:00
|
|
|
</p>
|
|
|
|
<p>
|
2022-03-22 23:02:47 +01:00
|
|
|
Normally when you view a file it's on pixeldrain's file viewer. The file
|
|
|
|
viewer is the page with the download button, the name of the file and a
|
|
|
|
frame where you can view the file if it's an image, video, audio, PDF or
|
|
|
|
text file.
|
2022-02-21 23:25:44 +01:00
|
|
|
</p>
|
|
|
|
<h3>Rate limiting</h3>
|
|
|
|
<p>
|
2022-03-22 23:02:47 +01:00
|
|
|
It's also possible to link directly to a file instead of the download
|
|
|
|
page. This circumvents our advertisers and branding and thus we lose
|
|
|
|
money when people do this. That's why I added 'hotlink protection mode'
|
|
|
|
to files. This mode is enabled when a file has been downloaded five
|
|
|
|
times more than it has been viewed through the file viewer. When hotlink
|
|
|
|
protection mode is activated a file cannot be downloaded through the
|
|
|
|
API, the request needs to come from the file viewer page. On the file
|
|
|
|
viewer you will see a CAPTCHA to fill in when you click the download
|
|
|
|
button.
|
2022-02-21 23:25:44 +01:00
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
More information about <a
|
2022-12-24 11:37:31 +01:00
|
|
|
href="https://en.wikipedia.org/wiki/Inline_linking" target="_blank"
|
|
|
|
rel="noreferrer">Hotlinking on Wikipedia</a>.
|
2022-02-21 23:25:44 +01:00
|
|
|
</p>
|
|
|
|
<h3>Hotlinking with a Pro subscription</h3>
|
|
|
|
<p>
|
2022-03-22 23:02:47 +01:00
|
|
|
When you have a Pro subscription you will get a monthly data transfer
|
|
|
|
limit for all the files on your account combined. Files you download
|
|
|
|
from pixeldrain are subtracted from the data cap. If you have <a
|
|
|
|
href="/user/subscription">Bandwidth sharing</a>
|
2022-02-21 23:25:44 +01:00
|
|
|
enabled your data cap is also used when other people download
|
|
|
|
your files.
|
|
|
|
</p>
|
|
|
|
<p>
|
2022-03-22 23:02:47 +01:00
|
|
|
In principle there is always someone who pays for the bandwidth usage
|
|
|
|
when a file is being downloaded:
|
2022-02-21 23:25:44 +01:00
|
|
|
</p>
|
|
|
|
<ol>
|
|
|
|
<li>
|
2022-03-22 23:02:47 +01:00
|
|
|
If the person downloading the file has a Pro subscription their data
|
|
|
|
cap is used.
|
2022-02-21 23:25:44 +01:00
|
|
|
</li>
|
|
|
|
<li>
|
2022-03-22 23:02:47 +01:00
|
|
|
If the person who uploaded the file has a Pro subscription and
|
|
|
|
Bandwidth sharing is enabled on their account, then the uploader's
|
|
|
|
data cap is used.
|
2022-02-21 23:25:44 +01:00
|
|
|
</li>
|
|
|
|
<li>
|
2022-03-22 23:02:47 +01:00
|
|
|
If neither the uploader nor the downloader has a Pro subscription
|
|
|
|
the download will be supported by advertisements on the download
|
|
|
|
page.
|
2022-02-21 23:25:44 +01:00
|
|
|
</li>
|
|
|
|
</ol>
|
|
|
|
<p>
|
2022-03-22 23:02:47 +01:00
|
|
|
The bandwidth cap on your account is a 30 day rolling window. This means
|
|
|
|
that bandwidth usage will expire 30 days after it was used. Your counter
|
|
|
|
will not reset at the start of the next month.
|
2022-02-21 23:25:44 +01:00
|
|
|
</p>
|
|
|
|
<p>
|
2022-03-22 23:02:47 +01:00
|
|
|
When a list of files is downloaded with the 'DL all files' button each
|
|
|
|
file in the resulting zip file will be counted separately.
|
2022-02-21 23:25:44 +01:00
|
|
|
</p>
|
|
|
|
</Modal>
|
|
|
|
|
|
|
|
<style>
|
2023-09-14 21:11:41 +02:00
|
|
|
.bold {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.vertical_scroll {
|
|
|
|
overflow-x: scroll;
|
|
|
|
overflow-y: hidden;
|
|
|
|
width: 100%;
|
2022-02-21 23:25:44 +01:00
|
|
|
}
|
2023-09-14 21:11:41 +02:00
|
|
|
|
|
|
|
.grid {
|
|
|
|
display: inline-grid;
|
|
|
|
grid-auto-flow: row;
|
|
|
|
grid-template-columns: 9em 1fr 1fr 1fr;
|
|
|
|
min-width: 40em;
|
2023-09-15 18:10:35 +02:00
|
|
|
max-width: 70em;
|
|
|
|
gap: 5px;
|
|
|
|
margin: 10px;
|
2022-02-21 23:25:44 +01:00
|
|
|
}
|
2023-09-14 21:11:41 +02:00
|
|
|
.grid > div {
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
2022-02-21 23:25:44 +01:00
|
|
|
text-align: center;
|
2023-09-14 21:11:41 +02:00
|
|
|
padding: 0.5em;
|
|
|
|
min-height: 3em;
|
2022-02-21 23:25:44 +01:00
|
|
|
}
|
2023-09-14 21:11:41 +02:00
|
|
|
|
|
|
|
.left_col {
|
2024-09-10 22:50:54 +02:00
|
|
|
border-top-left-radius: 6px;
|
|
|
|
border-bottom-left-radius: 6px;
|
2022-10-19 18:54:14 +02:00
|
|
|
border: 1px solid var(--separator);
|
2022-02-21 23:25:44 +01:00
|
|
|
}
|
2023-09-14 21:11:41 +02:00
|
|
|
.top_row {
|
2024-09-10 22:50:54 +02:00
|
|
|
border-top-left-radius: 6px;
|
|
|
|
border-top-right-radius: 6px;
|
2022-02-21 23:25:44 +01:00
|
|
|
}
|
2023-09-14 21:11:41 +02:00
|
|
|
.bottom_row {
|
2024-09-10 22:50:54 +02:00
|
|
|
border-bottom-left-radius: 6px;
|
|
|
|
border-bottom-right-radius: 6px;
|
2023-09-14 21:11:41 +02:00
|
|
|
border: 1px solid var(--separator);
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
.feature_cell {
|
2022-04-01 20:27:38 +02:00
|
|
|
background-color: var(--card_color);
|
2023-09-14 21:11:41 +02:00
|
|
|
border: 1px solid var(--background_color);
|
|
|
|
}
|
|
|
|
.pro_feat {
|
2022-10-19 18:54:14 +02:00
|
|
|
border: 1px solid var(--highlight_color);
|
2022-02-21 23:25:44 +01:00
|
|
|
}
|
2023-09-15 10:33:03 +02:00
|
|
|
.free_feat {
|
2023-09-15 12:02:36 +02:00
|
|
|
border: 1px solid #ebcb8b;
|
|
|
|
}
|
|
|
|
.prepaid_feat {
|
|
|
|
border: 1px solid #ec2cfa;
|
2023-09-15 10:33:03 +02:00
|
|
|
}
|
2023-09-14 21:11:41 +02:00
|
|
|
.span2 {
|
|
|
|
grid-column: span 2;
|
2022-02-21 23:25:44 +01:00
|
|
|
}
|
|
|
|
</style>
|