Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joshmerlino/ytdl
Open Source YouTube Downloader
https://github.com/joshmerlino/ytdl
Last synced: about 1 month ago
JSON representation
Open Source YouTube Downloader
- Host: GitHub
- URL: https://github.com/joshmerlino/ytdl
- Owner: JoshMerlino
- Created: 2022-05-05T14:05:15.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-10-23T18:46:01.000Z (over 1 year ago)
- Last Synced: 2024-05-29T19:12:32.803Z (9 months ago)
- Language: TypeScript
- Homepage: https://ytdl-psi.vercel.app
- Size: 6.83 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# tsx-app
### Checks
* [![Code Style Analysis](https://github.com/JoshMerlino/tsx-app/actions/workflows/code-style-analysis.yml/badge.svg)](https://github.com/JoshMerlino/tsx-app/actions/workflows/code-style-analysis.yml)
* [![Code Quality Analysis](https://github.com/JoshMerlino/tsx-app/actions/workflows/code-quality-analysis.yml/badge.svg)](https://github.com/JoshMerlino/tsx-app/actions/workflows/code-quality-analysis.yml)
* [![Test CI](https://github.com/JoshMerlino/tsx-app/actions/workflows/test-ci.yml/badge.svg)](https://github.com/JoshMerlino/tsx-app/actions/workflows/test-ci.yml)### Software
* ubuntu-20.04.1lts
* git-2.25.1
* node-14.16.0
* npm-6.14.11## Getting Started
```bash
# Clone the repo
git clone https://github.com/JoshMerlino/tsx-app -b (master | tailwind | photon) --single-branch -o upstream (my-app)
git branch -m master
```Move into your new working directory.
```bash
# Install node build tools
sudo apt-get install build-essential -y# Install node modules
npm install
```## Creating API Endpoints
Create a `.ts` file in the `~/api` directory
```typescript
import { Request, Response } from "express";export const route = [
"v1/test",
"v1/test/**"
];export default function api(req: Request, res: Response): void {
res.json({});
}
```