
Security News
Vite Releases Technical Preview of Rolldown-Vite, a Rust-Based Bundler
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
jekyll-crypto-donations
Advanced tools
The Jekyll Crypto Donations plugin is a simple and efficient solution for integrating cryptocurrency donations into Jekyll-generated websites. In the initial iteration, the plugin supports Bitcoin (BTC), Ethereum (ETH), and USDT (TRC-20). It allows website owners to display current donation amounts and provide easy access for visitors to contribute using these cryptocurrencies. The plugin is designed to be easy to install and configure, making it a seamless addition to any Jekyll site. By leveraging real-time API calls, it ensures that the displayed donation amounts are always up-to-date, providing transparency and encouraging more contributions.
Add to your Gemfile:
group :jekyll_plugins do
gem 'jekyll-crypto-donations'
end
Add donation addresses to your _config.yaml
crypto_donations:
btc_address: "YOUR_BTC_ADDRESS"
eth_address: "YOUR_ETH_ADDRESS"
usdt_address: "YOUR_USDT_TRC20_ADDRES"
Use {% crypto_donations %}
or {% crypto_donations Any text you can share with donations block %}
at the jekyll page source.
To see the Crypto Donations plugin in action, check out the demo on my website: madmatvey.github.io.
You can see how the donation addresses and total received amounts are displayed for Bitcoin (BTC), Ethereum (ETH), and USDT (TRC-20). The demo showcases the real-time integration and functionality of the plugin.
After checking out the repo, run bin/setup
to install dependencies. Then, run rake spec
to run the tests. You can also run bin/console
for an interactive prompt that will allow you to experiment.
To install this gem onto your local machine, run bundle exec rake install
. To release a new version, update the version number in version.rb
, and then run bundle exec rake release
, which will create a git tag for the version, push git commits and the created tag, and push the .gem
file to rubygems.org.
Use NodeJS version 20 LTS
$ nvm use 20 --lts
install Typescrypt: npm install typescript
Do not change assets/js/crypto-donations/crypto-donations.js
manually, make changes with TS at src/crypto-donations/crypto-donations.ts
and then run:
$ npx tsc
local gem build: gem build jekyll-crypto-donations.gemspec
Bug reports and pull requests are welcome on GitHub at https://github.com/madmatvey/jekyll-crypto-donations.
The gem is available as open source under the terms of the MIT License.
FAQs
Unknown package
We found that jekyll-crypto-donations demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
Security News
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
Research
Security News
A malicious npm typosquat uses remote commands to silently delete entire project directories after a single mistyped install.
Research
Security News
Malicious PyPI package semantic-types steals Solana private keys via transitive dependency installs using monkey patching and blockchain exfiltration.