Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Requires Ruby 2.5+ and Jekyll 3.8+
A Jekyll plugins that adds Patreon support in your blog to easily embed a widget with goals
To see the possible styles && designs navigate to the assets folder where the screenshots are located
Add this line to your site's Gemfile:
gem 'jekyll-patreon'
Add this configuration to your _config.yml file:
####################
# Patreon Settings #
####################
patreon:
enabled: true
design: 'default' # Supports the following desings: default, fancy, minimal, streamlined, reversed, swapped
title: 'Example title'
metercolor: 'green' # Supports the following colors: red, green, orange, red nostripes, green nostripes, orange nostripes, blue nostripes
toptext: 'Example top text' # Text that appears in before the progress bar (optional)
bottomtext: 'Example bottom text' # Text that appears in after the progress bar (optional)
showgoaltext: true # Display the goal text?
showbutton: true # Display the "Become a patron" button?
username: 'Your username here'
default_lang: "en" # The default language to use (to avoid writing twice the same text from Patreon)
Simply just put the following tag where you need this:
{% patreon %}
To support languages just use jekyll-language-plugin configuration. Or if you don't use it, do the following steps.
First, in your main index.html (or wherever you need the i18n support) declare the following lines:
---
layout: <layout>
language: en
---
Or if you want to support several languages in the same page:
---
layout: <layout>
languages:
- en
- es
---
Then, in "_data/lang/" create one file for each lang.
Example:
en.yml
andes.yml
.
Then, put the translations of you goals like this:
#################
# Patreon Goals #
#################
patreon_goal_0: "..."
patreon_goal_1: "..."
patreon_goal_2: "..."
# etc etc...
There you will need to create as much translations as the number of goals that your Patreon page have. (Note: starting index is 0 (zero))
Having issues? Just report in the issue section. Thanks for the feedback!
Fork this repository, make your changes and then issue a pull request. If you find bugs or have new ideas that you do not want to implement yourself, file a bug report.
Become a patron, by simply clicking on this button (very appreciated!):
... Or if you prefer an one-time donation:
Copyright (c) 2019 z3nth10n (United Teamwork Association).
License: MIT
FAQs
Unknown package
We found that jekyll-patreon demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.