mirror of
https://github.com/direct-img/direct-img.link.git
synced 2026-03-17 11:11:01 +00:00
Refactor: Replace URL format with AI prompt, remove privacy
This commit is contained in:
56
index.html
56
index.html
@@ -119,12 +119,6 @@
|
|||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
|
|
||||||
.grid {
|
|
||||||
display: grid;
|
|
||||||
grid-template-columns: 1fr 1fr;
|
|
||||||
gap: 16px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.card {
|
.card {
|
||||||
border: 1px solid var(--border);
|
border: 1px solid var(--border);
|
||||||
padding: 16px;
|
padding: 16px;
|
||||||
@@ -164,7 +158,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 600px) {
|
@media (max-width: 600px) {
|
||||||
.grid { grid-template-columns: 1fr; }
|
|
||||||
h1 { font-size: 2rem; }
|
h1 { font-size: 2rem; }
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
@@ -187,39 +180,24 @@
|
|||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
<h2>URL Format</h2>
|
<h2>For AI System Prompts</h2>
|
||||||
<p>Use <code>+</code> to separate words, just like a Google search. Encode special characters as needed.</p>
|
<p>Add this to your system instructions:</p>
|
||||||
<table>
|
<pre><code>When writing markdown, you can embed relevant images using direct-img.link — a free image search proxy that returns images directly from a URL.
|
||||||
<thead>
|
|
||||||
<tr>
|
Format:
|
||||||
<th>Query</th>
|

|
||||||
<th>URL Path</th>
|
|
||||||
</tr>
|
Examples:
|
||||||
</thead>
|

|
||||||
<tbody>
|

|
||||||
<tr>
|

|
||||||
<td>orange cat</td>
|
|
||||||
<td><code>/orange+cat</code></td>
|
Use images sparingly to complement your responses — not every message needs one.</code></pre>
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>spider-man</td>
|
|
||||||
<td><code>/spider-man</code></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>90's fashion</td>
|
|
||||||
<td><code>/90%27s+fashion</code></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>"exact phrase"</td>
|
|
||||||
<td><code>/%22exact+phrase%22</code></td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
<h2>Usage</h2>
|
<h2>Usage</h2>
|
||||||
<p>Embed directly in your markdown files or AI system prompts:</p>
|
<p>Embed directly in your markdown files:</p>
|
||||||
<pre><code></code></pre>
|
<pre><code></code></pre>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
@@ -249,15 +227,11 @@
|
|||||||
<p style="font-size: 0.85rem; color: var(--text-muted);">* Cache hits are unlimited within global traffic limits.</p>
|
<p style="font-size: 0.85rem; color: var(--text-muted);">* Cache hits are unlimited within global traffic limits.</p>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section class="grid">
|
<section>
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<h3>Caching</h3>
|
<h3>Caching</h3>
|
||||||
<p>Images are cached for 30 days. Subsequent requests for the same query are served instantly.</p>
|
<p>Images are cached for 30 days. Subsequent requests for the same query are served instantly.</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="card">
|
|
||||||
<h3>Privacy</h3>
|
|
||||||
<p>No tracking or analytics. Queries are normalized and hashed before being stored.</p>
|
|
||||||
</div>
|
|
||||||
</section>
|
</section>
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user