惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

腾讯CDC
Schneier on Security
Schneier on Security
B
Blog RSS Feed
aimingoo的专栏
aimingoo的专栏
P
Proofpoint News Feed
A
About on SuperTechFans
Recorded Future
Recorded Future
Recent Announcements
Recent Announcements
Microsoft Security Blog
Microsoft Security Blog
L
LangChain Blog
Hugging Face - Blog
Hugging Face - Blog
The GitHub Blog
The GitHub Blog
Google DeepMind News
Google DeepMind News
T
Tailwind CSS Blog
Vercel News
Vercel News
H
Hackread – Cybersecurity News, Data Breaches, AI and More
MyScale Blog
MyScale Blog
V2EX - 技术
V2EX - 技术
N
Netflix TechBlog - Medium
F
Fortinet All Blogs
V
Visual Studio Blog
Martin Fowler
Martin Fowler
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
博客园 - Franky
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
T
The Exploit Database - CXSecurity.com
F
Full Disclosure
Scott Helme
Scott Helme
H
Heimdal Security Blog
博客园 - 叶小钗
Google DeepMind News
Google DeepMind News
Cyberwarzone
Cyberwarzone
Application and Cybersecurity Blog
Application and Cybersecurity Blog
V
Vulnerabilities – Threatpost
Blog — PlanetScale
Blog — PlanetScale
Security Latest
Security Latest
WordPress大学
WordPress大学
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
T
Troy Hunt's Blog
S
SegmentFault 最新的问题
Forbes - Security
Forbes - Security
Jina AI
Jina AI
S
Securelist
小众软件
小众软件
Simon Willison's Weblog
Simon Willison's Weblog
J
Java Code Geeks
AWS News Blog
AWS News Blog
N
News and Events Feed by Topic
博客园 - 三生石上(FineUI控件)
量子位

流星小屋

自用好看的404页面 - 流星小屋 【原创程序】文件批量打印助手 - 流星小屋 飞鸟加速器破解版教程带成品 - 流星小屋 使用PHPExcel库实现Excel文件读写教程 - 流星小屋 习讯云实习周报、月报一键生成工具 - 流星小屋 一键扒取苹果cms系统所有m3u8直链api源码 - 流星小屋 【原创源码】卡密提货带后台 - 流星小屋 【原创】日常和朋友搞抽象答题网页源码 - 流星小屋 宝塔API全自动建站系统源码 - 流星小屋
分享自己最近几天无聊写的两个项目 - 流星小屋
作者: ◇流星雨﹏√ · 2025-02-01 · via 流星小屋

这篇文章距离最后更新已过497 天,如果文章内容或图片资源失效,请留言反馈,我会及时处理,谢谢!

前几天特别特别的无聊,看到了一个科目一题库API,所以根据API写了一个科目一模拟考试网页,就不做过多介绍了,打字也是很累的,演示http://www.liuxingxiaowu.top/index.php/jk.html
代码写的很乱所以暂不提供,懒得整理了,如果有需要的可以联系我,我给你源码
昨天晚上闲的无聊,正好看到有群友在群里分享了一个对接智谱清言的API,于是就根据这个智谱清言的API写了个对话页面,新拟态风格的,每次刷新都会显示不同的背景色彩,地址 http://www.liuxingxiaowu.top/AI.php

,然后想把源码给大家发出来的,但是有朋友说现在AI已经烂大街了,没什么搞头,然后就想把这个当当练手的项目给丢了,然后今天转念一想我也可以把这个网页做成一个API,相信肯定有人能用上,所以就又写了一个页面,一键生成属于自己的AI对话系统,地址http://www.liuxingxiaowu.top/chatsc.php

图片展示 :
111

源码下载地址 : https://dzfzsy.lanzouw.com/iMcnr2mglecd
简易的后台管理源码(累了,懒得美化了,将就能用就行,后面想弄的时候再弄吧)
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>后台</title>
</head>
<body>
    <?php
    // 定义数据目录
    $dataDirectory = 'data';
    if (is_dir($dataDirectory)) {
        $files = scandir($dataDirectory);
        $phpFiles = array();
        foreach ($files as $file) {
            if (pathinfo($file, PATHINFO_EXTENSION) === 'php') {
                $phpFiles[] = $file;
            }
        }
        if (isset($_GET['delete'])) {
            $fileToDelete = $dataDirectory . '/' . $_GET['delete'];
            if (file_exists($fileToDelete)) {
                unlink($fileToDelete);
                header('Location: ' . $_SERVER['PHP_SELF']);
                exit;
            }
        }
        echo '<table border="1">';
        echo '<thead>';
        echo '<tr>';
        echo '<th>所生成的链接</th>';
        echo '<th>操作</th>';
        echo '</tr>';
        echo '</thead>';
        echo '<tbody>';
        foreach ($phpFiles as $file) {
            $link = 'http://iappht.xyz/data/' . $file;
            echo '<tr>';
            echo '<td><a href="' . $link . '" target="_blank">' . $link . '</a></td>';
            echo '<td><a href="?delete=' . $file . '">删除</a></td>';
            echo '</tr>';
        }
        echo '</tbody>';
        echo '</table>';
    } else {
        echo '';
    }
    ?>
</body>
</html>

版权声明: 本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自流星小屋