Full Code of hiteshchoudhary/chaibackend for AI

main cccc25140118 cached
4 files
2.5 KB
943 tokens
1 requests
Download .txt
Repository: hiteshchoudhary/chaibackend
Branch: main
Commit: cccc25140118
Files: 4
Total size: 2.5 KB

Directory structure:
gitextract_pjr0oa5c/

├── .gitignore
├── .vscode/
│   └── settings.json
├── index.js
└── package.json

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

================================================
FILE: .gitignore
================================================
node_modules
.env

================================================
FILE: .vscode/settings.json
================================================
{
    "editor.acceptSuggestionOnEnter": "on"
}

================================================
FILE: index.js
================================================
require('dotenv').config()
const express = require('express')

const app = express()

const port = 4000

const githubData = {
    "login": "hiteshchoudhary",
    "id": 11613311,
    "node_id": "MDQ6VXNlcjExNjEzMzEx",
    "avatar_url": "https://avatars.githubusercontent.com/u/11613311?v=4",
    "gravatar_id": "",
    "url": "https://api.github.com/users/hiteshchoudhary",
    "html_url": "https://github.com/hiteshchoudhary",
    "followers_url": "https://api.github.com/users/hiteshchoudhary/followers",
    "following_url": "https://api.github.com/users/hiteshchoudhary/following{/other_user}",
    "gists_url": "https://api.github.com/users/hiteshchoudhary/gists{/gist_id}",
    "starred_url": "https://api.github.com/users/hiteshchoudhary/starred{/owner}{/repo}",
    "subscriptions_url": "https://api.github.com/users/hiteshchoudhary/subscriptions",
    "organizations_url": "https://api.github.com/users/hiteshchoudhary/orgs",
    "repos_url": "https://api.github.com/users/hiteshchoudhary/repos",
    "events_url": "https://api.github.com/users/hiteshchoudhary/events{/privacy}",
    "received_events_url": "https://api.github.com/users/hiteshchoudhary/received_events",
    "type": "User",
    "site_admin": false,
    "name": "Hitesh Choudhary",
    "company": null,
    "blog": "https://www.youtube.com/c/HiteshChoudharydotcom",
    "location": "India",
    "email": null,
    "hireable": null,
    "bio": "I make coding videos on youtube and for courses. My youtube channel explains my work more. Check that out",
    "twitter_username": "hiteshdotcom",
    "public_repos": 71,
    "public_gists": 1,
    "followers": 7037,
    "following": 0,
    "created_at": "2015-03-23T13:03:25Z",
    "updated_at": "2023-09-09T03:27:44Z"
  }
  

app.get('/', (req, res) => {
    res.send('Hello World!')
})

app.get('/twitter', (req, res) => {
    res.send('hiteshdotcom')
})

app.get('/login', (req, res) => {
    res.send('<h1>please login at chai aur code</h1>')
})

app.get('/youtube', (req, res) => {
    res.send("<h2>Chai aur code</h2>")
})

app.get('/github', (req, res) => {
    res.json(githubData)
})

app.listen(process.env.PORT, () => {
    console.log(`Example app listening on port ${port}`)
})

================================================
FILE: package.json
================================================
{
  "name": "chaibackend",
  "version": "1.0.0",
  "description": "a basic app to deploy",
  "main": "index.js",
  "scripts": {
    "start": "node index.js"
  },
  "keywords": [
    "node",
    "chai"
  ],
  "author": "hitesh choudhary",
  "license": "ISC",
  "dependencies": {
    "dotenv": "^16.3.1",
    "express": "^4.18.2"
  }
}
Download .txt
gitextract_pjr0oa5c/

├── .gitignore
├── .vscode/
│   └── settings.json
├── index.js
└── package.json
Condensed preview — 4 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (3K chars).
[
  {
    "path": ".gitignore",
    "chars": 17,
    "preview": "node_modules\n.env"
  },
  {
    "path": ".vscode/settings.json",
    "chars": 46,
    "preview": "{\n    \"editor.acceptSuggestionOnEnter\": \"on\"\n}"
  },
  {
    "path": "index.js",
    "chars": 2210,
    "preview": "require('dotenv').config()\nconst express = require('express')\n\nconst app = express()\n\nconst port = 4000\n\nconst githubDat"
  },
  {
    "path": "package.json",
    "chars": 334,
    "preview": "{\n  \"name\": \"chaibackend\",\n  \"version\": \"1.0.0\",\n  \"description\": \"a basic app to deploy\",\n  \"main\": \"index.js\",\n  \"scri"
  }
]

About this extraction

This page contains the full source code of the hiteshchoudhary/chaibackend GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 4 files (2.5 KB), approximately 943 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!