Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3a23111c77 | ||
|
|
8878c8edbc | ||
|
|
3c31cf5e1d | ||
|
|
af6b6d7aef | ||
|
|
7bd0fb9e87 | ||
|
|
5fd823d95b | ||
|
|
da4926541d |
No files matched your search
@@ -0,0 +1,7 @@
|
||||
Copyright 2026 txarli.dev
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
@@ -1,46 +1,27 @@
|
||||
# Astro Starter Kit: Basics
|
||||
# YT2RSS
|
||||
|
||||
```sh
|
||||
npm create astro@latest -- --template basics
|
||||
```
|
||||
[Erreminta honen bidez](https://yt2rss.txarli.dev), gustoko duzun YouTube kanal baten RSS Feed-a eskuratzeko aukera izango duzu. Honekin, RSS irakurgailu bat erabilita, YouTube-ren algoritmoaren kapritxoetaz ihes egingo duzu eta kanal horrek argitaratutako igoera guztien berri izango duzu.
|
||||
|
||||
> 🧑🚀 **Seasoned astronaut?** Delete this file. Have fun!
|
||||
## 🚀 Proiektuaren egitura
|
||||
|
||||
## 🚀 Project Structure
|
||||
Proiektu hau [Astro](https://astro.build/) erabilita garatu da. Horretaz gain, zerbitzari batean [Docker](https://www.docker.com/) bidez ostatzeko konfigurazio fitxategiak daude (`docker-compose.yml` eta `Dockerfile`).
|
||||
|
||||
Inside of your Astro project, you'll see the following folders and files:
|
||||
## 🧞 Komando nagusiak
|
||||
|
||||
```text
|
||||
/
|
||||
├── public/
|
||||
│ └── favicon.svg
|
||||
├── src
|
||||
│ ├── assets
|
||||
│ │ └── astro.svg
|
||||
│ ├── components
|
||||
│ │ └── Welcome.astro
|
||||
│ ├── layouts
|
||||
│ │ └── Layout.astro
|
||||
│ └── pages
|
||||
│ └── index.astro
|
||||
└── package.json
|
||||
```
|
||||
|
||||
To learn more about the folder structure of an Astro project, refer to [our guide on project structure](https://docs.astro.build/en/basics/project-structure/).
|
||||
|
||||
## 🧞 Commands
|
||||
|
||||
All commands are run from the root of the project, from a terminal:
|
||||
Komando guztiak proiektuaren errotik, terminal bidez, botatzen dira:
|
||||
|
||||
| Command | Action |
|
||||
| :------------------------ | :----------------------------------------------- |
|
||||
| `npm install` | Installs dependencies |
|
||||
| `npm run dev` | Starts local dev server at `localhost:4321` |
|
||||
| `npm run build` | Build your production site to `./dist/` |
|
||||
| `npm run preview` | Preview your build locally, before deploying |
|
||||
| `npm run astro ...` | Run CLI commands like `astro add`, `astro check` |
|
||||
| `npm run astro -- --help` | Get help using the Astro CLI |
|
||||
| :---------------- | :--------------------------------------------------------------------- |
|
||||
| `npm install` | Dependentziak instalatzeko |
|
||||
| `npm run dev` | Garapenerako zerbitzari lokala altxatzen du `localhost:4321` helbidean |
|
||||
| `npm run build` | Produkziorako fitxategiak sortzen ditu `./dist/` direktorioan |
|
||||
| `npm run preview` | Build-a nola geratu den aurreikusteko |
|
||||
| `npm run start` | Build-a Node bidez altxatzen du |
|
||||
|
||||
## 👀 Want to learn more?
|
||||
## 🚢 Docker bidez altxatzeko
|
||||
|
||||
Feel free to check [our documentation](https://docs.astro.build) or jump into our [Discord server](https://astro.build/chat).
|
||||
Proiektuaren erroan, hurrengo komandoa erabili:
|
||||
|
||||
```
|
||||
docker compose up -d --build
|
||||
```
|
||||
|
Before Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 65 KiB |
|
Before Width: | Height: | Size: 19 KiB |
|
Before Width: | Height: | Size: 987 B |
|
Before Width: | Height: | Size: 2.4 KiB |
|
Before Width: | Height: | Size: 15 KiB |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y=".9em" font-size="80">🚀</text></svg>
|
||||
|
After Width: | Height: | Size: 109 B |
@@ -10,10 +10,15 @@ Spoiled Rotten (#b3bfe6)
|
||||
|
||||
.wrapper {
|
||||
background-color: #99b7cc;
|
||||
padding: 2em;
|
||||
|
||||
border-radius: 1em;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
padding: 1em;
|
||||
@media (min-width: 1220px) {
|
||||
padding: 2em;
|
||||
}
|
||||
}
|
||||
|
||||
.form {
|
||||
@@ -47,4 +52,5 @@ Spoiled Rotten (#b3bfe6)
|
||||
background-color: #b3bfe6;
|
||||
padding: 1em;
|
||||
border-radius: 0.5em;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
@@ -40,7 +40,7 @@ export const YT2RSS: React.FC = () => {
|
||||
return (
|
||||
<div className={styles.wrapper}>
|
||||
<form onSubmit={handleSubmit} className={styles.form}>
|
||||
<label htmlFor="ytUrl">Zure kanalaren helbidea:</label>
|
||||
<label htmlFor="ytUrl">YouTube Kanalaren helbidea:</label>
|
||||
|
||||
<input
|
||||
id="ytUrl"
|
||||
|
||||
@@ -3,9 +3,17 @@
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width" />
|
||||
<link rel="icon" href="/favicon.ico" />
|
||||
<link rel="icon" href="/favicon.svg" />
|
||||
<meta name="generator" content={Astro.generator} />
|
||||
<title>YouTube2RSS | txarli.dev</title>
|
||||
|
||||
<meta property="og:title" content="YouTube2RSS | txarli.dev" />
|
||||
<meta
|
||||
property="og:description"
|
||||
content="Erreminta honen bidez, gustoko duzun YouTube kanal baten RSS Feed-a eskuratzeko aukera izango duzu."
|
||||
/>
|
||||
<meta property="og:url" content="https://yt2rss.txarli.dev" />
|
||||
<meta property="og:type" content="website" />
|
||||
</head>
|
||||
<body>
|
||||
<slot />
|
||||
|
||||
@@ -7,7 +7,7 @@ import Layout from "../layouts/Layout.astro";
|
||||
<main>
|
||||
<h1>YouTube2RSS</h1>
|
||||
|
||||
<section>
|
||||
<section class="erreminta">
|
||||
<YT2RSS client:load />
|
||||
</section>
|
||||
|
||||
@@ -18,12 +18,16 @@ import Layout from "../layouts/Layout.astro";
|
||||
>{" "}
|
||||
eskuratzeko aukera izango duzu. Honekin, RSS irakurgailu bat erabilita, YouTube-ren
|
||||
algoritmoaren kapritxoetaz ihes egingo duzu eta kanal horrek argitaratutako
|
||||
bideo guztien berri izango duzu.
|
||||
igoera guztien berri izango duzu.
|
||||
</p>
|
||||
|
||||
<h2>Zer egingo du erreminta honek?</h2>
|
||||
<ol>
|
||||
<li>Zuk sartutako kanalaren HTML-a aztertuko du.</li>
|
||||
<li>
|
||||
Zuk sartutako kanalaren <a href="https://eu.wikipedia.org/wiki/HTML"
|
||||
>HTML-a</a
|
||||
> aztertuko du.
|
||||
</li>
|
||||
<li>
|
||||
HTML horretan ezkutatuta dagoen RSS Feed-erako URL-a eskuratuko du.
|
||||
</li>
|
||||
@@ -32,7 +36,7 @@ import Layout from "../layouts/Layout.astro";
|
||||
</li>
|
||||
</ol>
|
||||
|
||||
<h2>Zer ez du egingo erreminta honek</h2>
|
||||
<h2>Zer ez du egingo erreminta honek?</h2>
|
||||
<ul>
|
||||
<li>Ez du zure daturik gordeko.</li>
|
||||
<li>Ez du zure erabileraren jarraipenik egingo.</li>
|
||||
@@ -50,16 +54,26 @@ import Layout from "../layouts/Layout.astro";
|
||||
>.
|
||||
</p>
|
||||
|
||||
<p>Espero dut erabilgarria izatea! 😊</p>
|
||||
<p>Espero dut erabilgarri izatea! 😊</p>
|
||||
</section>
|
||||
</main>
|
||||
</Layout>
|
||||
|
||||
<style>
|
||||
<style lang="scss">
|
||||
h1 {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.erreminta {
|
||||
margin-bottom: 2em;
|
||||
|
||||
width: 100%;
|
||||
|
||||
@media (min-width: 1220px) {
|
||||
width: 120ch;
|
||||
}
|
||||
}
|
||||
|
||||
.sarrera {
|
||||
max-width: 66ch;
|
||||
margin-bottom: 2em;
|
||||
@@ -69,6 +83,7 @@ import Layout from "../layouts/Layout.astro";
|
||||
main {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
padding: 1em;
|
||||
}
|
||||
</style>
|
||||