Full Code of twitter/birdwatch for AI

master b23e61e880ed cached
2 files
5.0 KB
1.3k tokens
1 requests
Download .txt
Repository: twitter/birdwatch
Branch: master
Commit: b23e61e880ed
Files: 2
Total size: 5.0 KB

Directory structure:
gitextract_rgirlu02/

├── docs/
│   └── 404.html
└── readme.md

================================================
FILE CONTENTS
================================================

================================================
FILE: docs/404.html
================================================
<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
    <title>Redirecting to new domain</title>
    <script>
      // Extract the requested path from the URL and remove the "/birdwatch/" subdirectory
      var requestedPath = window.location.pathname.replace(/^\/birdwatch/, "");
      
      // If the requested path is root, redirect to root of new site
      if (window.location.pathname === '/birdwatch/') {
          window.location.replace(
          "https://communitynotes.twitter.com/guide")
      }
      
      // If the requested path ends in ".html", remove the extension
      if (requestedPath.match(/\.html$/)) {
        requestedPath = requestedPath.replace(/\.html$/, "");
      }

      // Redirect variations of subroutes to a single URL
      var aliases = {
        "/learn-more": "/",
        "/intro": "/",
        "/overview": "/",
        "/additional-review": "/contributing/additional-review",
        "/aliases": "/contributing/aliases",
        "/contributing/aliases": "/contributing/aliases",
        "/challenges": "/about/challenges",
        "/risks": "/about/challenges",
        "/about/challenges": "/about/challenges",
        "/contributor-scores": "/under-the-hood/contributor-scores",
        "/contributor-reputation": "/under-the-hood/contributor-scores",
        "/diversity-of-perspectives": "/contributing/diversity-of-perspectives",
        "/diversity": "/contributing/diversity-of-perspectives",
        "/perspectives": "/contributing/diversity-of-perspectives",
        "/data": "/under-the-hood/download-data",
        "/about/data": "/under-the-hood/download-data",
        "/contributing/data": "/under-the-hood/download-data",
        "/note-examples": "/contributing/examples",
        "/examples": "/contributing/examples",
        "/contributing/examples": "/contributing/examples",
        "/tips/": "/contributing/examples",
        "/note-writing-tips/": "/contributing/examples",
        "/faq": "/about/faq",
        "/about/faq": "/about/faq",
        "/submit-feedback": "/contributing/feedback",
        feedback: "/contributing/feedback",
        "/contributing/submit-feedback": "/contributing/feedback",
        "/contributing/feedback": "/contributing/feedback",
        "/getting-started": "/contributing/getting-started",
        "/guardrails": "/under-the-hood/guardrails",
        "/note-ranking-code": "/under-the-hood/note-ranking-code",
        "/ranking-code": "/under-the-hood/note-ranking-code",
        "/code": "/under-the-hood/note-ranking-code",
        "/notes-on-twitter": "/contributing/notes-on-twitter",
        "/cards-on-twitter": "/contributing/notes-on-twitter",
        "/notes-on-tweets": "/contributing/notes-on-twitter",
        "/contributing/notes-on-twitter": "/contributing/notes-on-twitter",
        "/alerts": "/contributing/notifications",
        "/ranking-notes": "/under-the-hood/ranking-notes",
        "/note-ranking": "/under-the-hood/ranking-notes",
        "/about/note-ranking": "/under-the-hood/ranking-notes",
        "/about/ranking-notes": "/under-the-hood/ranking-notes",
        "/rating-notes": "/contributing/rating-notes",
        "/contributing/rating-notes": "/contributing/rating-notes",
        "/contributing/rating": "/contributing/rating-notes",
        "/join": "/contributing/sign-up",
        "/signup": "/contributing/sign-up",
        "/contributing/signup": "/contributing/sign-up",
        "/sign-up": "/contributing/sign-up",
        "/signing-up": "/contributing/sign-up",
        "/timeline-tabs": "/under-the-hood/timeline-tabs",
        "/values": "/contirbuting/values",
        "/writing-ability": "/contributing/writing-ability",
        "/impact": "/contributing/writing-and-rating-impact",
        "/birdwatch-scores": "/contributing/writing-and-rating-impact",
        "/writing-and-rating-impact": "/contributing/writing-and-rating-impact",
        "/rating-and-writing-impact": "/contributing/writing-and-rating-impact",
        "/writing-notes": "/contributing/writing-notes",
        "/writing-and-rating-notes": "/contributing/writing-notes",
      };

      // Find alias in object, or alias minus a trailing slash
      if (aliases[requestedPath]) {
        window.location.replace(
          "https://communitynotes.twitter.com/guide" + aliases[requestedPath]
        );
      } else if (aliases[requestedPath.slice(0, -1)]) {
        window.location.replace(
          "https://communitynotes.twitter.com/guide" +
            aliases[requestedPath.slice(0, -1)]
        );
      } else {
        window.location.replace(
          "https://communitynotes.twitter.com/guide" + requestedPath
        );
      }
    </script>
  </head>
  <body></body>
</html>


================================================
FILE: readme.md
================================================
## This repository has moved

The repo https://twitter.github.io/birdwatch/ now lives in https://twitter.github.io/communitynotes/.

This repository is only maintained to redirect URLs from the archived Birdwatch site (eg. https://twitter.github.io/birdwatch/), to our new site: (https://communitynotes.twitter/guide).
Download .txt
gitextract_rgirlu02/

├── docs/
│   └── 404.html
└── readme.md
Condensed preview — 2 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (6K chars).
[
  {
    "path": "docs/404.html",
    "chars": 4769,
    "preview": "<!DOCTYPE html>\n<html>\n  <head>\n    <meta http-equiv=\"content-type\" content=\"text/html; charset=UTF-8\" />\n    <title>Red"
  },
  {
    "path": "readme.md",
    "chars": 319,
    "preview": "## This repository has moved\n\nThe repo https://twitter.github.io/birdwatch/ now lives in https://twitter.github.io/commu"
  }
]

About this extraction

This page contains the full source code of the twitter/birdwatch GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 2 files (5.0 KB), approximately 1.3k tokens. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.

Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.

Copied to clipboard!