Code Monkey home page Code Monkey logo

Comments (25)

OpportunityLiu avatar OpportunityLiu commented on June 13, 2024

不是吧。。。分页的话我的应用也要炸啊

from ehtagtranslator.

Mapaler avatar Mapaler commented on June 13, 2024

你研究一下,想个办法吧,反正现在遇到了github页面的长度限制,我的是直接挂掉。@xioxin 的倒是没问题

from ehtagtranslator.

OpportunityLiu avatar OpportunityLiu commented on June 13, 2024

我这里暂时还没炸。

维持现在的结构的话只能拆了;
不过感觉最后还是要上真正的数据库啊,然后再搞个网页做编辑用的前端,用API给其他应用提供数据。。。

from ehtagtranslator.

Mapaler avatar Mapaler commented on June 13, 2024

那谁做啊,还需要个专门的服务器

from ehtagtranslator.

Mapaler avatar Mapaler commented on June 13, 2024

image 18
你对这一堆有没有了解,有没有哪个适合做纯文本编辑的,改成不转成表格的方式,这样就既可以公开编辑又可以直接读取了

from ehtagtranslator.

xioxin avatar xioxin commented on June 13, 2024

看看 https://imsun.github.io/gitment/
这是一个github page服务的评论系统 利用api操作Issues实现

大概思路 利用page服务提供页面和表单

利用github api 进行编辑存储 至于数据存在哪里得看看文档有没有什么可以用的
https://developer.github.com/v3/

不一定靠谱

from ehtagtranslator.

xioxin avatar xioxin commented on June 13, 2024

现在可以先删减删减图片 来减少内容

from ehtagtranslator.

Mapaler avatar Mapaler commented on June 13, 2024

那个要自己开发,工程量太大了。
再怎么删减图片也终有超过的那一天。

我觉得直接新增一套数据库格式,老版暂时保持能访问的原样不修改了。新的取消可视化,直接写成JSON,编辑也只能编辑JSON,就跟普通编辑代码一样了。

from ehtagtranslator.

xioxin avatar xioxin commented on June 13, 2024

编辑代码不太现实 容易出错

from ehtagtranslator.

Mapaler avatar Mapaler commented on June 13, 2024

似乎这个根服务器有关系,md全部解析需要花很长时间,如果超时就不显示了。所以还是纯文本最简单了

from ehtagtranslator.

Mapaler avatar Mapaler commented on June 13, 2024

怎么办,我是觉得直接用一个md代码块里写json纯文本的开发难度比较低。

from ehtagtranslator.

heroboy avatar heroboy commented on June 13, 2024

你不是有userscript吗,github自己不渲染,你可以在userscript里把md读出来渲染在页面上啊。

from ehtagtranslator.

Mapaler avatar Mapaler commented on June 13, 2024

@heroboy ETS就是这样做的,我没必要重写一套吧。

from ehtagtranslator.

xioxin avatar xioxin commented on June 13, 2024

解析移植过去?

from ehtagtranslator.

xioxin avatar xioxin commented on June 13, 2024

可以找一个js的markdown转html的解析库 解析后 再走原来的解析

from ehtagtranslator.

Mapaler avatar Mapaler commented on June 13, 2024

那还不如直接写MD解析了,还简单些

from ehtagtranslator.

OpportunityLiu avatar OpportunityLiu commented on June 13, 2024

好像可以了?

from ehtagtranslator.

xioxin avatar xioxin commented on June 13, 2024

什么可以了?

from ehtagtranslator.

OpportunityLiu avatar OpportunityLiu commented on June 13, 2024

这个问题自动消失了?我现在浏览那几个页面都没啥问题

from ehtagtranslator.

Mapaler avatar Mapaler commented on June 13, 2024

不知道问题怎么出现的,现在暂时无法再现。

from ehtagtranslator.

OpportunityLiu avatar OpportunityLiu commented on June 13, 2024

那就出现了再reopen吧

from ehtagtranslator.

kayanouriko avatar kayanouriko commented on June 13, 2024

你们不准备搞个服务器么?
最近腾讯云打折,330元最多6年,个人开发够用了...
我准备把你们的Tag汉化数据迁移到我的服务器做api请求了...

from ehtagtranslator.

Mapaler avatar Mapaler commented on June 13, 2024

毛线,这种东西你敢放国内?分分钟被关站。
我一开始就是准备用数据库做,但是后来考虑到维护成本问题才用GitHub的,这个更利于开放式管理。

from ehtagtranslator.

kayanouriko avatar kayanouriko commented on June 13, 2024

@Mapaler 机房是香港的,域名也是国外的,都不用备案,这不行?
也不展示,按你们上面讨论只提供api查询就好了...

from ehtagtranslator.

Mapaler avatar Mapaler commented on June 13, 2024

我主要还是考虑到编辑的便捷性,自己做一套编辑系统太麻烦了。

from ehtagtranslator.

Related Issues (20)

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.