Skip to content

Commit

Permalink
Add download links for showcased projects.
Browse files Browse the repository at this point in the history
  • Loading branch information
artob committed Nov 14, 2024
1 parent 9a1bc68 commit 46530b4
Show file tree
Hide file tree
Showing 28 changed files with 167 additions and 97 deletions.
9 changes: 5 additions & 4 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,13 @@ end

def generate_markdown(input_paths)
StringIO.open do |out|
out.puts "| Project | Summary | Code |"
out.puts "| :------ | :------ | ---: |"
out.puts "| Project | Summary | Links |"
out.puts "| :------ | :------ | ----: |"
load_projects(input_paths).each do |project|
project_name = project['name']
project_link = "[#{project_name}](#{project['homepage']})"
project_desc = project['shortdesc']['en']
project_link = "[#{project_name}](#{project['homepage']})"
project_download = "[:arrow_down:](#{project['download-page']})"
project_repo = project['repository']
project_vcs = case
when project_repo.nil? then 'N/A'
Expand All @@ -49,7 +50,7 @@ def generate_markdown(input_paths)
else
"[:link:](#{project_repo['browse']})"
end
out.puts "| " + [project_link, project_desc, project_vcs].join(" | ") + " |"
out.puts "| " + [project_link, project_desc, project_vcs + ' ' + project_download].join(" | ") + " |"
end
out.string
end
Expand Down
25 changes: 24 additions & 1 deletion projects.json
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@
"shortdesc": {
"en": "URL parsing and manipulation made easy."
},
"download-page": "https://pypi.org/project/furl/",
"repository": {
"browse": "https://github.com/gruns/furl",
"location": "https://github.com/gruns/furl.git"
Expand All @@ -161,6 +162,7 @@
"shortdesc": {
"en": "Simple OpenGL core profile loader."
},
"download-page": "https://github.com/skaslev/gl3w",
"repository": {
"browse": "https://github.com/skaslev/gl3w",
"location": "https://github.com/skaslev/gl3w.git"
Expand Down Expand Up @@ -209,6 +211,7 @@
"shortdesc": {
"en": "The JavaScript code quality and coverage tool."
},
"download-page": "https://npmjs.com/package/@jslint-org/jslint",
"repository": {
"browse": "https://github.com/jslint-org/jslint",
"location": "https://github.com/jslint-org/jslint.git"
Expand All @@ -233,6 +236,7 @@
"shortdesc": {
"en": "An experimental text editor heavily inspired by Vim."
},
"download-page": "https://github.com/mawww/kakoune/releases",
"repository": {
"browse": "https://github.com/mawww/kakoune",
"location": "https://github.com/mawww/kakoune.git"
Expand Down Expand Up @@ -326,6 +330,7 @@
"shortdesc": {
"en": "A single-source-file, high-performance deflate/inflate compression library with a zlib-compatible API."
},
"download-page": "https://github.com/richgel999/miniz/releases",
"repository": {
"browse": "https://github.com/richgel999/miniz",
"location": "https://github.com/richgel999/miniz.git"
Expand All @@ -350,6 +355,7 @@
"shortdesc": {
"en": "A partial implementation of Google's Nearby Share/Quick Share for macOS."
},
"download-page": "https://github.com/grishka/NearDrop/releases",
"repository": {
"browse": "https://github.com/grishka/NearDrop",
"location": "https://github.com/grishka/NearDrop.git"
Expand Down Expand Up @@ -386,6 +392,7 @@
"shortdesc": {
"en": "An ECMAScript/Node.js library for handling RDF data."
},
"download-page": "https://npmjs.com/package/rdf",
"repository": {
"browse": "https://github.com/awwright/node-rdf",
"location": "https://github.com/awwright/node-rdf.git"
Expand Down Expand Up @@ -446,6 +453,7 @@
"shortdesc": {
"en": "A hunky Erlang worker pool factory."
},
"download-page": "https://hex.pm/packages/poolboy",
"repository": {
"browse": "https://github.com/devinus/poolboy",
"location": "https://github.com/devinus/poolboy.git"
Expand All @@ -470,6 +478,7 @@
"shortdesc": {
"en": "The fastest full-featured PostgreSQL client for Node.js, Deno, Bun, and Cloudflare."
},
"download-page": "https://npmjs.com/package/postgres",
"repository": {
"browse": "https://github.com/porsager/postgres",
"location": "https://github.com/porsager/postgres.git"
Expand All @@ -482,6 +491,7 @@
"shortdesc": {
"en": "Protoflow implements flow-based programming (FBP) for Rust using Protocol Buffers messages."
},
"download-page": "https://crates.io/crates/protoflow",
"repository": {
"browse": "https://github.com/AsimovPlatform/protoflow",
"location": "https://github.com/AsimovPlatform/protoflow.git"
Expand All @@ -494,6 +504,7 @@
"shortdesc": {
"en": "A lightweight, dependency-free Python library (and command-line utility) for downloading YouTube videos."
},
"download-page": "https://pypi.org/project/pytube/",
"repository": {
"browse": "https://github.com/pytube/pytube",
"location": "https://github.com/pytube/pytube.git"
Expand All @@ -506,6 +517,7 @@
"shortdesc": {
"en": "A Ruby library for working with Resource Description Framework (RDF) data."
},
"download-page": "https://rubygems.org/gems/rdf",
"repository": {
"browse": "https://github.com/ruby-rdf/rdf",
"location": "https://github.com/ruby-rdf/rdf.git"
Expand Down Expand Up @@ -542,6 +554,7 @@
"shortdesc": {
"en": "A line-oriented search tool that recursively searches the current directory for a regex pattern."
},
"download-page": "https://github.com/BurntSushi/ripgrep/releases",
"repository": {
"browse": "https://github.com/BurntSushi/ripgrep",
"location": "https://github.com/BurntSushi/ripgrep.git"
Expand All @@ -550,10 +563,11 @@
},
{
"name": "RSS-Bridge",
"homepage": "https://github.com/RSS-Bridge",
"homepage": "https://rss-bridge.org/bridge01/",
"shortdesc": {
"en": "A PHP web application that generates RSS feeds for websites that don't have one."
},
"download-page": "https://github.com/RSS-Bridge/rss-bridge/releases",
"repository": {
"browse": "https://github.com/RSS-Bridge/rss-bridge",
"location": "https://github.com/RSS-Bridge/rss-bridge.git"
Expand Down Expand Up @@ -590,6 +604,7 @@
"shortdesc": {
"en": "A set of single-file public domain libraries for C/C++."
},
"download-page": "https://github.com/nothings/stb",
"repository": {
"browse": "https://github.com/nothings/stb",
"location": "https://github.com/nothings/stb.git"
Expand Down Expand Up @@ -638,6 +653,7 @@
"shortdesc": {
"en": "A Ruby library for interacting with the Tor anonymity network."
},
"download-page": "https://rubygems.org/gems/tor",
"repository": {
"browse": "https://github.com/dryruby/tor.rb",
"location": "https://github.com/dryruby/tor.rb.git"
Expand All @@ -650,6 +666,7 @@
"shortdesc": {
"en": "A command-line translator powered by Google Translate, Bing Translator, Yandex.Translate, and Apertium."
},
"download-page": "https://github.com/soimort/translate-shell/releases",
"repository": {
"browse": "https://github.com/soimort/translate-shell",
"location": "https://github.com/soimort/translate-shell.git"
Expand All @@ -674,6 +691,7 @@
"shortdesc": {
"en": "A macOS application for designing CAMediaTimingFunction animation curves."
},
"download-page": "https://github.com/simonwhitaker/tween-o-matic/releases",
"repository": {
"browse": "https://github.com/simonwhitaker/tween-o-matic",
"location": "https://github.com/simonwhitaker/tween-o-matic.git"
Expand All @@ -686,6 +704,7 @@
"shortdesc": {
"en": "Aiming to write a public domain all-purpose standard library for Java."
},
"download-page": "https://bitbucket.org/Eclesia/un-lib/downloads/",
"repository": {
"browse": "https://bitbucket.org/Eclesia/un-lib",
"location": "https://bitbucket.org/Eclesia/un-lib.git"
Expand All @@ -710,6 +729,7 @@
"shortdesc": {
"en": "A collection of cryptographic functions written in C."
},
"download-page": "https://github.com/WaterJuice/WjCryptLib/releases",
"repository": {
"browse": "https://github.com/WaterJuice/WjCryptLib",
"location": "https://github.com/WaterJuice/WjCryptLib.git"
Expand All @@ -722,6 +742,7 @@
"shortdesc": {
"en": "A command-line program for indexing, slicing, analyzing, splitting, and joining CSV files."
},
"download-page": "https://github.com/BurntSushi/xsv/releases",
"repository": {
"browse": "https://github.com/BurntSushi/xsv",
"location": "https://github.com/BurntSushi/xsv.git"
Expand All @@ -734,6 +755,7 @@
"shortdesc": {
"en": "A command-line program to download videos from YouTube.com and a few more sites."
},
"download-page": "https://github.com/ytdl-org/youtube-dl/releases",
"repository": {
"browse": "https://github.com/rg3/youtube-dl",
"location": "https://github.com/rg3/youtube-dl.git"
Expand All @@ -746,6 +768,7 @@
"shortdesc": {
"en": "A feature-rich command-line audio/video downloader."
},
"download-page": "https://pypi.org/project/yt-dlp/",
"repository": {
"browse": "https://github.com/yt-dlp/yt-dlp",
"location": "https://github.com/yt-dlp/yt-dlp.git"
Expand Down
Loading

0 comments on commit 46530b4

Please sign in to comment.