
Security News
New Website “Is It Really FOSS?” Tracks Transparency in Open Source Distribution Models
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
To post rss updates on AsakusaSatellite.
gem install asakusa-rss-monitor
monitor = AsakusaRssMonitor.new({
:check_file => 'last_time.txt',
:rss_url => '<TARGET RSS>',
:bot_config => AsakusaRssMonitor::BotConfig.new({
:api_key => '<YOUR AS API KEY>',
:entry_point => '<YOUR AS ENTRY POINT>', # cf. 'http://localhost:3000/api/v1'
:room_id => '<ROOM ID>'
})
})
monitor.call
class CustomMonitor < AsakusaRssMonitor::RssMonitor
def initialize(config)
super(config)
end
# override this.
def perform(rss_entry)
"New Article. - #{rss_entry.date}\n#{rss_entry.title}\n#{rss_entry.link}"
end
end
To monitoring rss, you can use this script with cron or some nice libraries like clockwork.
gem install clockwork
Create clock.rb:
require 'clockwork'
require 'asakusa-rss-monitor'
include Clockwork
handler do |job|
job.call
end
monitor = AsakusaRssMonitor::RssMonitor.new({..})
another_monitor = AsakusaRssMonitor::RssMonitor.new({..}) # if you want to monitor another RSS.
every(5.minutes, monitor)
every(5.minutes, another_monitor)
Run it with the clockwork binary:
clockwork clock.rb
If you want to daemonize it, see Daemonization page on clockwork.
FAQs
Unknown package
We found that asakusa-rss-monitor 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.
Security News
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.