freenoworg / pixivnow Goto Github PK
View Code? Open in Web Editor NEWProvide Pixiv backend proxy & frontend service based on serverless technology
Home Page: https://pixiv.js.org
License: Apache License 2.0
Provide Pixiv backend proxy & frontend service based on serverless technology
Home Page: https://pixiv.js.org
License: Apache License 2.0
Lines 21 to 27 in 4b85565
任选一种方案皆可
@vicons/fa
目前全量导入 fontawesome-svg-core 导致入口文件非常巨大,流量有点扛不住
Currently when visiting the pixiv.js.org website and browsing trough the posts of an artist, only 24 max are shown and here's no option to show more.
以artwork页面为例,当用户直接在地址栏输入如example.com/artwork/123456
的地址时、或是刷新这样的地址时,vercel会返回404页面。user,search等页面同理。
就像这样
https://<server_name>/api/illust/random?cookie=<cookie>
vercel被爬爆了(准确来说 2 天之内使用量 300Gb/hour)
无法承担 vercel 高昂的月租金(20刀/月),预计迁移到 Cloudflare Pages 付费版(5刀/月)
GET /ajax/user/:user_id/recommends?userNum=<number>&workNum=<number>&isR18=<boolean>
e.g. https://www.pixiv.net/ajax/user/32338232/recommends?userNum=20&workNum=3&isR18=true
虽然要求用户自己提供 cookie 本身就已经够不安全了,但我们还是可以让 cookie 保存的稍微安全一点
(这个功能难道不应该先给 BlogNow 做吗 kora)
Can I have instructions on how to install your script?
把代码扣下来放到本地服务器,打开是空白。
[url=https://postimages.org/][img]https://i.postimg.cc/C5ZQww82/QQ-20220903215115.png[/img][/url]
各位,早上好中午好晚上好:
我们希望通知您,由于 Vercel 在 2024年4月4日 对其定价策略进行了修改,细化了收费指标,这对我们的项目产生了重大影响。特别是,我们的项目在部分指标上的用量已经远超过了免费计划的限额。由于 PixivNow 是一个开源项目,并且到目前为止我们没有任何盈利,我们很难为了这个兴趣使然的项目自掏腰包。
幸运的是,Vercel 为现有的免费计划用户提供了 6 个月的缓冲期,这意味着我们的服务在接下来的六个月内不会受到影响。但是在此之后(大约是 2024年9月),我们的服务有极大概率将被迫中断。
在接下来的几个月里,我们将探索所有可能的解决方案以继续提供服务(前提是尽量不要花钱)。
我们非常感谢您一直以来对 PixivNow 的支持和理解。如果您希望继续支持我们,我们正在考虑接受赞助来帮助维持项目的运行。您可以通过访问我们的赞助页面了解更多信息,并考虑成为我们的赞助者。
QQ 群:1026023666
When opening the website an error message from https://js.org appears.
I install on my server with this command:
yarn
yarn build
then I configured nginx root directory but when I visit my site's api I get 404 error. Is there anything else I need to configure to get API working?
Line 55 in 9dbce2c
此处未生效
电脑有改别人废稿做出的NginxPixiv反代,可以直接开Pixiv(首页较慢),也试着编译过本项目为html(因为不太会Vue,所以以做出api跳转到本地反代失败而告终),因为觉得本项目色图(bushi)推荐机制比原Pixiv更好,而且加载速度也更快,所以想在本地部署一个(有时间的话可能会做出侧栏的插画页面?)
There's still some related projects are using /api/illust/random?format=image
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
sass
, unplugin-icons
, unplugin-vue-components
, vite
)@vercel/node
, vue
, vue-i18n
)@vue/language-plugin-pug
, vercel
)package.json
axios ^1.6.8
date-fns ^3.6.0
date-fns-tz ^3.1.3
fflate ^0.8.2
gif.js ^0.2.0
js-cookie ^3.0.5
naive-ui ^2.38.1
nprogress ^0.2.0
pinia ^2.1.7
vue ^3.4.23
vue-gtag ^2.0.1
vue-i18n ^9.13.0
vue-router ^4.3.2
vue-waterfall-plugin-next ^2.4.3
@dragon-fish/sensitive-words-filter ^2.0.1
@iconify-json/fa-solid ^1.1.8
@prettier/plugin-pug ^3.0.0
@types/cookie ^0.6.0
@types/gif.js ^0.2.5
@types/js-cookie ^3.0.6
@types/lodash.escaperegexp ^4.1.9
@types/node ^20.12.7
@types/nprogress ^0.2.3
@vercel/node ^3.0.27
@vitejs/plugin-vue ^5.0.4
@vue/language-plugin-pug ^1.8.27
@vueuse/core ^10.9.0
cheerio 1.0.0-rc.12
conventional-changelog-cli ^4.1.0
cookie ^0.6.0
lodash.escaperegexp ^4.1.2
picocolors ^1.0.0
prettier ^3.2.5
pug ^3.0.2
sass ^1.75.0
tslib ^2.6.2
typescript ^5.4.5
unplugin-auto-import ^0.17.5
unplugin-icons ^0.18.5
unplugin-vue-components ^0.26.0
vercel ^32.7.2
vite ^5.2.9
设置Pixiv令牌时,在输入PHPSESSID并提交表单后出现了Request failed with status code 500的报错。无论是否有使用VPN都会出现此报错。
希望后续可以使用自定义密码+mongodb的形式来读取在数据库中保存的cookies,这样就不用在每一个登录地点单独配置cookies了
https://developer.mozilla.org/zh-CN/docs/Web/API/MediaStream_Recording_API
优点:原生
缺点:需要等待所有帧原速播放一遍
https://github.com/ffmpegwasm/ffmpeg.wasm
https://www.npmjs.com/package/@diffusion-studio/ffmpeg-js
优点:转换效率高
缺点:库体积巨大(>30mb)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.