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

Compare commits

...

7 Commits

Author SHA1 Message Date
2f535ac598
docs: update README and license
* docs: update README and add licenses

* chore: remove unused materials license and update README for clarity
2025-06-06 04:03:32 +04:00
b1c85503d6
revert: update comment section theme 2025-06-05 23:52:13 +00:00
009dca3402
style: update comment section theme 2025-06-05 23:50:10 +00:00
e56c4f3edf
perf: improve site icon loading 2025-06-05 23:33:09 +00:00
e9612c756b
feat: add IE11 compatibility 2025-06-05 23:22:39 +00:00
eb36082087
chore(deps): update dependencies 2025-06-05 23:16:27 +00:00
81bcfbdc65
Migrate from Gitea Actions to GitHub Actions 2025-06-05 23:12:22 +00:00
12 changed files with 391 additions and 372 deletions

View File

@ -1,18 +0,0 @@
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 }}

14
.github/dependabot.yml vendored Normal file
View File

@ -0,0 +1,14 @@
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

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

View File

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

7
LICENSE.txt Normal file
View File

@ -0,0 +1,7 @@
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,49 +1,54 @@
# Personal site
# popov.link
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.
[![CI](https://github.com/valentineus/popov.link/actions/workflows/ci.yml/badge.svg)](https://github.com/valentineus/popov.link/actions/workflows/ci.yml)
Principles of site development:
Personal website source code built with [Astro](https://astro.build/).
- Lightness and minimalism. The site is designed to store information, it's not a heavy application;
## Requirements
- 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;
- Node.js v22 or later
- npm v11 or later
## Development
To start a local server for development, you need:
1. Clone the source repository:
1. Install dependencies:
```bash
git clone "https://github.com/valentineus/valentineus.github.io.git"
npm ci
```
2. Install packages:
2. Start the development server:
```bash
cd valentineus.github.io && bundle update
npm run dev
```
3. Start the server:
3. Open your browser and go to http://localhost:3000 to view changes live.
## Build & Preview
- To build the project for production:
```bash
bundle exec jekyll serve --host "${IP}" --port "${PORT}" --trace
npm run build
```
Please note in the executable command uses environment variables `IP` and `PORT`.
- To preview the production build locally:
## License hosted material
```bash
npm run preview
```
<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" />
## Project Info
Material on the site is published on the CC BY-NC 3.0 license.
- 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)
## Source Code License
## Comments
<img width="256px" alt="MIT License" src="https://raw.githubusercontent.com/valentineus/valentineus.github.io/master/assets/images/7d05cad0-d553-42c7-be1f-7007926ba720.png" />
Comments on the site are powered by [giscus.app](https://giscus.app) and stored in [GitHub Discussions](https://github.com/valentineus/popov.link/discussions).
[MIT](LICENSE.txt). Copyright (c) [Valentin Popov](https://valentineus.link/).
## License
This project is licensed under the [MIT License](LICENSE.txt).

624
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -4,6 +4,11 @@
"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",
@ -17,7 +22,7 @@
"@astrojs/check": "^0.9.4",
"@astrojs/rss": "^4.0.12",
"@astrojs/sitemap": "^3.4.1",
"astro": "^5.8.2",
"astro": "^5.9.0",
"autoprefixer": "^10.4.21",
"cssnano": "^7.0.7",
"cssnano-preset-advanced": "^7.0.7",
@ -25,7 +30,7 @@
"mdast-util-to-string": "^4.0.0",
"reading-time": "^1.5.0",
"sass": "^1.89.1",
"typescript": "^5.8.3"
"typescript": "^5"
},
"devDependencies": {
"prettier": "^3.5.3",

View File

@ -3,8 +3,19 @@
"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",
"src": "google-touch-icon.png"
"type": "image/png"
}
],
"background_color": "#ffffff",

View File

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

View File

@ -22,7 +22,8 @@ const { description, title } = Astro.props;
<title>{title}</title>
<link rel="icon" href="/favicon.png" />
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
<link rel="icon" type="image/png" 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: hwb(0deg 0% 100% / 20%);
$colorBgAlt: rgba(0, 0, 0, 0.2);
$colorBgCode: #3b3d42;
$colorBlossom: #6da13f;
$colorFade: #598332;