<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Tools on SuperTechFans</title>
    <link>https://supertechfans.com/tools/</link>
    <description>Recent content in Tools on SuperTechFans</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Tue, 16 Apr 2024 12:08:40 +0800</lastBuildDate>
    <atom:link href="https://supertechfans.com/tools/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Ssl Certs Check</title>
      <link>https://supertechfans.com/tools/ssl-certs-check/</link>
      <pubDate>Tue, 16 Apr 2024 12:08:40 +0800</pubDate>
      <guid>https://supertechfans.com/tools/ssl-certs-check/</guid>
      <description>&lt;h1 id=&#34;ssl-certs-check&#34;&gt;&#xA;  ssl-certs-check&#xA;  &lt;a class=&#34;anchor&#34; href=&#34;#ssl-certs-check&#34;&gt;#&lt;/a&gt;&#xA;&lt;/h1&gt;&#xA;&lt;p&gt;Simple SSL Certs Expiration Check&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;&#xA;  &lt;a href=&#34;https://github.com/rmrf/ssl-certs-check&#34;&gt;Github Repo&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;h2 id=&#34;features&#34;&gt;&#xA;  Features&#xA;  &lt;a class=&#34;anchor&#34; href=&#34;#features&#34;&gt;#&lt;/a&gt;&#xA;&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;config the &lt;strong&gt;hosts&lt;/strong&gt; and &lt;strong&gt;alert emails&lt;/strong&gt; inside toml configuration file&lt;/li&gt;&#xA;&lt;li&gt;docker-compose start &lt;strong&gt;Prometheus/Alertmanager/Grafana&lt;/strong&gt; for check and alert&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;how-it-works&#34;&gt;&#xA;  How it works&#xA;  &lt;a class=&#34;anchor&#34; href=&#34;#how-it-works&#34;&gt;#&lt;/a&gt;&#xA;&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;hosts ssl certs will be checked regulaly by ssl-certs-check,&lt;/li&gt;&#xA;&lt;li&gt;expose expiration date as prometheus metrics&lt;/li&gt;&#xA;&lt;li&gt;base on configuration, all metrics have alert email as labels&lt;/li&gt;&#xA;&lt;li&gt;generated alertmanager config file base on configuration for alert&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;building-binary&#34;&gt;&#xA;  Building Binary&#xA;  &lt;a class=&#34;anchor&#34; href=&#34;#building-binary&#34;&gt;#&lt;/a&gt;&#xA;&lt;/h2&gt;&#xA;&lt;pre&gt;&lt;code&gt;make build&#xA;cp configurations/config-example.toml configurations/config.toml&#xA;# modify configurations/config.toml, then&#xA;./ssl-certs-check -config configurations/config.toml&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;h2 id=&#34;docker-build&#34;&gt;&#xA;  Docker build&#xA;  &lt;a class=&#34;anchor&#34; href=&#34;#docker-build&#34;&gt;#&lt;/a&gt;&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;modify &lt;code&gt;docker-compose.yaml&lt;/code&gt; ssl-certs-check env &lt;code&gt;ENV_GOPROXY&lt;/code&gt;, then&lt;/p&gt;</description>
    </item>
    <item>
      <title>HackerNewsDailyDigest</title>
      <link>https://supertechfans.com/tools/HackerNewsDailyDigest/</link>
      <pubDate>Fri, 12 Apr 2024 20:46:26 +0800</pubDate>
      <guid>https://supertechfans.com/tools/HackerNewsDailyDigest/</guid>
      <description>&lt;h1 id=&#34;hackernews-daily-digest&#34;&gt;&#xA;  HackerNews Daily Digest&#xA;  &lt;a class=&#34;anchor&#34; href=&#34;#hackernews-daily-digest&#34;&gt;#&lt;/a&gt;&#xA;&lt;/h1&gt;&#xA;&lt;h2 id=&#34;why&#34;&gt;&#xA;  Why?&#xA;  &lt;a class=&#34;anchor&#34; href=&#34;#why&#34;&gt;#&lt;/a&gt;&#xA;&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Wish to learn from the most popular articles on HackerNews in the past 24 hours every day&lt;/li&gt;&#xA;&lt;li&gt;But I don&amp;rsquo;t want to waste too much time for browsing, the best way is to have a quick insight&lt;/li&gt;&#xA;&lt;li&gt;The comments from HackerNews users&amp;rsquo; posts are usually very valuable, and I also hope to learn from them whether it is worth reading carefully&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;solution&#34;&gt;&#xA;  Solution&#xA;  &lt;a class=&#34;anchor&#34; href=&#34;#solution&#34;&gt;#&lt;/a&gt;&#xA;&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Using &#xA;  &lt;a href=&#34;https://en.wikipedia.org/wiki/Robotic_process_automation&#34;&gt;RPA&lt;/a&gt; , automatically get Top Stories every day (currently 8 articles).&lt;/li&gt;&#xA;&lt;li&gt;Use AI GPT to summarize (quickly view the content of the article).&lt;/li&gt;&#xA;&lt;li&gt;Also summarize the comments from HackerNews users (to understand everyone&amp;rsquo;s concerns).&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;digest-in-chinese-daily&#34;&gt;&#xA;  Digest in Chinese Daily&#xA;  &lt;a class=&#34;anchor&#34; href=&#34;#digest-in-chinese-daily&#34;&gt;#&lt;/a&gt;&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;&#xA;  &lt;a href=&#34;https://supertechfans.com/cn/&#34;&gt;每日中文HackerNews Top Stories摘要&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>PacGen</title>
      <link>https://supertechfans.com/tools/PacGen/</link>
      <pubDate>Fri, 12 Apr 2024 20:39:11 +0800</pubDate>
      <guid>https://supertechfans.com/tools/PacGen/</guid>
      <description>&lt;h1 id=&#34;pacgen&#34;&gt;&#xA;  PacGen&#xA;  &lt;a class=&#34;anchor&#34; href=&#34;#pacgen&#34;&gt;#&lt;/a&gt;&#xA;&lt;/h1&gt;&#xA;&lt;p&gt;&lt;strong&gt;&#xA;  &lt;a href=&#34;https://github.com/rmrf/pacgen&#34;&gt;Github Repo&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;h2 id=&#34;what&#34;&gt;&#xA;  What&#xA;  &lt;a class=&#34;anchor&#34; href=&#34;#what&#34;&gt;#&lt;/a&gt;&#xA;&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Proxy &#xA;  &lt;a href=&#34;https://en.wikipedia.org/wiki/Proxy_auto-config&#34;&gt;Pac&lt;/a&gt; file Generator, local web server serve pac file.&lt;/li&gt;&#xA;&lt;li&gt;Config Browser proxy with PAC url: &lt;code&gt;http://loalhost:8001&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Different domains using different proxies. For example:&#xA;&lt;ul&gt;&#xA;&lt;li&gt;with Outer Special proxy to access Gmail.&lt;/li&gt;&#xA;&lt;li&gt;with Corp proxy to access corperations&amp;rsquo; internal sites.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;&#xA;  &lt;img src=&#34;https://github.com/rmrf/pacgen/assets/42414/f83f0667-fcbd-4d5d-802f-394f871c172c&#34; alt=&#34;image&#34; /&gt;&lt;/p&gt;&#xA;&lt;h2 id=&#34;why&#34;&gt;&#xA;  Why&#xA;  &lt;a class=&#34;anchor&#34; href=&#34;#why&#34;&gt;#&lt;/a&gt;&#xA;&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;I love to use proxy for accessing sites, it&amp;rsquo;s always clean and easy to troubleshooting.&lt;/li&gt;&#xA;&lt;li&gt;With fine-tuned domains inside &#xA;  &lt;a href=&#34;https://en.wikipedia.org/wiki/Proxy_auto-config&#34;&gt;Pac&lt;/a&gt; file, I can reach any site with best speed.&lt;/li&gt;&#xA;&lt;li&gt;That&amp;rsquo;s why I start this &lt;code&gt;pacgen&lt;/code&gt; project, to mapping &lt;code&gt;[domains] =&amp;gt; [proxy]&lt;/code&gt; easily.&lt;/li&gt;&#xA;&lt;li&gt;Those domains which not matching any rules will  access directly.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;how-to-run-it&#34;&gt;&#xA;  How to Run it&#xA;  &lt;a class=&#34;anchor&#34; href=&#34;#how-to-run-it&#34;&gt;#&lt;/a&gt;&#xA;&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Copy proxy domains folder&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  cp -r proxy-domains-example proxy-domains&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;ul&gt;&#xA;&lt;li&gt;Modify outer/internal domains txt file inside &lt;code&gt;proxy-domains&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Modify &lt;code&gt;config.toml&lt;/code&gt; in root of project:&#xA;&lt;ul&gt;&#xA;&lt;li&gt;define different proxies for each domain txt file inside &lt;code&gt;proxy-domains&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;Run it&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;go build &lt;span style=&#34;color:#f92672&#34;&gt;&amp;amp;&amp;amp;&lt;/span&gt; ./pacgen -config ./config.toml&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;ul&gt;&#xA;&lt;li&gt;Browser proxy settings with PAC url: &lt;code&gt;http://loalhost:8001/&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;todo&#34;&gt;&#xA;  TODO&#xA;  &lt;a class=&#34;anchor&#34; href=&#34;#todo&#34;&gt;#&lt;/a&gt;&#xA;&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;input checked=&#34;&#34; disabled=&#34;&#34; type=&#34;checkbox&#34;&gt; Auto reload proxy-domains files&lt;/li&gt;&#xA;&lt;/ul&gt;</description>
    </item>
  </channel>
</rss>
