DIYgod

Stars and mentions

Last 30 days, Oct 5 – Nov 3

GitHub stars479
mentions3
08162432Oct 5Oct 19Nov 3
UTC days · repositories DIYgod owns6 repositories

Package downloads

Cumulative recorded downloads · since 2025-10-18

npm993.3K
0248.3K496.6K745K993.3KOct 5Oct 19Nov 3
Oct 24npm: 1/4 packages observed

Across 4 known packages in repositories DIYgod owns. Cumulative totals include recorded downloads before the selected range. Missing observations leave gaps; totals may be incomplete.

Top repositories

DIYgod’s repositories ranked by new stars, as on trending.

Loading

Contributes to

Repositories outside DIYgod’s account where DIYgod opened or reviewed pull requests in the past 365 days.

Who noticed DIYgod

Everyone who starred or forked DIYgod’s repositories since the archive began in 2011.

Notable accounts

Ordered by the stars their own repositories have received.

Biggest fans

Accounts that starred the most of these repositories.

Breakout weeks

Each repository’s best week of new stars, with the release published around it.

Mentions

3posts
Nov 40 posts
  1. Qiita · · @bozad · DIYgod/RSSHub

    X(Twitter)のRSSを取得する方法:Nitter終了後に使える手段と自作スクリプト :::note info 本記事には筆者が開発に関わっているサービス(GetXAPI)の紹介を含みます。Nitter各インスタンスとx.comの挙動は、2026年10月24日(UTC)に筆者が実際にアクセスして確認した結果です。 ::: 「XのアカウントをRSSリーダーで購読したい」「n8nやGASでXの投稿を拾いたい」。以前はNitterのRSSで済みましたが、いま主要なインスタンスはほぼ使えません。この記事では、2026年10月時点で実際に動くXのRSS取得方法を整理し、APIからRSSを自作するPythonスクリプトを紹介します。 2026年10月24日更新。Nitter 4インスタンスとx.comのRSSを同日に検証し、RSSHubのX用ルートの認証方式はRSSHubのソースコードで確認しています。 XのRSSはどうやって取得できますか? X自体はRSSを提供していないので、APIで投稿を取得してRSSファイルに変換するのが確実です。 下のスクリプトは約45行のPythonで、アカウントの最新投稿約20件をRSS 2.0にします。GetXAPIのユーザー投稿取得エンドポイントを使うと、1回の更新が0.001ドルです。コードを書かない場合はRSS.appのようなRSS生成サービス、自前サーバーがあればRSSHubという選択肢もあります。Nitterの公開インスタンスは、今回試した範囲ではどれも使えませんでした。 XにRSS機能はありますか? ありません。プロフィールURLの末尾に/rssを付けても、返ってくるのは通常のXのWebページ(HTML)です。2026年10月24日にhttps://x.com/n8n_io/rssへアクセスして確認しました。 NitterのRSSが取得できないのはなぜですか? インスタンス側が停止・制限しているためです。同日に4つのインスタンスで同じアカウントのRSSを取得したところ、nitter.netは410(Gone)、xcancel.comは451で「法的手続きのためサービス停止」と表示、nitter.jaydenha.ukはブラウザ確認画面でRSSリーダーからは通らず、nitter.poast.orgは20秒以内に応答がありませんでした。 RSSHubなら無料で使えますか? 自前でホストすれば無料ですが、X用ルートには認証情報が必要です。RSSHubのソースによると、使えるのはログイン済みXアカウントのauth_token Cookieか、従量課金のX APIキーです(ユーザー名とパスワードによる方式は2025年10月から動かないと明記)。公開インスタンスのrsshub.appも、今回のリクエストでは302リダイレクトが返り、フィードは取得できませんでした。 方法の比較 | 方法 | 費用 | 手間 | 安定性 | |---|---|---|---| | Nitterの公開インスタンス | 無料 | URLを入れるだけ | 低い(予告なく停止) | | RSS生成サービス(RSS.appなど) | サービスの料金次第 | URLを入れるだけ | サービス次第 | | RSSHubを自前でホスト | サーバー代 + Cookieまたは有料APIキー | Dockerと設定 | 渡す認証情報次第 | | APIからRSSを自作 | 1回の更新0.001ドル | 約45行のコード | APIの安定性と同じ | APIからRSSを自作する手順 1. APIキーを取得し、環境変数GETXAPI_KEYに入れます。 2. GET /twitter/user/tweets?userName=<ハンドル>で最新投稿を取得します(1回約20件)。 3. 各投稿をRSSのitemにします(本文をtitleとdescription、x.comのURLをlinkとguid、createdAtをpubDate)。 4. XMLを保存し、静的ホスティングなどで公開します。 5. cronやn8nのSchedule Triggerで定期実行します(例:15分ごと)。 import os import sys import json import urllib.request import urllib.parse from email.utils import format_datetime, parsedate_to_datetime from xml.sax.saxutils import escape API_KEY = os.environ["GETXAPI_KEY"] def latest_posts(username): url = "https://api.getxapi.com/twitter/user/tweets?" + urllib.parse.urlencode({"userName": username}) req = urllib.request.Request(url, headers={"Authorization": f"Bearer {API_KEY}"}) with urllib.request.urlopen(req, timeout=30) as resp: return json.load(resp)["tweets"] def to_rss(username, posts): items = [] for p in posts: text = " ".join(p["text"].split()) pub = format_datetime(parsedate_to_datetime(p["createdAt"])) items.append( "<item>" f"<title>{escape(text[:100])}</title>" f"<link>{escape(p['url'])}</link>" f"<guid isPermaLink=\"true\">{escape(p['url'])}</guid>" f"<pubDate>{pub}</pubDate>" f"<description>{escape(text)}</description>" "</item>" ) return ( '<?xml version="1.0" encoding="UTF-8"?>' '<rss version="2.0"><channel>' f"<title>@{escape(username)} on X</title>" f"<link>https://x.com/{escape(username)}</link>" f"<description>Latest posts from @{escape(username)}</description>" + "".join(items) + "</channel></rss>" ) if __name__ == "__main__": user = sys.argv[1] with open(f"{user}.xml", "w", encoding="utf-8") as f: f.write(to_rss(user, latest_posts(user))) print(f"wrote {user}.xml") 検証結果: 2026年10月24日にpython x_to_rss.py n8n_ioを実行し、20件のitemを持つRSSが生成されました。XMLとして正しくパースでき、全itemにpubDateとx.comのリンクが入っていました。APIの応答は3〜5秒でした。標準ライブラリだけなので追加インストールは不要です。 費用の目安: 公式X APIの単価はX APIの料金表にまとめています。この方法で1アカウントを15分ごとに更新すると1日96回、約0.10ドル/日、月3ドル程度です。1時間ごとなら月0.72ドル程度です。 n8nで使う場合 RSSにする必要がなければ、n8nで直接JSONを読む方が簡単です。 1. Schedule Trigger:実行間隔を設定 2. HTTP Request:GETでhttps://api.getxapi.com/twitter/user/tweets、クエリuserName、ヘッダーAuthorization: Bearer <キー> 3. Split Out:tweetsフィールドで1投稿1アイテムに分割 4. Remove Duplicates:「Remove Items Processed in Previous Executions」をidで比較し、同じ投稿を二度処理しない 上のスクリプトでRSSファイルを公開済みなら、RSS ReadノードにそのURLを指定するだけでも読めます(ノード名と設定はn8n公式ドキュメントで確認)。 自作が向かないケース - 数百アカウントを追いたい:1アカウント1回の呼び出しなので、500アカウントを15分ごとに更新すると1日48,000回になります。間隔を延ばすか、検索クエリでまとめてください。 - 2〜3アカウントだけをノーコードで読みたい:生成サービスを使う方が手間はかかりません。 - 鍵アカウント:どの方法でも取得できません。 - リプライも欲しい:ユーザー投稿取得は本人の投稿のみです。リプライは別のエンドポイントになります。 よくある質問 X(Twitter)のRSSフィードを無料で取得する方法はありますか? 安定したものはありません。X公式のRSSはなく、無料だったNitterの公開インスタンスは今回の検証時点で停止または制限されていました。生き残っているインスタンスがあっても、予告なく止まることがあります。 自分のホームタイムライン(フォロー中の投稿)をRSSにできますか? 直接はできません。フォロー中のアカウント一覧を一度取得し、各アカウントの最新投稿を定期的に取得してまとめる方法が現実的です。アカウント数だけ呼び出しが増えるので、数十アカウント程度向きです。 RSSの更新間隔はどれくらいがよいですか? 多くの用途では15〜60分ごとで十分です。1回0.001ドルなので、15分ごとで1アカウント月3ドル程度、1時間ごとなら月0.72ドル程度です。 参考 - GetXAPI docs「User Tweets」: docs.getxapi.com - RSSHub ソースコード(X用ルートの認証方式): github.com/DIYgod/RSSHub/blob/master/lib/routes/t… - n8n docs「RSS Read」: docs.n8n.io - n8n docs「Remove Duplicates」: docs.n8n.io - 英語版の詳細ガイド: getxapi.com

  2. 😤 追一个博主,每天要点开十几个网站看更新。RSSHub Radar 7 千星:打开网页就告诉你有没有 RSS,点一下加进阅读器,没源还能找替代源。让更新自己来找你。 DIYgod/RSSHub-Radar

    5 views
  3. Agent把RSS修到能打开,就算好了? 假设A/B首次都返回正确三篇。源站新增后,A更新,B停在旧三篇;第一次检查分不出来。 RSSHub贡献指南要求对照真实站点。建议再留一组跨抓取周期的前后样本,检查新增与重复。 这是验收示例,未实测,不代表项目有此故障。 github.com/DIYgod/RSSHub/blob/master/CONTRIBUTING…

    1 like · 19 views

Achievements

Awards earned by the repositories DIYgod owns. Select an award to embed its badge.

No awards yet

Repositories earn awards by reaching the top three in a completed trending day or week.

A repository earns an award for finishing first, second or third in a completed trending day or week, ranked by new stars, new forks or pull request authors. Awards follow a repository through renames and transfers and count toward its current owner. Weeks run Monday to Sunday, UTC.