Commit graph

56 commits

Author SHA1 Message Date
wukko
e16ee6c1d3 env: readable environment variables in all files
apiPort -> API_PORT
apiURL -> API_URL
apiName -> API_NAME
cors -> ENABLE_CORS
cookiePath -> COOKIE_PATH

webPort -> WEB_PORT
webURL -> WEB_URL
showSponsors -> SHOW_SPONSORS
isBeta -> IS_BETA
2024-03-05 19:08:59 +06:00
wukko
83d82f5da9 web: saving cobalt streams via action chooser 2023-12-02 22:51:08 +06:00
wukko
afab7f94a7 api & web: ports in env are no longer strictly required 2023-12-02 22:01:58 +06:00
dumbmoron
ac3998ddda import particular mode module only if needed
mostly relevant because frontend does not need an innertube session
2023-09-03 15:38:50 +00:00
wukko
43a3ebf475 7.0: ui refresh and more 2023-08-05 00:43:12 +06:00
Reed Davenport
31aeae2655
Extract startup conditions to consts 2023-07-01 21:02:15 -04:00
wukko
65161107fa 6.2: no more ip verification
- removed ip verification and updated privacy policy to reflect this change.
- streamable links now last for 20 seconds instead of 2 minutes.
- cleaned up stream verification algorithm. now the same function isn't run 4 times in a row.
- removed deprecated way of hosting a cobalt instance.
2023-06-27 19:56:15 +06:00
wukko
5940bf0b18 comment 2023-05-22 01:14:59 +06:00
wukko
9edc4bd61b new inner layout
- one main controlling script (cobalt.js).
- added api server name to serverInfo endpoint.
- one dockerfile.
- less mess.
2023-05-22 01:13:05 +06:00
wukko
4d369170ff separated web and api, build improvements
wip:
- separate web and api servers.
- script for building static pages.
- building improvements.
- async localisation preloading.
2023-05-19 16:13:38 +06:00
wukko
d85205649e 5.6: tiny quality of life improvements
- remember celebratory emoji changes? they've been fixed, and are now dynamically loaded!
- changelog history now lets you try to load it again if first attempt failed for whatever reason.
- added glow to the donation button to make it more visible.
- cleaned up frontend js a little bit.
- updated some links in tests.
2023-05-17 02:13:11 +06:00
wukko
6e097de2db 5.4.7: added support for ancient vk videos & salt improvements
- now you can download 240p hardbass videos from 2008!
- implemented updated stream salt and ip salt properly
2023-04-29 21:30:59 +06:00
wukko
d8e9fc16d0 make stream salt change on every server start 2023-04-29 17:40:08 +06:00
wukko
5696d4091d OH FUCK 2023-04-09 11:12:11 +06:00
wukko
e9e0fa82c7 testing git info retrieval in docker 2023-04-09 11:11:06 +06:00
wukko
7dc8ab252d change the way user ip address is retrieved 2023-04-09 10:58:23 +06:00
wukko
b8330fc855 minor clean up 2023-04-09 10:42:18 +06:00
wukko
450d01753d update the way environment variables are checked
no longer checking for .env file, just the variables
2023-04-09 09:40:13 +06:00
wukko
a3e4c8dcfd added a status check endpoint 2023-04-09 08:40:07 +06:00
wukko
307da3dce4 5.3.1: tiny fixes
- fixed backdrop on press for "copy url" button in mobile "how to save?" popup
- added ability to disable cors via env file
2023-04-08 16:58:44 +06:00
wukko
35e89f30a4 revert april fools 2023-04-02 21:53:23 +06:00
wukko
49e85efe23 catch connection resets in streamables and other error handling improvements 2023-03-31 11:20:49 +06:00
josephangelobravo@gmail.com
87e684543e change: enable CORS preflight on /api/:type 2023-03-28 15:05:06 -07:00
wukko
1890b44ea3 fix rate limiting 2023-03-25 00:14:44 +06:00
wukko
a3daa65148 5.2
- page render caching
- onDemand block caching
- page html minify
- better rate limiting
- minor cobalt.js clean up
- page render platform indication in settings popup

all these changes are aimed to improve performance and responsiveness

!! not final version of 5.2 !!
2023-03-10 00:41:17 +06:00
wukko
6465ac8d6f 5.1
closes #62, #66, #75
2023-02-26 22:49:25 +06:00
wukko
3c578d6d49 cleaning up what i missed 2023-02-13 20:02:52 +06:00
wukko
dacaaf5b27 5.0-dev1
- rewrote and/or optimized all service modules
- rewrote matching and processing modules to optimize readability and performance
- added support for reddit gifs
- fixed various issues with twitter error explanations
- code optimizations and enhancements (such as finally getting rid of ==, prettier and more readable formatting, etc)
- added branch information
- all functions in currentCommit submodule run only once and cache received data
- added a test script. only twitter and soundcloud are 100% covered and tested atm, will add tests (and probably fixes) for the rest of services in next commits
- changed some localization strings for russian
- added more clarity to rate limit message
- moved services folder into processing folder
2023-02-12 13:40:49 +06:00
wukko
3432c91482 refactoring & fixes
- added duration check to vimeo module
- fixed quality picking in vimeo module for progressive video type
- dropping requests from ie users instead of redirecting
- probably something else but i forgot to be honest
2023-02-09 20:45:17 +06:00
wukko
3b5bf51ba7 4.7
fixes #63, #67, #68, and #71, among other issues
2023-01-14 00:34:48 +06:00
wukko
8d3ffe3ea4 updated the startup message one more time 2022-12-17 17:40:20 +06:00
wukko
cfc461f2af fixed the date in startup message 2022-12-17 17:36:15 +06:00
wukko
b0039466db oops 2022-12-17 17:31:31 +06:00
wukko
498bdabb86 removed legacy stuff 2022-12-17 17:29:40 +06:00
wukko
7f1ba6b36b 4.6.0: video muting and soundcloud client_id 2022-12-17 17:09:49 +06:00
wukko
f13a82e152 4.5 2022-12-07 01:21:07 +06:00
wukko
316e6423f4 4.3: open api + post method for main endpoint 2022-11-12 22:40:11 +06:00
wukko
378fecd849 8k and quality picker revamp 2022-11-04 14:49:58 +06:00
wukko
c532062aa2 twitter spaces and a ton of improvements 2022-10-24 19:03:11 +06:00
wukko
ad0846ac73 disabled tiktok and made it impossible to run the server unless all requirements are met 2022-09-20 13:54:44 +06:00
wukko
c6d1761b11 vk fixes and new changelog system 2022-09-11 21:04:06 +06:00
wukko
378e1d2118 Update cobalt.js 2022-09-04 11:32:06 +06:00
wukko
ecf2dac5d8 fixed a silly mistake that broke soundcloud
also added an error handler for this issue if it happens ever again
2022-09-04 10:14:25 +06:00
wukko
9ea832caf5 tiktok images and crowdin 2022-09-03 21:32:39 +06:00
wukko
f70128f4fc fix small issues 2022-09-01 19:51:18 +06:00
wukko
a8b5555a1b added ability to download full audios from tiktok (3.3.5)
- it's now possible to download full audios from tiktok videos, you just have to turn that on in settings.
- tiktok audios are better in quality when it's possible to get exact audio used in video and not the full version of it.
- cleaned up the way user preference stuff is passed over between modules, should be way more flexible now.
- added audio ignore list to services config json instead of hardcoding it.
2022-08-23 20:43:56 +06:00
wukko
a7ea766289 3.1 2022-08-16 16:31:41 +06:00
wukko
e11ee6fb62 clean up 2022-08-16 13:14:19 +06:00
wukko
a5e081e2bf prevent crash if youtube video is fucked up
ill remake a youtube function to pick a good video instead of broken one later, i just dont want cobalt to hang if one youtube cdn is down

i hate youtube so much
2022-08-14 23:09:06 +06:00
wukko
54c14232d5 3.0
probably the biggest update in history of cobalt
2022-08-12 19:36:19 +06:00