TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Huginn: Create agents that monitor and act on your behalf

1303 点作者 daolf超过 5 年前

34 条评论

tectonic超过 5 年前
It&#x27;s fun to wake up to find a project that I started on the top of HN! These days, I&#x27;m no longer very involved with the day-to-day of the project.<p>Now that it&#x27;s no longer a young project, here are some musings about Huginn and responses to people&#x27;s comments in this thread, in no particular order.<p>I&#x27;ve found that Huginn excels as a scheduled web scraper with lightweight filtering. That&#x27;s what I use it for. On the other hand, while you can write custom code in it, Huginn is pretty poor at implementing any sort of complex logic, and is even worse at bidirectional syncing between systems, which is something people often want it to do, but for which it wasn&#x27;t designed.<p>If IFTTT or Zapier meet your needs, awesome! No need to run and monitor your own service. I personally choose to run Huginn on my own hardware in large part so that I&#x27;m comfortable giving it website cookies and passwords.<p>Some examples of what I use Huginn for these days:<p>- Watching Twitter in realtime for high standard deviation spikes in certain keywords, such as &quot;san francisco emergency&quot; or &quot;san francisco tsunami warning&quot;, which then sends me a push notification, or &quot;huginn open source&quot;, that goes to a digest email (and I imagine will trigger because of this thread).<p>- Watching Twitter for rare terms and sending me a digest of all tweets that match them. Also sending me all tweets from a few Twitter users who post rarely, but that I don&#x27;t want to miss.<p>- Scraping a number of rarely updated blogs that don&#x27;t have email newsletters and emailing me when they change. Some use RSS, most are just simple HTML scraping.<p>- Pulling deals from the frontpage and forums of slickdeals and craigslist and filtering them for certain keywords.<p>- Sending an early morning email if it&#x27;s going to rain today.<p>- Watching ebay for some rare items.<p>- Sending my wife and me an email on Saturday morning with local yardsales from craigslist.<p>- Watching the HN and producthunt front pages for certain keywords.<p>Basically, anytime I find myself checking a website more then a few times, I spend 20min making a Huginn Agent to do it for me.<p>I think one reason Huginn has worked well for me is that I don&#x27;t try to make it do too much. I use it for scraping data and gentle filtering, and that&#x27;s about it. It&#x27;s been super helpful for alerting me to interesting content for The Orbital Index, my current project, a weekly space-industry newsletter. (Last issue: <a href="http:&#x2F;&#x2F;orbitalindex.com&#x2F;archive&#x2F;2019-12-10-Issue-42&#x2F;" rel="nofollow">http:&#x2F;&#x2F;orbitalindex.com&#x2F;archive&#x2F;2019-12-10-Issue-42&#x2F;</a>)
评论 #21773811 未加载
评论 #21773825 未加载
评论 #21775443 未加载
评论 #21777651 未加载
评论 #21778959 未加载
评论 #21776211 未加载
评论 #21775561 未加载
评论 #21777359 未加载
评论 #21774596 未加载
评论 #21780558 未加载
评论 #21779523 未加载
评论 #21773778 未加载
PatrolX超过 5 年前
Not just an alternative though.<p>- Self-hosted<p>- Unlimited and FREE vs $699 &#x2F; month<p>- Create your own agents &#x2F; integrations<p>- Process data through shell scripts or JavaScript<p>- Better filtering<p>- Liquid templating<p>- Completely private<p>I save thousands of dollars by using Huginn.<p>It&#x27;s incredibly powerful and quite frankly I don&#x27;t trust Zapier with my data and visibility of what I&#x27;m doing because there are commercial implications.<p>Run it in the cloud on AWS or on an old box at home.<p>It&#x27;s very reliable.
评论 #21774493 未加载
评论 #21773279 未加载
traspler超过 5 年前
I have been running huginn on my home server for a while. I&#x27;ve mainly used it to filter RSS feeds and then generate new feeds with the filtered items. Another use-case for me is ingesting webcomic RSS feeds (or scrape a page) and post the comics to a private Telegram channel. Once I also had an agent scraping a page and notifying me if something changed (realestate listing).<p>I have tried a couple alternatives, e.g. node-red but none really worked the way I wanted them to for these cases. huginn is incredibly flexible and (at least for me) the mental model of it&#x27;s workflow makes a lot of sense. Sadly more and more pages want you to go through their app&#x2F;site and make it a bit difficult to work with, e.g. getting content from an instagram account.<p>One thing I have not figured out about huginn and which all of these automation tools seem to lack are loops. E.g I have page an agent scrapes, from which I want to output the src of an image tag but I also want to check if a certain condition on the page matches (e.g. a &quot;next page&quot; button exists) and then firstly output the found src but then also re-invoke the agent with a new input element. So it would scrape the next page and so on until it does not find the button anymore.
评论 #21773631 未加载
评论 #21778233 未加载
评论 #21773663 未加载
howmayiannoyyou超过 5 年前
Zapier has exponentially more integrations than this or anything else, but is surprisingly difficult to use, and more so since they updated their UI. Editing Zaps is pure torture because refresh is so difficult. Exception handling is pure pain. In most instances the breadth of API calls is so narrow, and so rarely updated by vendors that you end up switching to a custom integration. I&#x27;ve also noticed vendors rapidly expanding their native integrations, sidestepping the need for a request broker.<p>The &quot;retail&quot; integration space remains underserved and if one of the enterprise players decided to go down-market with a better UI and deeper integrations - they&#x27;d mop the floor clean in 18 months.
评论 #21773364 未加载
评论 #21773599 未加载
评论 #21773297 未加载
david_draco超过 5 年前
&quot;Once a day, ask 5 people for a funny cat photo; send the results to 5 more people to be rated; send the top-rated photo to 5 people for a funny caption; send to 5 final people to rate for funniest caption; finally, post the best captioned photo on my blog.&quot;<p>I&#x27;m still laughing :) wth! (My fear is that this might actually be sustainable with ads.)
评论 #21773062 未加载
评论 #21775701 未加载
评论 #21774964 未加载
minimaxir超过 5 年前
For a more business-friendly-but-still-FOSS approach to task automation between services, see also Apache Airflow: <a href="https:&#x2F;&#x2F;airflow.apache.org" rel="nofollow">https:&#x2F;&#x2F;airflow.apache.org</a><p>Airflow has been a skill that many companies ask for (especially data engineering), but surprisingly doesn&#x27;t have many articles written about it.
评论 #21776291 未加载
esquire_900超过 5 年前
This, as well as related projects like n8n &amp; node-red, is a very cool project. I always wonder what people use it for in real life though. It seems a lot of trouble (setting up, learning curve, maintaining) for an action that usually takes a couple of seconds, like checking the weather or opening twitter.<p>Does anybody have useful workflows going on?
评论 #21773658 未加载
评论 #21773340 未加载
评论 #21773346 未加载
评论 #21776415 未加载
bitshift超过 5 年前
There is also ActiveWorkflow[1], which targets business users and let&#x27;s you write custom agents in any programming language[2].<p>1. <a href="https:&#x2F;&#x2F;github.com&#x2F;automaticmode&#x2F;active_workflow" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;automaticmode&#x2F;active_workflow</a> 2. <a href="https:&#x2F;&#x2F;github.com&#x2F;automaticmode&#x2F;active_workflow&#x2F;blob&#x2F;master&#x2F;docs&#x2F;remote_agent_api.md" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;automaticmode&#x2F;active_workflow&#x2F;blob&#x2F;master...</a>
评论 #21774408 未加载
评论 #21774355 未加载
rvz超过 5 年前
For those using expensive&#x2F;advanced connectors like Zapier, Tray.io, etc. I find that <a href="https:&#x2F;&#x2F;n8n.io" rel="nofollow">https:&#x2F;&#x2F;n8n.io</a> serves as a far welcoming open-source alternative that is worth looking at.
评论 #21773266 未加载
评论 #21773402 未加载
评论 #21773132 未加载
curo超过 5 年前
Something I&#x27;m not entirely clear on:<p>One use case for Zapier (from a developer&#x2F;company standpoint) is to allow customers to connect their existing services to actions inside your own app. For instance, if a customer updates a CRM record, you can have a custom zap update a record in your own SaaS platform.<p>To pull that off with huginn, is that as simple as connecting this up to Singer.io? Or would that require a big marketplace of huginn agents for popular integrations?
anderspitman超过 5 年前
If you like this kind of stuff, you might find my patchbay project interesting:<p><a href="https:&#x2F;&#x2F;patchbay.pub&#x2F;" rel="nofollow">https:&#x2F;&#x2F;patchbay.pub&#x2F;</a>
penagwin超过 5 年前
Also checkout Node Red [0], it&#x27;s fairly popular in the automation space. It&#x27;s rather sparse by default, but after adding in some community nodes (or making some yourself) it&#x27;s pretty useful.<p><a href="https:&#x2F;&#x2F;nodered.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;nodered.org&#x2F;</a>
评论 #21773727 未加载
devm0de超过 5 年前
I gave this a go today and managed to install huginn on my synology nas by simply searching for the docker container. I then setup 3 agents to scrape a Shopify webstore jason endpoint that I’m always checking for inventory, have huginn parse the json and send me an sms via twilio if inventory changes. Took about 2 hours, wasn’t too bad. Huginn twilio docs seemed dated.<p>Used python simplehttp server and ngrok to replicate a json url and play with the triggers to test it all before pointing it at a real website.<p>Nice to add a new tool to the belt, thanks!
dang超过 5 年前
A thread from 2016: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=11015147" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=11015147</a><p>2014: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=7585605" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=7585605</a><p>2013: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=5377651" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=5377651</a>
ksrm超过 5 年前
Not to be confused with Hugin: <a href="http:&#x2F;&#x2F;hugin.sourceforge.net&#x2F;" rel="nofollow">http:&#x2F;&#x2F;hugin.sourceforge.net&#x2F;</a>
评论 #21774958 未加载
评论 #21774879 未加载
j1elo超过 5 年前
I&#x27;ve seen the word &quot;rake&quot;, so I guess... is this written in Ruby? If so, how&#x27;s the performance?<p>My home server is pretty minimal and lightweight: a Raspberry Pi. Do you think it will run it fine? (I&#x27;m gonna want to try this anyway, didn&#x27;t know about it until now and it looks amazing!)
评论 #21775233 未加载
评论 #21774305 未加载
theshadowmonkey超过 5 年前
I’m glad Huginn is on the front page. It’s an awesome project being used for a long time now. I was testing Huginn to see how skimpy I can be and still run Huginn on a free tier. Was able to run it on open shift free tier a while ago when their allowance was generous. But, looks like it’s hard now. Will try running on a Gcp instance and see if it works.
audiometry超过 5 年前
Is there any way to implement agents in python rather than JavaScript&#x2F;ruby? Looks interesting but I don’t want to invest energy in building fluency in these other scripting languages.
评论 #21777833 未加载
评论 #21777815 未加载
评论 #21778003 未加载
osprojects超过 5 年前
An alternative to webhook automation would be <a href="https:&#x2F;&#x2F;github.com&#x2F;adnanh&#x2F;webhook" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;adnanh&#x2F;webhook</a>
elwell超过 5 年前
&gt; Create Amazon Mechanical Turk workflows as the inputs, or outputs, of agents (the Amazon Turk Agent is called the &quot;HumanTaskAgent&quot;). For example: &quot;Once a day, ask 5 people for a funny cat photo; send the results to 5 more people to be rated; send the top-rated photo to 5 people for a funny caption; send to 5 final people to rate for funniest caption; finally, post the best captioned photo on my blog.&quot;<p>Curious how this would turn out.
评论 #21783821 未加载
m-p-3超过 5 年前
Interesting, I should switch to that for some location-based action with my phone instead of IFTTT and see if I can make it work with Hauk or something similar.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;bilde2910&#x2F;Hauk" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;bilde2910&#x2F;Hauk</a><p>Disclaimer: I have no link with the Hauk project, just found about it by browsing the F-Droid store.
kasbah超过 5 年前
Seems like all of these self-hosted automation apps struggle to incorporate Facebook adapters. Does anyone know of one that would allow me to read Tweets and post ones containing some particular text to a Facebook page (not my personal timeline&#x2F;page but one I created for my project)?
jaequery超过 5 年前
This looks worth checking out but I’d love to see a Lambda version of it
评论 #21773283 未加载
评论 #21781277 未加载
caseysoftware超过 5 年前
It&#x27;s not quite 1:1 but not a bad comparison.<p>I like to think of Zapier as &quot;wizard mode&quot; - if you&#x27;re doing something within their pattern, planned workflow, capabilities, etc it is a <i>great</i> option.<p>If you need to do something more advanced or outside that narrow scope, you need to go to the APIs (or Huginn) itself.<p>The important questions are: How many people need to get into advanced mode? How big of an effort&#x2F;skill&#x2F;understanding jump is it to go there? (aka will it hurt too much to switch?)
franga2000超过 5 年前
I&#x27;ve come across Huginn many times in the past and every time, I tell myself I&#x27;m going to give it a shot. I still haven&#x27;t even seen it loaded in a web browser...<p>After fighting the Docker images for half an hour, I usually realize that I could&#x27;ve just written a Python script to do whatever I was trying to do by then and proceed to do just that.<p>Sorry for being lazy! Maybe I&#x27;ll get around to it next year...
vunie超过 5 年前
How well does it support:<p>- support remote agents and remote reporting?<p>- dead-man triggers for missing reports?<p>- is remote reporting properly secured? (encrypted&#x2F;signed)
评论 #21778366 未加载
binthere超过 5 年前
I&#x27;m probably missing something here, but what is the value of this when you could write a script that would do just about the same? (Serious question, I want to know the answer, not rhetorical)
评论 #21776255 未加载
vorpalhex超过 5 年前
I&#x27;ve deployed Huginn a few times but never gotten off the ground with it. I found agents a bit too cumbersome to configure, but maybe I just need to give it another shot.
moomin超过 5 年前
How does this not have a companion technology called Muninn?
soared超过 5 年前
I would not market this as an alternative to Zapier since it goes after a different market. The type of people who use Zapier will see a link to github.com and not even consider it.<p>I think this should be positioned more like &quot;A high powered Zapier for technical users&quot; or something similar.
评论 #21773354 未加载
评论 #21773361 未加载
e_carra超过 5 年前
It really sounds like Son of Anthon from the last season of Silicon Valley.
ikeboy超过 5 年前
I don&#x27;t see a list of all supported agents or a way to search.
评论 #21773507 未加载
评论 #21777988 未加载
keyle超过 5 年前
This reads like DIY Yahoo Pipes.
DailyHN超过 5 年前
I&#x27;ve operated a huginn for 5+ years. AMA
评论 #21780842 未加载
评论 #21778187 未加载
评论 #21778117 未加载
评论 #21777914 未加载