mirror of
https://github.com/iib0011/omni-tools.git
synced 2025-11-21 12:34:03 +01:00
feat: add audio extraction tool to convert video files to audio formats (AAC, MP3, WAV)
This commit is contained in:
@@ -24,7 +24,8 @@ export type ToolCategory =
|
||||
| 'time'
|
||||
| 'csv'
|
||||
| 'pdf'
|
||||
| 'image-generic';
|
||||
| 'image-generic'
|
||||
| 'audio';
|
||||
|
||||
export interface DefinedTool {
|
||||
type: ToolCategory;
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user