update dist folder to use contain prod build; small readme changes

This commit is contained in:
sevi-py
2025-08-17 20:04:53 +02:00
parent 2afd79d740
commit 29d17daa1d
5 changed files with 25 additions and 18 deletions

View File

@@ -47,14 +47,21 @@ A secure, self-hosted URL shortener with custom paswordless encryption. Perfect
pip install -r requirements.txt
```
3. **Start Server**
3. **Setup the config:**
```bash
cp config_template.json config.json
python generate_salts.py
```
You will see two salts, which you can use in the config.
4. **Start Server**
```bash
python main.py
```
4. Access at `http://localhost:5000`
5. Access at `http://localhost:5000`
### Deveopment
### Development
1. **Start development server:**
```bash

File diff suppressed because one or more lines are too long

View File

@@ -1,6 +1,6 @@
{
"name": "127.0.0.1:5000",
"short_name": "127.0.0.1:5000",
"name": "tnyr.me",
"short_name": "tnyr.me",
"icons": [
{
"src": "/assets/favicon/web-app-manifest-192x192.png",

View File

@@ -6,31 +6,31 @@
<link rel="icon" type="image/svg+xml" href="/favicon/favicon.svg" />
<link rel="shortcut icon" href="/favicon/favicon.ico" />
<link rel="apple-touch-icon" sizes="180x180" href="/favicon/apple-touch-icon.png" />
<meta name="apple-mobile-web-app-title" content="127.0.0.1:5000" />
<meta name="apple-mobile-web-app-title" content="tnyr.me" />
<link rel="manifest" href="/favicon/site.webmanifest" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="An easy to use end-to-end encrypted URL shortener. 127.0.0.1:5000 is privacy friendly and does not track you or store cookies" />
<link rel="canonical" href="https://127.0.0.1:5000" />
<meta name="description" content="An easy to use end-to-end encrypted URL shortener. tnyr.me is privacy friendly and does not track you or store cookies" />
<link rel="canonical" href="https://tnyr.me" />
<meta property="og:title" content="TNYR - Privacy friendly URL shortener" />
<meta property="og:site_name" content="127.0.0.1:5000">
<meta property="og:url" content="https://127.0.0.1:5000">
<meta property="og:description" content="A self encrypted url shortener that puts your privacy first, while being easy to use. 127.0.0.1:5000 doesn't track users, store cookies or log your requests.">
<meta property="og:site_name" content="tnyr.me">
<meta property="og:url" content="https://tnyr.me">
<meta property="og:description" content="A self encrypted url shortener that puts your privacy first, while being easy to use. tnyr.me doesn't track users, store cookies or log your requests.">
<meta property="og:type" content="website">
<meta property="og:image" content="https://127.0.0.1:5000/meta/logo.png">
<meta property="og:image" content="https://tnyr.me/meta/logo.png">
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "WebSite",
"name": "TNYR",
"url": "https://127.0.0.1:5000",
"description": "A self encrypted url shortener that puts your privacy first, while being easy to use. 127.0.0.1:5000 doesn't track users, store cookies or log your requests."
"url": "https://tnyr.me",
"description": "A self encrypted url shortener that puts your privacy first, while being easy to use. tnyr.me doesn't track users, store cookies or log your requests."
}
</script>
<title>127.0.0.1:5000 - Privacy friendly URL shortener</title>
<script type="module" crossorigin src="/assets/index-gh52jT1v.js"></script>
<title>tnyr.me - Privacy friendly URL shortener</title>
<script type="module" crossorigin src="/assets/index-RuzqiqvS.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-C46YJTI0.css">
</head>
<body>

View File

@@ -6,7 +6,7 @@
http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
<url>
<loc>https://127.0.0.1:5000/</loc>
<loc>https://tnyr.me/</loc>
</url>