开源库免费API服务平台 ALLBEAPI

开源库API化平台 ALLBEAPI 🌊

GitHub仓库地址:https://github.com/TingjiaInFuture/allbeapi

为优秀开源库提供免费 API 服务,让开发者无需安装和部署即可直接调用。

🌐 API 接入地址

基础 URL : https://res.allbeapi.top

所有 API 服务都通过此域名提供,支持 HTTPS 安全访问。

🔧 目前支持的API服务

📝 Marked API

将 Markdown 文本转换为 HTML

端点 : POST https://res.allbeapi.top/marked/render

javascript 复制代码
fetch('https://res.allbeapi.top/marked/render', {
    method: 'POST',
    headers: { 'Content-Type': 'application/json' },
    body: JSON.stringify({
        markdown: "# 标题\n\n这是 **粗体** 文本。"
    })
})
.then(response => response.text())
.then(html => console.log(html));

🥄 Beautiful Soup API

强大的 HTML/XML 解析和数据提取工具

主要端点:

  • POST https://res.allbeapi.top/beautifulsoup/parse - HTML解析
  • POST https://res.allbeapi.top/beautifulsoup/extract - 元素提取
  • POST https://res.allbeapi.top/beautifulsoup/links - 链接提取
  • POST https://res.allbeapi.top/beautifulsoup/images - 图片提取
  • POST https://res.allbeapi.top/beautifulsoup/clean - HTML清理
python 复制代码
import requests

response = requests.post('https://res.allbeapi.top/beautifulsoup/parse', json={
    "html": "<html><head><title>测试</title></head><body><p>内容</p></body></html>"
})
data = response.json()
print(f"标题: {data['title']}")

🎨 Prettier API

强大的代码格式化工具,支持多种编程语言

主要端点:

  • POST https://res.allbeapi.top/prettier/format - 代码格式化
  • POST https://res.allbeapi.top/prettier/check - 格式检查
  • POST https://res.allbeapi.top/prettier/batch - 批量格式化
  • GET https://res.allbeapi.top/prettier/parsers - 支持的解析器
  • GET https://res.allbeapi.top/prettier/options - 配置选项
javascript 复制代码
fetch('https://res.allbeapi.top/prettier/format', {
    method: 'POST',
    headers: { 'Content-Type': 'application/json' },
    body: JSON.stringify({
        code: 'const x={a:1,b:2};',
        parser: 'babel',
        options: { singleQuote: true, semi: false }
    })
})
.then(response => response.json())
.then(data => console.log(data.formatted));

⚠️ 重要说明

本项目旨在为快速原型开发提供轻量的代码体验,以及基于网络的简易集成。

对于生产环境,不建议使用 API 代替库的引入,因为这可能会带来:

  • 网络延迟问题
  • 稳定性风险
  • 安全性考虑

对于生产应用,请考虑直接安装和使用相应的开源库。

🤝 贡献指南

欢迎提交新的API服务或改进现有功能!

  1. Fork 项目
  2. 创建功能分支
  3. 提交更改
  4. 发起 Pull Request

📄 许可证

本项目采用开源许可证,详见 <LICENSE> 文件。


🌊 让优秀的开源工具像海水一样自由流动 🌊

相关推荐
OctShop大型商城源码6 小时前
OctIM多用户在线客服系统源码_开源、高效、可定制
开源·im在线客服·在线客服源码
梦帮科技11 小时前
第二十二篇:AI驱动的工作流优化:性能瓶颈自动检测
数据结构·数据库·人工智能·python·开源·极限编程
程序员在囧途11 小时前
Sora2 25 秒视频 API 国内直连!10 积分/次,稳定秒退任务,支持 avatar & Remix(附 PHP 接入教程)
后端·开源·php
今天也要学习吖11 小时前
【开源客服系统推荐】AI-CS:一个开源的智能客服系统
人工智能·开源·客服系统·ai大模型·ai客服·开源客服系统
极限实验室11 小时前
Easy-Es 2.1.0-easysearch 版本发布
开源
NocoBase13 小时前
GitHub 上星星数量前 10 的 AI CRM 开源项目
人工智能·低代码·开源·github·无代码
GISHUB14 小时前
地图矢量切片常用的几种开源方案
开源·mapbox
天空属于哈夫克314 小时前
关键词触发自动回复的精准匹配模型
企业微信·api·rpa
神州数码云基地14 小时前
首次开发陌生技术?用 AI 赋能前端提速开发!
前端·人工智能·开源·ai开发
周杰伦_Jay14 小时前
【深度拆解智能体技术底层逻辑】从架构到实现的完整解析
人工智能·机器学习·架构·开源·论文·peai2026