mellowagain / pomu Goto Github PK
View Code? Open in Web Editor NEWpomu.app archives VTuber livestreams both automatically and on-demand
Home Page: https://dev.pomu.app
License: BSD 3-Clause "New" or "Revised" License
pomu.app archives VTuber livestreams both automatically and on-demand
Home Page: https://dev.pomu.app
License: BSD 3-Clause "New" or "Revised" License
probably useful statistic
there is a way to force enable youtube dvr which would allow us to skip (may be irrelevant)
https://addons.mozilla.org/en-US/firefox/addon/force-enable-youtube-dvr/
https://github.com/ohareza/forcedvr
We are nearing 1000 livestreams saved on our hosted pomu instance. We'll take this opportunity to do a bunch of infrastructure updates:
Our dev instance has been stable enough for quite a while now, meaning that we can go ahead and promote it to the production instance. This means:
dev.pomu.app
-> pomu.app
dev-cdn.pomu.app
-> cdn.pomu.app
All other subdomains such as manual-cdn.pomu.app
, docs.pomu.app
or status.pomu.app
will stay on their current subdomain
Checklist:
.env
file on pomu
fly.io container, replacing all dev.
urls with the full URLdownload_url
field with newly adjusted CDN urlpomu
search index with newly adjusted CDN urlpomu
hosted container on fly.ioBecause Backblaze S3 buckets cannot be updated, we will keep the S3 bucket named pomu-dev
and we will continue to save new archives into that S3 bucket.
Pomu uses Meilisearch Cloud at the moment, but they have announced that they will be sun setting their free tier and replace it with a $20/mo basic tier at the end of this month. Pomu's search usage is in no way high enough (less than 1K searches per month) to justify migrating to it, so we will switch to self-hosted Meilisearch using fly.io
.env
fileIn the spirit of being open data (and also as a backup solution), we should add automated downloadable database dumps of pomu.app
's videos
table. We should host these database dump in a GitHub repository.
pomu-db-dumps
repositoryadd a report button like this:
will allow a archive to be reported with the following reasons:
the notifications can just be sent to pomu's email address or to the discord
Sentry Issue: POMU-SF-K
*pq.Error: pq: remaining connection slots are reserved for non-replication superuser connections
File "/opt/pomu/holodex.go", line 45, in QueueUpcomingStreams
sentry.CaptureException(err)
File "/tmp/pomu-go/pkg/mod/github.com/go-co-op/[email protected]/gocron.go", line 106, in callJobFuncWithParams
f.Call(in)
File "/tmp/pomu-go/pkg/mod/github.com/go-co-op/[email protected]/executor.go", line 92, in (*executor).start.func1.2
callJobFuncWithParams(f.function, f.parameters)
File "/tmp/pomu-go/pkg/mod/github.com/go-co-op/[email protected]/executor.go", line 109, in (*executor).start.func1.3
runJob()
File "/tmp/pomu-go/pkg/mod/golang.org/x/[email protected]/singleflight/singleflight.go", line 193, in (*Group).doCall.func2
c.val, c.err = fn()
...
(5 additional frame(s) were not displayed)
the frontend uses the youtube embed API to (https://www.youtube.com/oembed?url=
) display video info like title and uploader before submission to our API server.
if the video has embedding disabled, that endpoint will return 401 unauthorized
and because of our error handling, the whole video will be unable to be submitted via the frontend. manually submitting it via the API works fully normally.
we need to handle the following errors returned by youtube's oembed endpoint:
400 bad request
401 unauthorized
404 not found
Hello,
I wanted to submit an url to be added to the queue which requires me to sign in. I tried to login via Discord (twitter and youtube greyed out). After I click the 'Authorize' button, the redirect URL is returning a 502 response, not allowing me to login.
Redirected URL (sanitized): https://dev.pomu.app/oauth/discord/redirect?code=4dps0SrWepRqbXXXXXX&state=2277768XXXXX
Thank you
recording members-only livestreams is possible by grabbing cookie files from an authenticated user which is subscribed to membership. thus we should allow users to upload a cookie file so we can save it on the server side.
downloads will also then be restricted to users which are active members of the channel which we've saved the archive of
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.