GithubHelp home page GithubHelp logo

nonememe / nonememe Goto Github PK

View Code? Open in Web Editor NEW
61.0 61.0 30.0 49.61 MB

NoneBot 群大佬的日常 https://nonememe.icu/

Home Page: https://nonememe.icu/

HTML 57.16% CSS 1.41% JavaScript 31.28% Shell 5.58% Python 4.56%

nonememe's Introduction

NoneBot 梗图收集


介绍

NoneBot群的大佬们个个都是人才,说话又好听,我超喜翻在里面的♡

从群里收集而来的梗图,既有大佬们聊天梗,也有各种与 NoneBot 相关的奇奇怪怪梗。

为了方便品鉴, 便新建仓库存放了,欢迎使用哦√

投递新图/文

本仓库欢迎更多更新的梗,如果你有相关新的梗想要加入本仓库,只需要Fork后做一些简单更改即可√

当然,也欢迎加入 NoneMeme 团队更方便的进行更改~

对于图片内容参考如下步骤:

  1. Fork 本仓库

  2. 准备图片

    1. 内容应为与 NoneBot 相关的梗图

    2. 将文件名字命名为你的梗图需要表述的意思

  3. 提交图片

    1. 将图片放入 meme 文件夹中

    2. 提交并发起 PR

对于文字内容参考如下步骤:

  1. Fork 本仓库

  2. 准备 Markdown 文档

    1. 内容应为与 NoneBot 相关的

    2. 将文件名字命名为你的梗需要表述的意思

    3. 文档的第一行最好为文章的标题,且必须形如 # 你的标题

    4. 文档末尾最好留一个空行

    5. 请不要试图修改 text 文件夹中的内容——它们是自动生成的,对其的修改会在下次更新文章时被覆盖

  3. 提交文档

    1. 将文档放入 art 文件夹中

    2. 提交并发起 PR

删除旧梗

本仓库虽用于记录 NoneBot 交流群所流传的相关梗,但本仓库中任何内容均不代表 NoneBot 团队的相关态度,也不会强迫任何内容“入典”。

如有内容影响到 NoneBot 的正常开发,或被群聊成员公认不应“入典”,或其主人拒绝“入典”,可联系 NoneMeme 团队或提交 pr 进行删除。

想自立门户?

目前已经从本项目提取出了一个项目模板,使用方法参照其介绍。

感谢

本仓库借用了很多代码和灵感 ,甚至连Readme都有借用 ,感谢

modcrafts/a60-shop 本仓库几乎所有东西都借用于此 ,而且A60酱太可爱啦!!!

picocss/pico 了解到了一个非常好用的CSS框架!

MarketingPipeline/Markdown-Tag 文字梗的Markdown的渲染支持。

nonememe's People

Contributors

acpear avatar alittlebot avatar brx86 avatar cnflysky avatar cvandia avatar eya46 avatar gggxbbb avatar hello-djh avatar jiang-red avatar kaguya233qwq avatar komoridev avatar lgc2333 avatar mingxuangame avatar monsterxcn avatar moran0710 avatar ncbm avatar nikissxi avatar nranphy avatar numbersir avatar nwylzw avatar reallygoodbaker avatar seidko avatar sk-415 avatar starhearthunt avatar stdrc avatar well2333 avatar yincmewy avatar yinghanwen avatar zombiefly avatar zty012 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

nonememe's Issues

从CICD自动构建迁移到Github API以及此结构对不同运行环境的适配性

目前我要做的是完全重构整个项目。现在的图片列表加载有一个问题,是静态的,每次commit都要 靠CI来重新生成这个列表,这无疑是不优雅的,所以我想到了动态获取图片列表,这就遇到了一个问题,怎么获取到图片列表?然后查找资料以及阅读文档以后,查询到了Github有这方面的API:

`https://api.github.com/repos/{$userName}/{$repoName}/contents/{$path}/?ref={$branch}`

但是如何区分是在本项目,还是fork项目,抑或是clone下来自己建服务器怎么办呢?都是调GitHub查询本项目的文件列表?如果别人想用自己的图片库呢?

所以现在就需要讨论这个内容怎么实现了。

讨论:是否要将图片内容压缩以加快用户侧加载

目前图片资源在**大陆的加载速度普遍不快,访问体验不够良好。

现有的 meme 图片(.jpg, .png文件)总大小约有 47MiB,其中最大的一张 png 图片大小约为 1.2MiB,最大的一张 jpg 图片约有 834KiB。

通过下述操作转换:

cd meme
for i in *.png *.jpg; do
    ffmpeg -i "$i" "${i::-3}webp";
    rm "$i";
done

在保证主要内容不丢失的情况下,转换出的 webp 图片文件总大小不足 14MiB,其中最大的一张约有 289KiB。

考虑到该更改影响较大,故开立此 Issue 用于讨论。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.