开源库免费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> 文件。


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

相关推荐
IvorySQL1 天前
IvorySQL 5.3 正式发布:基于 PG 18.3 内核,多特性升级+全场景适配
数据库·postgresql·开源
API开发平台1 天前
开源 API 开发平台 4.2.0 发布
低代码·开源
想要成为计算机高手1 天前
研究 telegrip - SO100 Robot Arm Teleoperation System
arm开发·机器人·开源·具身智能·摇操·telegrip
冬奇Lab1 天前
一天一个开源项目(第48篇):Agent-Reach - 给 AI Agent 装上互联网能力,零 API 费用支持 Twitter、Reddit、YouTub
人工智能·开源·资讯
a1117761 天前
Markdown生成思维导图(html 开源)
前端·开源·html
IvorySQL1 天前
PostgreSQL 技术日报 (3 月 12 日)|为什么加索引反而变慢?这招让查询快 50 倍
数据库·postgresql·开源
白鲸开源1 天前
AI Agent 两大 “神辅助” 对决:MCP vs Skills 谁更能打?
人工智能·开源·aigc
AI成长日志1 天前
【GitHub开源项目】OpenClaw深度解析——开源多模态大模型系统的架构设计与核心实现
人工智能·系统架构·开源·github
Breath571 天前
让 AI Agent 操作钉钉文档、表格的技能(Skill)库
人工智能·开源·钉钉·agent·ai agent·skill·agent skil
FriendshipT1 天前
YOLOs-CPP:一个免费开源的YOLO全系列C++推理库(以YOLO26为例)
c++·人工智能·yolo·目标检测·分类·开源