0
mirror of https://github.com/valentineus/popov.link.git synced 2025-06-08 11:03:35 +03:00

Compare commits

..

No commits in common. "2f535ac598974740e7b9ac50a9351989f50112ea" and "4266100d7f52c440fc94cb02ed12deda14178548" have entirely different histories.

12 changed files with 372 additions and 391 deletions

View File

@ -6,12 +6,8 @@ on:
pull_request:
branches: [master]
permissions:
contents: read
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout repository

View File

@ -0,0 +1,18 @@
name: RenovateBot
on:
schedule:
- cron: "@daily"
jobs:
renovate:
container: ghcr.io/renovatebot/renovate:40-full
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Run Renovate updates
run: renovate
env:
RENOVATE_CONFIG_FILE: renovate.config.cjs
RENOVATE_REPOSITORIES: ${{ gitea.repository }}
RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }}

View File

@ -1,14 +0,0 @@
version: 2
updates:
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "weekly"
- package-ecosystem: "devcontainers"
directory: "/"
schedule:
interval: "weekly"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"

View File

@ -1,7 +0,0 @@
Copyright (c) 2025 Valentin Popov <valentin@popov.link>
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.

View File

@ -1,54 +1,49 @@
# popov.link
# Personal site
[![CI](https://github.com/valentineus/popov.link/actions/workflows/ci.yml/badge.svg)](https://github.com/valentineus/popov.link/actions/workflows/ci.yml)
This is my main site. The site publishes articles, useful information and notes. Also, the site serves as a hosting of free and personal images.
Personal website source code built with [Astro](https://astro.build/).
Principles of site development:
## Requirements
- Lightness and minimalism. The site is designed to store information, it's not a heavy application;
- Node.js v22 or later
- npm v11 or later
- Maximum cross-platform. Information should be read from any device and software;
- Focusing on content perception. Only useful information, nothing superfluous;
- No JS on the site. The site should be completely safe for the user;
## Development
1. Install dependencies:
To start a local server for development, you need:
1. Clone the source repository:
```bash
npm ci
git clone "https://github.com/valentineus/valentineus.github.io.git"
```
2. Start the development server:
2. Install packages:
```bash
npm run dev
cd valentineus.github.io && bundle update
```
3. Open your browser and go to http://localhost:3000 to view changes live.
## Build & Preview
- To build the project for production:
3. Start the server:
```bash
npm run build
bundle exec jekyll serve --host "${IP}" --port "${PORT}" --trace
```
- To preview the production build locally:
Please note in the executable command uses environment variables `IP` and `PORT`.
```bash
npm run preview
```
## License hosted material
## Project Info
<img width="256px" alt="CC BY-NC 3.0 License" src="https://raw.githubusercontent.com/valentineus/valentineus.github.io/master/assets/images/87624cb5-4a8f-4be4-90b6-0ec5b9a90333.png" />
- Maintained by [Valentin Popov](mailto:valentin@popov.link)
- Issues: [GitHub](https://github.com/valentineus/popov.link/issues)
- Read-only mirror: [code.popov.link](https://code.popov.link/valentineus/popov.link)
Material on the site is published on the CC BY-NC 3.0 license.
## Comments
## Source Code License
Comments on the site are powered by [giscus.app](https://giscus.app) and stored in [GitHub Discussions](https://github.com/valentineus/popov.link/discussions).
<img width="256px" alt="MIT License" src="https://raw.githubusercontent.com/valentineus/valentineus.github.io/master/assets/images/7d05cad0-d553-42c7-be1f-7007926ba720.png" />
## License
This project is licensed under the [MIT License](LICENSE.txt).
[MIT](LICENSE.txt). Copyright (c) [Valentin Popov](https://valentineus.link/).

624
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -4,11 +4,6 @@
"version": "2025.01.24",
"private": true,
"packageManager": "npm@11.4.1",
"browserslist": [
">0.2%",
"not dead",
"IE 11"
],
"scripts": {
"format": "prettier --write .",
"dev": "astro dev",
@ -22,7 +17,7 @@
"@astrojs/check": "^0.9.4",
"@astrojs/rss": "^4.0.12",
"@astrojs/sitemap": "^3.4.1",
"astro": "^5.9.0",
"astro": "^5.8.2",
"autoprefixer": "^10.4.21",
"cssnano": "^7.0.7",
"cssnano-preset-advanced": "^7.0.7",
@ -30,7 +25,7 @@
"mdast-util-to-string": "^4.0.0",
"reading-time": "^1.5.0",
"sass": "^1.89.1",
"typescript": "^5"
"typescript": "^5.8.3"
},
"devDependencies": {
"prettier": "^3.5.3",

View File

@ -3,19 +3,8 @@
"short_name": "popov.link",
"icons": [
{
"src": "favicon.png",
"sizes": "32x32",
"type": "image/png"
},
{
"src": "apple-touch-icon.png",
"sizes": "180x180",
"type": "image/png"
},
{
"src": "google-touch-icon.png",
"sizes": "512x512",
"type": "image/png"
"src": "google-touch-icon.png"
}
],
"background_color": "#ffffff",

6
renovate.config.cjs Normal file
View File

@ -0,0 +1,6 @@
module.exports = {
endpoint: "https://code.popov.link",
gitAuthor: "RenovateBot <renovatebot@noreply.localhost>",
optimizeForDisabled: true,
platform: "gitea",
};

View File

@ -2,15 +2,19 @@
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:recommended", ":disableDependencyDashboard"],
"assignees": ["valentineus"],
"labels": ["dependencies", "automated"],
"rangeStrategy": "bump",
"npm": {
"enabled": true,
"ignoreScripts": true,
"skipInstalls": false
},
"packageRules": [
{
"description": "Group patch & minor updates together",
"groupName": "all digest updates",
"groupSlug": "all-digest",
"matchUpdateTypes": ["minor", "patch", "pin", "digest"],
"matchPackageNames": ["*"],
"automerge": true
"matchPackageNames": ["*"]
}
]
}

View File

@ -22,8 +22,7 @@ const { description, title } = Astro.props;
<title>{title}</title>
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
<link rel="icon" type="image/png" href="/favicon.png" />
<link rel="icon" href="/favicon.png" />
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
<link rel="manifest" href="/manifest.json" />
<meta name="theme-color" content="#ffffff" />

View File

@ -1,5 +1,5 @@
$colorBg: #181818;
$colorBgAlt: rgba(0, 0, 0, 0.2);
$colorBgAlt: hwb(0deg 0% 100% / 20%);
$colorBgCode: #3b3d42;
$colorBlossom: #6da13f;
$colorFade: #598332;