-
Notifications
You must be signed in to change notification settings - Fork 0
feat: prepare repo for public GitHub release #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
c263c4a
feat: prepare repo for public GitHub release
dawidope ac21e8f
Initial plan
Copilot b8c7c23
Update .github/workflows/ci.yml
dawidope 51e9b53
fix: include LICENSE file in Docker image
Copilot 78582d3
Merge pull request #4 from deapi-ai/copilot/sub-pr-3
dawidope 5f41d66
Initial plan
Copilot c8a4d51
fix: correct repository URLs from deapi-develop-tester to deapi-tester
Copilot 37f35f8
Merge pull request #5 from deapi-ai/copilot/sub-pr-3-again
dawidope 6063ea9
Initial plan
Copilot 242231d
fix: add OG/Twitter images and upgrade eslint-config-next to v15
Copilot ad5d7b2
Merge pull request #6 from deapi-ai/copilot/sub-pr-3-another-one
dawidope cf1acb7
Initial plan
Copilot 8f425d3
fix: add metadataBase to resolve OG/Twitter image URLs
Copilot 56e7655
fix: use localhost:3000 as default metadataBase for local dev
Copilot 0e0e38a
Merge pull request #7 from deapi-ai/copilot/sub-pr-3-yet-again
dawidope 40eb1e0
Initial plan
Copilot dd7a071
fix: address Node.js version requirements and metadata validation
Copilot 403d7fd
refine: improve warning message clarity for invalid NEXT_PUBLIC_SITE_URL
Copilot df91786
Merge pull request #8 from deapi-ai/copilot/sub-pr-3-one-more-time
dawidope 8920528
Initial plan
Copilot 9a564db
Merge pull request #9 from deapi-ai/copilot/sub-pr-3-please-work
dawidope b43e0f4
Update src/app/layout.tsx
dawidope File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| node_modules | ||
| .next | ||
| .git | ||
| .github | ||
| .claude | ||
| .vscode | ||
| .env*.local | ||
| data/config.json | ||
| data/history.json | ||
| output | ||
| *.md | ||
| !README.md | ||
| .DS_Store | ||
| nul | ||
| npm-debug.log* | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,42 @@ | ||
| # Contributing to deAPI Tester | ||
|
|
||
| Thanks for your interest in contributing! | ||
|
|
||
| ## Development Setup | ||
|
|
||
| ```bash | ||
| git clone https://github.com/deapi-ai/deapi-tester.git | ||
| cd deapi-tester | ||
| npm install | ||
dawidope marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| npm run dev | ||
| ``` | ||
|
|
||
| Open [http://localhost:3000](http://localhost:3000). | ||
|
|
||
| ## Code Style | ||
|
|
||
| - TypeScript strict mode — no `any` | ||
| - PascalCase for components, camelCase for functions/variables | ||
| - Use `@/` alias for imports | ||
| - Tailwind classes for styling (CSS variables for theme-aware colors) | ||
| - One component per file, keep under ~300 lines | ||
|
|
||
| ## Submitting Changes | ||
|
|
||
| 1. Create a branch: `git checkout -b feature/my-feature` | ||
| 2. Make changes and test locally | ||
| 3. Run `npm run lint` to check for issues | ||
| 4. Commit with a clear message | ||
| 5. Push and open a Pull Request | ||
|
|
||
| ## Adding Endpoints | ||
|
|
||
| See the [Adding New Endpoints](../README.md#adding-new-endpoints) section in the README. Only `src/lib/endpoint-registry.ts` needs editing — form UI is generated automatically. | ||
|
|
||
| ## Reporting Bugs | ||
|
|
||
| Use [GitHub Issues](https://github.com/deapi-ai/deapi-tester/issues) and include: | ||
| - Description of the bug | ||
dawidope marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| - Steps to reproduce | ||
| - Expected vs actual behavior | ||
| - Screenshots if applicable | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,35 @@ | ||
| --- | ||
| name: Bug Report | ||
| about: Report a bug to help us improve | ||
| title: '[Bug] ' | ||
| labels: bug | ||
| --- | ||
|
|
||
| ## Description | ||
|
|
||
| A clear description of the bug. | ||
|
|
||
| ## Steps to Reproduce | ||
|
|
||
| 1. Go to '...' | ||
| 2. Click on '...' | ||
| 3. See error | ||
|
|
||
| ## Expected Behavior | ||
|
|
||
| What you expected to happen. | ||
|
|
||
| ## Actual Behavior | ||
|
|
||
| What actually happened. | ||
|
|
||
| ## Environment | ||
|
|
||
| - OS: [e.g. Windows 11, macOS 14] | ||
| - Node.js: [e.g. 20.10] | ||
| - Browser: [e.g. Chrome 120] | ||
| - Docker: [yes/no] | ||
|
|
||
| ## Screenshots | ||
|
|
||
| If applicable, add screenshots. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| --- | ||
| name: Feature Request | ||
| about: Suggest a new feature | ||
| title: '[Feature] ' | ||
| labels: enhancement | ||
| --- | ||
|
|
||
| ## Description | ||
|
|
||
| A clear description of the feature you'd like. | ||
|
|
||
| ## Use Case | ||
|
|
||
| Why is this feature useful? What problem does it solve? | ||
|
|
||
| ## Proposed Solution | ||
|
|
||
| How would you like it to work? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| ## Description | ||
|
|
||
| Brief description of changes. | ||
|
|
||
| ## Type of Change | ||
|
|
||
| - [ ] Bug fix | ||
| - [ ] New feature | ||
| - [ ] Documentation | ||
| - [ ] Refactoring | ||
|
|
||
| ## Testing | ||
|
|
||
| How was this tested? | ||
|
|
||
| ## Checklist | ||
|
|
||
| - [ ] Code follows project style guidelines | ||
| - [ ] No debug code left in | ||
| - [ ] Tested locally | ||
| - [ ] Updated README if needed |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| name: CI | ||
|
|
||
| on: | ||
| push: | ||
| branches: [main] | ||
| pull_request: | ||
| branches: [main] | ||
|
|
||
| jobs: | ||
| lint-and-build: | ||
| runs-on: ubuntu-latest | ||
| strategy: | ||
| matrix: | ||
| node-version: ['18.18.x', '20.x'] | ||
| steps: | ||
dawidope marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| - uses: actions/checkout@v4 | ||
|
|
||
| - uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: ${{ matrix.node-version }} | ||
| cache: 'npm' | ||
|
|
||
| - run: npm ci | ||
|
|
||
| - run: npm run lint | ||
dawidope marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| - run: npm run build | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| MIT License | ||
|
|
||
| Copyright (c) 2025 deAPI.ai | ||
|
|
||
| Permission is hereby granted, free of charge, to any person obtaining a copy | ||
| of this software and associated documentation files (the "Software"), to deal | ||
| in the Software without restriction, including without limitation the rights | ||
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
| copies of the Software, and to permit persons to whom the Software is | ||
| furnished to do so, subject to the following conditions: | ||
|
|
||
| The above copyright notice and this permission notice shall be included in all | ||
| copies or substantial portions of the Software. | ||
|
|
||
| THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
| IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
| FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
| AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
| LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
| OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
| SOFTWARE. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,71 @@ | ||
| # deAPI — Unified AI Inference API | ||
|
|
||
| > One API to access all AI models. Image generation, video creation, text-to-speech, transcription, OCR, embeddings and more. | ||
|
|
||
| ## What is deAPI? | ||
|
|
||
| deAPI.ai is a unified AI inference API that gives developers access to multiple AI models through a single endpoint. Instead of integrating separately with Stability AI, Replicate, ElevenLabs, OpenAI and others, developers use one API — deAPI — to access all of them. | ||
|
|
||
| deAPI runs on a decentralized GPU network, offering cost-effective AI inference compared to traditional cloud providers. | ||
|
|
||
| Website: https://deapi.ai | ||
| API documentation: https://docs.deapi.ai | ||
| Full API reference for LLMs: https://docs.deapi.ai/llms-full.txt | ||
|
|
||
| ## Supported Capabilities | ||
|
|
||
| - **Image Generation** — Text-to-image (txt2img) and image-to-image (img2img) with models like Flux, Stable Diffusion, and more | ||
| - **Video Generation** — Text-to-video (txt2video) and image-to-video (img2video) with models like Kling, Minimax, and more | ||
| - **Text-to-Speech** — High-quality speech synthesis with multiple voices and languages | ||
| - **Transcription** — Audio, video, YouTube, Twitch, X Spaces, and Kick stream transcription | ||
| - **OCR** — Optical character recognition from images | ||
| - **Image Utilities** — Upscale, remove background, style transfer | ||
| - **Embeddings** — Text-to-embedding generation | ||
| - **Prompt Enhancement** — AI-powered prompt optimization for image, video, and speech | ||
|
|
||
| New models and capabilities are added continuously — no client-side code changes needed. | ||
|
|
||
| ## How the API Works | ||
|
|
||
| All endpoints are asynchronous. A request returns a `request_id`, and results can be retrieved via: | ||
| 1. **Webhooks** (recommended) — Automatic delivery with retries | ||
| 2. **WebSockets** — Real-time updates with live previews | ||
| 3. **Polling** — Manual status checks via `/request-status` | ||
|
|
||
| Base URL: `https://api.deapi.ai` | ||
| Authentication: Bearer token in Authorization header. | ||
|
|
||
| ## Pricing | ||
|
|
||
| Pay-per-use model. New accounts receive $5 free credit. Each endpoint has a price calculator to estimate costs before sending requests. Full pricing details at https://docs.deapi.ai. | ||
|
|
||
| ## Integrations | ||
|
|
||
| - **MCP Server** — Use deAPI from AI assistants and IDEs (Claude, Cursor, etc.) | ||
| - **Claude Code Skills** — Generate images, videos, audio, transcribe and more directly from terminal: https://github.com/deapi-ai/claude-code-skills | ||
| - **n8n Integration** — Workflow automation with deAPI nodes | ||
| - **deAPI Tester** — Open-source web UI for testing all endpoints with dynamic forms, job tracking and result preview: https://github.com/deapi-ai/deapi-tester | ||
|
|
||
dawidope marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| ## Available Models | ||
|
|
||
| Models are auto-discovered via the `/models` API endpoint. Current categories include: | ||
| - Image generation: Flux (Schnell, Dev, Pro), Stable Diffusion, and more | ||
| - Video generation: Kling, Minimax, and more | ||
| - TTS: Multiple providers with various voices and languages | ||
| - Transcription: Whisper-based models | ||
| - OCR, upscaling, background removal, embeddings | ||
|
|
||
| The model list grows as new providers are onboarded — no API changes required. | ||
|
|
||
| ## Links | ||
|
|
||
| - Website: https://deapi.ai | ||
| - API Documentation: https://docs.deapi.ai | ||
| - API Reference (LLM-readable): https://docs.deapi.ai/llms-full.txt | ||
| - Claude Code Skills: https://github.com/deapi-ai/claude-code-skills | ||
| - deAPI Tester (this repo): https://github.com/deapi-ai/deapi-tester | ||
| - Support: https://docs.deapi.ai (FAQ & contact) | ||
dawidope marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| ## License | ||
|
|
||
| This repository (deAPI Tester) is MIT licensed. | ||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.