Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
*.jpg filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
/og-image.png -filter -diff -merge -text
*.psd filter=lfs diff=lfs merge=lfs -text
*.webp filter=lfs diff=lfs merge=lfs -text

Expand Down
15 changes: 13 additions & 2 deletions .github/workflows/github_workflows_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,22 @@ jobs:

# Copy files (overwrite if exists)
cp index.html deploy/
# Stamp dateModified with today's date so Dataset structured data stays current
sed -i "s/\"dateModified\": \"[^\"]*\"/\"dateModified\": \"$(date -u +%Y-%m-%d)\"/" deploy/index.html
cp agent-access.html deploy/
cp llms.txt deploy/
cp og-image.png deploy/
cp og-image.svg deploy/
cp packages.json deploy/
cp sitemap.xml deploy/

# Stamp dateModified with today's date so Dataset structured data stays current
sed -i "s/\"dateModified\": \"[^\"]*\"/\"dateModified\": \"$(date -u +%Y-%m-%d)\"/" deploy/index.html

# Stamp numberOfItems with the actual package count from packages.json
PACKAGE_COUNT=$(jq '.metadata.total // length' packages.json)
sed -i "s/\"numberOfItems\": [0-9]*/\"numberOfItems\": ${PACKAGE_COUNT}/" deploy/index.html

# Stamp sitemap lastmod with today's date
sed -i "s/<lastmod>[^<]*<\/lastmod>/<lastmod>$(date -u +%Y-%m-%d)<\/lastmod>/g" deploy/sitemap.xml

# Create .nojekyll to prevent Jekyll processing
touch deploy/.nojekyll
Expand Down
25 changes: 25 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,30 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Search current Windows Package Manager packages and copy exact winget install commands.">
<title>Winget Package Search</title>
<link rel="canonical" href="https://solrevdev.com/winget-search/">
<link rel="sitemap" type="application/xml" href="sitemap.xml">
<link rel="help" type="text/plain" href="llms.txt" title="Agent access instructions">
<link rel="alternate" type="application/json" href="packages.json" title="Winget package catalog">
<!-- Open Graph -->
<meta property="og:type" content="website">
<meta property="og:site_name" content="Winget Package Search">
<meta property="og:title" content="Winget Package Search">
<meta property="og:description" content="Search current Windows Package Manager packages and copy exact winget install commands.">
<meta property="og:url" content="https://solrevdev.com/winget-search/">
<meta property="og:image" content="https://solrevdev.com/winget-search/og-image.png">
<meta property="og:image:secure_url" content="https://solrevdev.com/winget-search/og-image.png">
<meta property="og:image:type" content="image/png">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">
<meta property="og:image:alt" content="Winget Package Search preview with a search box and winget install command.">
<!-- Twitter Card -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@solrevdev">
<meta name="twitter:creator" content="@solrevdev">
<meta name="twitter:title" content="Winget Package Search">
<meta name="twitter:description" content="Search current Windows Package Manager packages and copy exact winget install commands.">
<meta name="twitter:image" content="https://solrevdev.com/winget-search/og-image.png">
<meta name="twitter:image:alt" content="Winget Package Search preview with a search box and winget install command.">
<script type="application/ld+json">
{
"@context": "https://schema.org",
Expand All @@ -26,6 +48,9 @@
"url": "https://solrevdev.com/about/"
},
"license": "https://spdx.org/licenses/MIT.html",
"sameAs": "https://github.com/solrevdev/winget-search",
"numberOfItems": 0,
"variableMeasured": ["packageId", "name", "version", "publisher"],
"distribution": {
"@type": "DataDownload",
"encodingFormat": "application/json",
Expand Down
Binary file added og-image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
56 changes: 56 additions & 0 deletions og-image.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions sitemap.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://solrevdev.com/winget-search/</loc>
<lastmod>2025-05-29</lastmod>
<changefreq>daily</changefreq>
<priority>1.0</priority>
</url>
<url>
<loc>https://solrevdev.com/winget-search/agent-access.html</loc>
<lastmod>2025-05-29</lastmod>
<changefreq>weekly</changefreq>
<priority>0.5</priority>
</url>
</urlset>