Skip to content

Commit

Permalink
Convert github and twitter to full URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
fileformat committed Dec 24, 2024
1 parent 140e8c3 commit 448041e
Show file tree
Hide file tree
Showing 7,347 changed files with 38,670 additions and 38,679 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
47 changes: 47 additions & 0 deletions bin/fm-full-urls.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
#!/usr/bin/env python3
#
#

import argparse
import frontmatter
import os
import yaml

default_path = "../www/logos"

parser = argparse.ArgumentParser()
parser.add_argument("--directory", help="directory with logo subdirectories", action="store", default=default_path)
parser.add_argument("-q", "--quiet", help="hide status messages", default=True, dest='verbose', action="store_false")

args = parser.parse_args()

logoroot = args.directory
dirs = [f for f in os.listdir(logoroot) if os.path.isdir(os.path.join(logoroot, f))]
dirs.sort()
for logodir in dirs:
#print("INFO: procssing %s" % logodir)

indexfn = os.path.join(logoroot, logodir, "index.md")
if os.path.exists(indexfn) == False:
print("WARNING: no index.md for %s" % logodir)
continue

indexmd = frontmatter.load(indexfn)

if "twitter" not in indexmd.keys() and "github" not in indexmd.keys():
print("DEBUG: skipping %s (%s)" % (indexmd["title"], indexmd["logohandle"]))
continue
print("DEBUG: processing %s (%s)" % (indexmd["title"], indexmd["logohandle"]))

if "twitter" in indexmd.keys():
if "://" not in indexmd["twitter"]:
indexmd["twitter"] = "https://x.com/%s" % indexmd["twitter"]

if "github" in indexmd.keys():
if "://" not in indexmd["github"]:
indexmd["git"] = "https://github.com/%s" % indexmd["github"]
del indexmd["github"]

#print("%s" % frontmatter.dumps(indexmd))

frontmatter.dump(indexmd, indexfn)
12 changes: 6 additions & 6 deletions www/logos/100mslive/index.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
facebook: 'https://facebook.com/100mslive'
github: 100mslive
linkedin: 'https://linkedin.com/company/100mslive/about'
facebook: https://facebook.com/100mslive
git: https://github.com/100mslive
linkedin: https://linkedin.com/company/100mslive/about
logohandle: 100mslive
sort: 100ms
title: 100ms
twitter: 100mslive
website: 'https://www.100ms.live/'
---
twitter: https://x.com/100mslive
website: https://www.100ms.live/
---
14 changes: 7 additions & 7 deletions www/logos/100tb/index.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
blog: 'https://blog.100tb.com/'
facebook: 'https://facebook.com/100tb'
googleplus: 'https://plus.google.com/+100tb'
linkedin: 'https://www.linkedin.com/company/100tb'
blog: https://blog.100tb.com/
facebook: https://facebook.com/100tb
googleplus: https://plus.google.com/+100tb
linkedin: https://www.linkedin.com/company/100tb
logohandle: 100tb
sort: 100tb
title: 100TB
twitter: 100tb
website: 'https://www.100tb.com/'
---
twitter: https://x.com/100tb
website: https://www.100tb.com/
---
8 changes: 4 additions & 4 deletions www/logos/10xbanking/index.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
linkedin: 'https://linkedin.com/company/10x-banking'
linkedin: https://linkedin.com/company/10x-banking
logohandle: 10xbanking
sort: 10xbanking
tags:
- fintech
title: 10x Banking
twitter: 10xBanking
website: 'https://www.10xbanking.com/'
---
twitter: https://x.com/10xBanking
website: https://www.10xbanking.com/
---
14 changes: 7 additions & 7 deletions www/logos/11fs/index.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
instagram: 'https://instagram.com/11fsteam'
linkedin: 'https://linkedin.com/company/11-fs'
instagram: https://instagram.com/11fsteam
linkedin: https://linkedin.com/company/11-fs
logohandle: 11fs
sort: 11fs
title: '11:FS'
twitter: 11fs
website: 'https://11fs.com/'
youtube: 'https://youtube.com/channel/UC3eVdgT1EHwIxG5ynO42XXg'
---
title: 11:FS
twitter: https://x.com/11fs
website: https://11fs.com/
youtube: https://youtube.com/channel/UC3eVdgT1EHwIxG5ynO42XXg
---
8 changes: 4 additions & 4 deletions www/logos/11tydev/index.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
github: 11ty/eleventy
git: https://github.com/11ty/eleventy
logohandle: 11tydev
sort: 11ty
title: Eleventy
website: 'https://www.11ty.dev/'
youtube: 'https://youtube.com/c/EleventyVideo'
---
website: https://www.11ty.dev/
youtube: https://youtube.com/c/EleventyVideo
---
14 changes: 7 additions & 7 deletions www/logos/15five/index.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
blog: 'https://15five.com/blog'
facebook: 'https://facebook.com/15Five'
instagram: 'https://instagram.com/humansof15five'
linkedin: 'https://linkedin.com/company/15five'
blog: https://15five.com/blog
facebook: https://facebook.com/15Five
instagram: https://instagram.com/humansof15five
linkedin: https://linkedin.com/company/15five
logohandle: 15five
sort: 15five
title: 15Five
twitter: 15Five
website: 'https://www.15five.com/'
---
twitter: https://x.com/15Five
website: https://www.15five.com/
---
16 changes: 8 additions & 8 deletions www/logos/1800baskets/index.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
facebook: 'https://facebook.com/1800baskets'
instagram: 'https://instagram.com/1800baskets'
linkedin: 'https://linkedin.com/company/1800baskets-com'
facebook: https://facebook.com/1800baskets
instagram: https://instagram.com/1800baskets
linkedin: https://linkedin.com/company/1800baskets-com
logohandle: 1800baskets
pinterest: 'https://pinterest.com/1800baskets'
pinterest: https://pinterest.com/1800baskets
sort: 1800baskets
title: 1-800-baskets.com
twitter: 1800baskets
website: 'https://www.1800baskets.com/'
youtube: 'https://youtube.com/1800baskets'
---
twitter: https://x.com/1800baskets
website: https://www.1800baskets.com/
youtube: https://youtube.com/1800baskets
---
14 changes: 7 additions & 7 deletions www/logos/1800flowers/index.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
facebook: 'https://facebook.com/1800flowers'
instagram: 'https://instagram.com/1800flowers'
facebook: https://facebook.com/1800flowers
instagram: https://instagram.com/1800flowers
logohandle: 1800flowers
pinterest: 'https://pinterest.com/1800flowers'
pinterest: https://pinterest.com/1800flowers
sort: 1800flowers
title: 1-800-Flowers.com
twitter: 1800flowers
website: 'https://www.1800flowers.com/'
youtube: 'https://youtube.com/1800flowers'
---
twitter: https://x.com/1800flowers
website: https://www.1800flowers.com/
youtube: https://youtube.com/1800flowers
---
6 changes: 3 additions & 3 deletions www/logos/1and1/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ blog: http://newsroom.1and1.com/
colors:
- '#002276'
facebook: https://www.facebook.com/1and1
github: 1and1
git: https://github.com/1and1
images:
- 1and1-icon.svg
- 1and1-ar21.svg
Expand All @@ -13,7 +13,7 @@ tags:
- hosting
- domains
title: 1and1
twitter: 1and1
twitter: https://x.com/1and1
website: https://www.1and1.com/
wikipedia: https://en.wikipedia.org/wiki/1%261_Internet
---
---
18 changes: 9 additions & 9 deletions www/logos/1degree/index.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
blog: 'https://medium.com/one-degree'
facebook: 'https://facebook.com/1degree.org'
github: 1deg
instagram: 'https://instagram.com/1deg'
linkedin: 'http://linkedin.com/company/one-degree-inc-'
blog: https://medium.com/one-degree
facebook: https://facebook.com/1degree.org
git: https://github.com/1deg
instagram: https://instagram.com/1deg
linkedin: http://linkedin.com/company/one-degree-inc-
logohandle: 1degree
sort: 1degree
title: One Degree
twitter: 1deg
website: 'https://www.1degree.org/'
youtube: 'https://youtube.com/user/1degorg'
---
twitter: https://x.com/1deg
website: https://www.1degree.org/
youtube: https://youtube.com/user/1degorg
---
19 changes: 9 additions & 10 deletions www/logos/1password/index.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
---
blog: 'https://blog.agilebits.com/'
facebook: 'https://facebook.com/1Password'
github: 1Password
instagram: 'https://instagram.com/agilebits'
linkedin: 'https://linkedin.com/company/1Password'
blog: https://blog.agilebits.com/
facebook: https://facebook.com/1Password
git: https://github.com/1Password
instagram: https://instagram.com/agilebits
linkedin: https://linkedin.com/company/1Password
logohandle: 1password
sort: 1password
tags:
- password_manager
title: 1Password
twitter: 1Password
website: 'https://1password.com/'
twitter: https://x.com/1Password
website: https://1password.com/
wikipedia: https://en.wikipedia.org/wiki/1Password
youtube: 'https://youtube.com/1PasswordVideos'
---

youtube: https://youtube.com/1PasswordVideos
---
10 changes: 5 additions & 5 deletions www/logos/1paynetwork/index.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
blog: 'https://1pay.network/blog'
github: 1pay-network
blog: https://1pay.network/blog
git: https://github.com/1pay-network
logohandle: 1paynetwork
sort: 1pay
title: 1Pay Network
twitter: 1paynetwork
website: 'https://1pay.network/'
---
twitter: https://x.com/1paynetwork
website: https://1pay.network/
---
14 changes: 7 additions & 7 deletions www/logos/23gnl/index.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
dribbble: 'https://dribbble.com/23G'
facebook: 'https://facebook.com/23gnl'
instagram: 'https://instagram.com/23g_nl'
linkedin: 'https://www.linkedin.com/company/23g/'
dribbble: https://dribbble.com/23G
facebook: https://facebook.com/23gnl
instagram: https://instagram.com/23g_nl
linkedin: https://www.linkedin.com/company/23g/
logohandle: 23gnl
sort: 23g
title: 23G
twitter: 23g_nl
website: 'https://23g.nl/'
---
twitter: https://x.com/23g_nl
website: https://23g.nl/
---
14 changes: 7 additions & 7 deletions www/logos/24heuresch/index.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
facebook: 'https://facebook.com/24heures.ch'
instagram: 'https://instagram.com/24heures.ch'
linkedin: 'https://linkedin.com/company/24-heures'
facebook: https://facebook.com/24heures.ch
instagram: https://instagram.com/24heures.ch
linkedin: https://linkedin.com/company/24-heures
logohandle: 24heuresch
sort: 24heures
title: 24 heures
twitter: 24heuresch
website: 'https://www.24heures.ch/'
youtube: 'https://youtube.com/channel/UCM_qQbU6ZHF4a50i5QhGqiQ'
---
twitter: https://x.com/24heuresch
website: https://www.24heures.ch/
youtube: https://youtube.com/channel/UCM_qQbU6ZHF4a50i5QhGqiQ
---
10 changes: 5 additions & 5 deletions www/logos/2go_invoice/index.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
facebook: 'https://facebook.com/invoice2go'
linkedin: 'https://linkedin.com/company/invoice2go'
facebook: https://facebook.com/invoice2go
linkedin: https://linkedin.com/company/invoice2go
logohandle: 2go_invoice
sort: invoice2go
title: Invoice2go
twitter: Invoice2go
website: 'https://invoice.2go.com/'
---
twitter: https://x.com/Invoice2go
website: https://invoice.2go.com/
---
12 changes: 6 additions & 6 deletions www/logos/2ndavestores/index.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
facebook: 'https://facebook.com/2ndAveStores/?fref=ts'
instagram: 'https://instagram.com/2ndavestores'
facebook: https://facebook.com/2ndAveStores/?fref=ts
instagram: https://instagram.com/2ndavestores
logohandle: 2ndavestores
pinterest: 'https://pinterest.com/2ndavenuestores'
pinterest: https://pinterest.com/2ndavenuestores
sort: 2ndavestores
title: 2nd Ave Stores
twitter: 2ndavestores
website: 'https://www.2ndavestores.com/'
---
twitter: https://x.com/2ndavestores
website: https://www.2ndavestores.com/
---
12 changes: 6 additions & 6 deletions www/logos/2ndquadrant/index.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
facebook: 'http://facebook.com/2ndQuadrant'
googleplus: 'https://plus.google.com/+2ndQuadrantPostgreSQL'
linkedin: 'http://linkedin.com/company/2ndquadrant'
facebook: http://facebook.com/2ndQuadrant
googleplus: https://plus.google.com/+2ndQuadrantPostgreSQL
linkedin: http://linkedin.com/company/2ndquadrant
logohandle: 2ndquadrant
sort: 2ndquadrant
title: 2ndQuadrant
twitter: 2ndQuad
website: 'https://www.2ndquadrant.com/en/'
---
twitter: https://x.com/2ndQuad
website: https://www.2ndquadrant.com/en/
---
12 changes: 6 additions & 6 deletions www/logos/3commasio/index.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
blog: 'https://3commas.io/blog'
facebook: 'https://facebook.com/3commas.io'
blog: https://3commas.io/blog
facebook: https://facebook.com/3commas.io
logohandle: 3commasio
sort: 3commas
title: 3Commas
twitter: 3commas_io
website: 'https://3commas.io/'
youtube: 'https://youtube.com/channel/UCig8XY-gsthRgM-zyv1nx6Q/videos'
---
twitter: https://x.com/3commas_io
website: https://3commas.io/
youtube: https://youtube.com/channel/UCig8XY-gsthRgM-zyv1nx6Q/videos
---
Loading

0 comments on commit 448041e

Please sign in to comment.