feat: add audio extraction tool to convert video files to audio formats (AAC, MP3, WAV)

This commit is contained in:
AshAnand34
2025-07-07 14:49:14 -07:00
parent 816a098971
commit 76245edd34
9 changed files with 315 additions and 3 deletions

View File

@@ -24,7 +24,8 @@ export type ToolCategory =
| 'time'
| 'csv'
| 'pdf'
| 'image-generic';
| 'image-generic'
| 'audio';
export interface DefinedTool {
type: ToolCategory;

View File

@@ -4,6 +4,7 @@ import { DefinedTool, ToolCategory } from './defineTool';
import { capitalizeFirstLetter } from '../utils/string';
import { numberTools } from '../pages/tools/number';
import { videoTools } from '../pages/tools/video';
import { audioTools } from 'pages/tools/audio';
import { listTools } from '../pages/tools/list';
import { Entries } from 'type-fest';
import { jsonTools } from '../pages/tools/json';
@@ -23,7 +24,8 @@ const toolCategoriesOrder: ToolCategory[] = [
'number',
'png',
'time',
'gif'
'gif',
'audio'
];
export const tools: DefinedTool[] = [
...imageTools,
@@ -34,7 +36,8 @@ export const tools: DefinedTool[] = [
...csvTools,
...videoTools,
...numberTools,
...timeTools
...timeTools,
...audioTools
];
const categoriesConfig: {
type: ToolCategory;
@@ -115,6 +118,12 @@ const categoriesConfig: {
icon: 'material-symbols-light:image-outline-rounded',
value:
'Tools for working with pictures compress, resize, crop, convert to JPG, rotate, remove background and much more.'
},
{
type: 'audio',
icon: 'rivet-icons:audio',
value:
'Tools for working with audio extract audio from video, adjusting audio speed, merging multiple audio files and much more.'
}
];
// use for changelogs