Update on the build errors- Just figured out that you can manually exclude certain packages from the build, literally just pass them through without even touching them them. I merged a pull request that handles this perfectly (thanks to Ruri), and now everything is running smoothly. Basically, there is a feature to exclude certain packages in Next.js which happens to solve all the build error, now the site is working fine and for the sake of this video I won't take it down, its still there, go ahead and check it out.
This is cool haha, I had a similar idea, where I'd write posts in a discord server, as threads, and they'd get published to a WordPress site, and comments would be added as thread replies. I might still try to tackle this after seeing your video. I love the thinking outside the box!
There are ratelimits on discord, how I do it, is by making 10 webhooks (limit per channel) and rolling them (so use different on each message) and you get a bit more free app, if you can use different channels you can make even more webhooks.
Rate limits are actually per ip accessing them. the number of webhooks or even different types of access (webhooks vs post requests) the rate limit is shared. I've run into this time and time again when people use a script I made for FiveM along side trying to log things to webhooks, when they abuse the api too hard and get rate limited the script I made also gets rate limited and they come complaining to me 🙃
@@zfbx ok, yeah, there are global rate limits, but if you reach them you just have inefficient code. Per-Webhook Rate Limit: Each individual webhook has its own rate limit of 5 requests per 2 seconds. Per-IP Rate Limit: There's a global rate limit of 50 requests per second per IP address. This is enforced by Cloudflare and is independent of individual webhook rate limits.
@@zfbx the limit is 5 requests per 2 seconds for webhook. There is an external limit imposed by Cloudflare, 50 requests per second, but if you're reaching that, you've just written very inefficient code.
@@lenni-builder Well there's obviously Notepad, but also a lesser-known app called Sticky Notes. Which is almost identical to the one being made here.
@@lenni-builder The notes are saved across all devices connected to your microsoft account, and so with these "yellow notes" being saved, and.. well.. it can be written on, it is considered a note-taking app.
this is awesome lmao - there’s no limit on private archived threads in a channel. could treat channels as tables and store as much information you want in private archived threads 🤣
This is cool and all, but Obsidian has plugin support with a nice JS API and I think you could do the same. Also, there is a program called Syncthing that you can use for only syncing. Anyways, this is really cool!
@@skitounet Yes, but he was worried about privacy, so he would need to implement cryptography (like in this same video) or setup a local server. What is okay too
lol, cool idea. I am a programmer too, loved the idea mate. But i suggest you to change music after you finish introducing the video and everytime you change argument. Tell me if it was useful, i hope it is
@@stupidgeek Lol I didnt even heard the music while I was watching the video for the first time, my brain was just too focused on the process that I forgot about the music completely XD
@@juststuff_yt thats fair. I was actually working on a way to store files on reddit using images. It was a stupid little project my friend and I were working on. We uploaded a 2GB worth of files as a test and we got banned 😭🤣 We still need to figure out a way to bypass reddits detection. And there were other issues but I think those are easier to solve
did the same to build a code sharing platform, but i posted a new message for every post request i get and made another channel to store the discord ids matched with the code snippets, exactly like a key value database
Damn. You couldve just display a bigass text file as the website and check for modifications, if it was modified, let the discord api handle it, if its more than 2k characters split it into 2 msgs and habe a separate dc channel where every msg is a list of the note messages ids
Ay, this known most likely. Then again; what part exactly is against the TOS? HTTP rates are kept in the given limit, the transmitted data is text and up to standard and its pretty much just posting and reading messages. I could suspect that discord forbids the use of a bot as a backend, but the backend is the website or the javascript instance itself in this case. Also: what/how exactly would a backend be defined in this case?
hmm the website is down becouse i think too many visitors made your free hosting into paid one and not they want money (i dont know almost nothing about is just what i heard someday)
Am i tripping or the problems on this video are stupid and have really simple solutions? Write in the input -> button -> send Thats it? String differentation algoritms? Just get the message in the input as value, edit the message -> button -> send... IS NOT THAT HARD
Update on the build errors-
Just figured out that you can manually exclude certain packages from the build, literally just pass them through without even touching them them.
I merged a pull request that handles this perfectly (thanks to Ruri), and now everything is running smoothly.
Basically, there is a feature to exclude certain packages in Next.js which happens to solve all the build error, now the site is working fine and for the sake of this video I won't take it down, its still there, go ahead and check it out.
402: PAYMENT_REQUIRED lol
@@99u99bro forgot to pay his bills
RIP site down lmao
i use arch btw
wrong video 😭
@@stupidgeek there is no wrong video to comment i use arch btw on
Gfy
@@nmclir/beatmetoit
Imagine not using Gentoo
This is cool haha, I had a similar idea, where I'd write posts in a discord server, as threads, and they'd get published to a WordPress site, and comments would be added as thread replies. I might still try to tackle this after seeing your video.
I love the thinking outside the box!
make it, its fun :)
There are ratelimits on discord, how I do it, is by making 10 webhooks (limit per channel) and rolling them (so use different on each message) and you get a bit more free app, if you can use different channels you can make even more webhooks.
that's cool, thanks :)
Rate limits are actually per ip accessing them. the number of webhooks or even different types of access (webhooks vs post requests) the rate limit is shared. I've run into this time and time again when people use a script I made for FiveM along side trying to log things to webhooks, when they abuse the api too hard and get rate limited the script I made also gets rate limited and they come complaining to me 🙃
@@zfbx ok, yeah, there are global rate limits, but if you reach them you just have inefficient code.
Per-Webhook Rate Limit: Each individual webhook has its own rate limit of 5 requests per 2 seconds.
Per-IP Rate Limit: There's a global rate limit of 50 requests per second per IP address. This is enforced by Cloudflare and is independent of individual webhook rate limits.
@@zfbx the limit is 5 requests per 2 seconds for webhook.
There is an external limit imposed by Cloudflare, 50 requests per second, but if you're reaching that, you've just written very inefficient code.
@@zfbx Time to offer grafana/Loki or datadog logging instead, but let's be real, server owners have 0 IQ.
Nice work. I like the way the website feels, like windows notes
Thankyou :)
Is there really a note taking app on Windows? I think it wasn't there when I last used it like 3 years ago.
@@lenni-builder
Well there's obviously Notepad, but also a lesser-known app called Sticky Notes. Which is almost identical to the one being made here.
@@cookithefirst Huh, isn't that one only for putting those little yellow notes on your desktop?
@@lenni-builder The notes are saved across all devices connected to your microsoft account, and so with these "yellow notes" being saved, and.. well.. it can be written on, it is considered a note-taking app.
You can encrypt the note name and then encode it with base32 and remove the padding characters (equal signs).
interesting
this is awesome lmao - there’s no limit on private archived threads in a channel. could treat channels as tables and store as much information you want in private archived threads 🤣
telegram is a great database. also a media storage, 2 in 1.
yeah, made that before
Nice video buddy! Just curious, what is that cartoon, and how do you generate them?
Syncthing. 1:19
Yes. Use sync thing
pay your vercel ingress bill
How did I JUST realise this channel uses text to speech 😭
Here you earned me as a subscriber i have made many verified discord bot but never thought this
We got discord database before gta 6
haha, true
This is cool and all, but Obsidian has plugin support with a nice JS API and I think you could do the same.
Also, there is a program called Syncthing that you can use for only syncing.
Anyways, this is really cool!
Alright, I'll try those out, thankyou :)
You can also sync obsidian using git, there is a plugin for that
@@stupidgeek no problems. Also, I am in love with your channel. I love this kind of channels of people doing some cool program because it's cool
@@skitounet Yes, but he was worried about privacy, so he would need to implement cryptography (like in this same video) or setup a local server. What is okay too
Let's geek this outttt woo
spread the word
lol, cool idea. I am a programmer too, loved the idea mate. But i suggest you to change music after you finish introducing the video and everytime you change argument. Tell me if it was useful, i hope it is
sure thankyou :)
@@stupidgeek Lol I didnt even heard the music while I was watching the video for the first time, my brain was just too focused on the process that I forgot about the music completely XD
you could try using syncthing to share your obsidian notes between your phone and PC automatically :D
Thats cool, I'll try that
not as good as stealing server resources from discord
@@stupidgeek nice
@@juststuff_yt thats fair. I was actually working on a way to store files on reddit using images. It was a stupid little project my friend and I were working on. We uploaded a 2GB worth of files as a test and we got banned 😭🤣 We still need to figure out a way to bypass reddits detection. And there were other issues but I think those are easier to solve
Or obsidian livesync
wouldn't making a button to send the messages after typing them in be easy?
yeah, but no fun
Lol
Or denouncing…?
Idk why I laughed so hard when I read the title and saw the thumbnail 😂
The website says it wants 💸
did the same to build a code sharing platform, but i posted a new message for every post request i get and made another channel to store the discord ids matched with the code snippets, exactly like a key value database
thats interesting, good work
That's strange, and how did you implement queries?
@@7heMechi looped through the documents and used javascript functions
I instantly bombarded your repo with issues :)
well, thanks
Now please fix them
bro what is this channel, I'm subbing, good job!!
Thanks :)
This gave me an idea, instead of paying for more space on servers…what would be against me from using discord as my file system/database
even tho it is a reupload I'll rewatch
spead the word
@@stupidgeekerm actually its spread
DQL -> Discord Query Language 😂
😂
I think it's because discord js using node js runtime not web browser runtime cause this problem?
Still amazed there are no alternatives to discord.js when it's api is so shit
🥲
It ain't that bad, it's just a bunch of event listeners and callbacks smashed together
There are, you've just never looked for one LOL. Eg. lilybird (Bun)
there is another package called eris but I'm not sure how stable it is. discord.js isn't bad though so 😭
eris and discordeno (if you're using Deno [which you should be])
You can use syncthing to locally sync files with all your devices for free. I use this to sync obsidian notes with my Laptop
fun fact onchange only trigger on change in react , on web that is not the behavior
you overcomplicated this so much 🙏
(you are getting the like and sub)
What about sql
Who would go with the easy route when you can fw discord?
booooooring
Whats the background music please?
i want use bot, need a vps? or can we just run like cronjob?
Genuinely starting tweaking when you did message posts on every onBlur instead of every 2k characters
what if you don't type 2000 characters 🤓, the message won't be posted
you could base 64 decode the encrypted chanel names, and remove the = at the end.
This Deployment has been disabled.
402: PAYMENT_REQUIRED
Gotta love vercel :D
Save deez notes
spread the word
I mean just reading from title this sounds like a pocket AWS lol.
Now make it a general database that stores all the assets and pages for the site as well lmfao
After my years of experience in front end 😊😊
;)
@@stupidgeek that's idea of GitHub is everything but not
Stupid Yoh have just to host it on some good hoster I prefare to use own cloude instance
You could even make your own note taking app but make sure that it focus on simplicity and user friendly .
google notes do the job for me
the website says this deployment has been disabled. why??
I use Windows btw
Ok but i thoght you were gonna seriously implement a SQL interface with discord lol
this is why i quit taking notes. too many sweats
Bro was scared of channel name, but forgot b64
dude created a problem for a solution
this is insanely unreliable, stupid, and just about everything you shouldn't do.... welcome to Microsoft, You're hired!
I mean educationally it may be a nice idea, but come on, it's way more useful and private to just buy / rent a VPS in the Cloud.
next video ;)
Damn. You couldve just display a bigass text file as the website and check for modifications, if it was modified, let the discord api handle it, if its more than 2k characters split it into 2 msgs and habe a separate dc channel where every msg is a list of the note messages ids
I use Manjaro (technically Arch) btw
Wait till he finds out a discord bot can only read messages less than 2 weeks old
Now try this with Matrix :)
Whens the website coming up
soon
At least it wasnt just me who was lentally unstable to do this.
did you have to reupload?
sorry my honour, I've had reasons 🫣🚓
💀
@@stupidgeek🔫 Spill the beans
uhmmmmm isnt discord pwned mainly by tencent?? (chinese company ran by ccp) etc!!
Ay this against the Discord TOS. You might need to change some stuff in the video to get around it or you might get banned ;)
Ay, this known most likely. Then again; what part exactly is against the TOS? HTTP rates are kept in the given limit, the transmitted data is text and up to standard and its pretty much just posting and reading messages. I could suspect that discord forbids the use of a bot as a backend, but the backend is the website or the javascript instance itself in this case. Also: what/how exactly would a backend be defined in this case?
they wouldn't see the video😅
@@xand.r the chances are low, but never zero
@@xand.ryoutube don't allow you to break discord tos either
Cool video keep it up
thanks :)
4:40 - bruh... just use Git in the first place for versioning stuff... like a normal human.
I use Google keep btw
Interesting project!
;)
It's cool content dude
Thanks :)
Why not just sync your obsidian vault with foldersync app.. its free(atleast on Android).. die ios users😅 i don't know of you
Dont understand shi. Just sounds cool so im watching
keep doing that, haha
hmm the website is down becouse i think too many visitors made your free hosting into paid one and not they want money (i dont know almost nothing about is just what i heard someday)
Base64 your channel encrypted name, no ?
4:58 did not did get removed but did not did not get re added ( hope this is as unreadable as possible)
Great video!
Thanks!
account vercel disabled :)
neat stuff
the easy way is to create a second account and use DMs to this account as notes :)
what about privacy 🤓
@@stupidgeek if you care about privacy host your own revolt server ;)
Why arent you just editing the messages instead of calculating the message from several diffs?
You could just have used Vercel's free DB.
no fun
nice vid friend :)
Thanks :)
NR.1 good video (+points bcs im in it ;) )
NR.2 you got a lot of pepe pics
NR.3 good references
overall 10/9 points
haha, thanks :)
If you aren't abusing the Discord api are you even using Discord at all?
😭
nooo, I was too late. hoping to get 200 but get 402 instead
btw your discord server link doesn't work for me
I use dual boot win11 && arch btw.
Okay man :')
@@stupidgeek 😭
I just have my notes on obsidian in a git repository which i push to a private repository so i dont need to buy the obsidian pro thing
that's what i see most people do, cool
Terrible privacy storing it on discord servers
you could have just used base64 for the channel name
Goat
Am i tripping or the problems on this video are stupid and have really simple solutions?
Write in the input -> button -> send
Thats it?
String differentation algoritms?
Just get the message in the input as value, edit the message -> button -> send...
IS NOT THAT HARD
You are using which software to create these info and images ?
the website is not working
Why didnt you just debounce it
Hey man nice video but the website says "Payment required"
hello, sorry about that, its up again, you should be able to view it now :)
@@stupidgeek thanks man. I wish you had more subs, very dope video
@@stupidgeek Its down again (the site)
How the fuck am i in the screenshot of being banned 😂
I Skipped to result and found he did not made progress at all
I did make it 🤓
Nice
Thanks :)
Bro i log all shit with discord webhooks
No verbs in api routes pls
okay
W
:)
hihihi haw
yellooo
oringe
Hihihi
hello :)
website is down
someone DDos'ed it :')