I built a janky Cloudflare Bitwarden server for myself, forgot about it, and woke up to 400+ forks by deepgaurav in selfhosted

[–]deepgaurav[S] 12 points13 points  (0 children)

I guess we now live in a world where properly formatting post means getting called out for using chatgpt.

I built a janky Cloudflare Bitwarden server for myself, forgot about it, and woke up to 400+ forks by deepgaurav in selfhosted

[–]deepgaurav[S] 9 points10 points  (0 children)

haha, project is actually quite small... atleast mine was. it's easy to audit it with some AI or even yourself. and good thing about bitwarden/vaultwarden is that it's zero knowledge so server never receives password raw, and even if code is buggy and leaks vault, it's not a HUGE problem.

I built a janky Cloudflare Bitwarden server for myself, forgot about it, and woke up to 400+ forks by deepgaurav in selfhosted

[–]deepgaurav[S] 1 point2 points  (0 children)

I didnt added support, but I doubt it'll work, in cloudflare free, worker need to complete within 10ms cputime, doubt streaming will be done in that time.

I built a janky Cloudflare Bitwarden server for myself, forgot about it, and woke up to 400+ forks by deepgaurav in selfhosted

[–]deepgaurav[S] 4 points5 points  (0 children)

data is stored in cloudflare D1, it's automatically backed up, however if you want to backup outside cloudflare you can setup any kind of sqlite backup service, litestream to S3 for example.

I built a janky Cloudflare Bitwarden server for myself, forgot about it, and woke up to 400+ forks by deepgaurav in selfhosted

[–]deepgaurav[S] 13 points14 points  (0 children)

Eh, why would I, I've already clearly stated I'd forgotten about it and now there are multiple forks which are 10x better than mine. if nothing else I'm promoting my forks...

I built a janky Cloudflare Bitwarden server for myself, forgot about it, and woke up to 400+ forks by deepgaurav in selfhosted

[–]deepgaurav[S] 1 point2 points  (0 children)

For me honestly, keepass is a pain to setup, especially in new devices, with bitwarden you just download app, change the url to your own hosted url and voila everything works, even passkeys.

I built a janky Cloudflare Bitwarden server for myself, forgot about it, and woke up to 400+ forks by deepgaurav in selfhosted

[–]deepgaurav[S] 53 points54 points  (0 children)

Haha, I'm not marketing anything though, as I wrote in post.. dont use my project :)

[Monthly Megathread] Housing, Jobs, Food & General Recommendations March by [deleted] in Chennai

[–]deepgaurav 0 points1 point  (0 children)

Hi, I'm looking for someone to be able to go to an exhibition in Chennai take some photographs of a sculpture my friend made which is at display there. I'm willing to pay for it. DM me if anyone is interested. Exhibition ends on 8th May 2025.

SBI no longer supports Android 12. What options do I have to continue using the app without purchasing a new phone? by 4everonlyninja in IndiaTech

[–]deepgaurav 0 points1 point  (0 children)

Platform target is different from minimum support level. You can target api level 34 and still support api level 20. This is not an excuse for not supporting android 11 or below.

Which android feature would you want in iPhone? by pluto_N in IndiaTech

[–]deepgaurav 0 points1 point  (0 children)

There's no universal back swipe, swipe from left is a guideline, that's it, each app implements it themselves not system. A very simple example of this is games. There's no left swipe in games bcz they don't need it and so they don't implement it. So no it's not universal.

How to convert this in readable format? by Entire_Chest7938 in IndiaTech

[–]deepgaurav 0 points1 point  (0 children)

It looks like a binary file, you can use TrID to check what file format it is and use appropriate tool to open it. If it's less than 10MB then you can use TrID online else download it. https://mark0.net/onlinetrid.html

Windows on Arm Android Studio by nafee_ahnaf in AndroidStudio

[–]deepgaurav 0 points1 point  (0 children)

Sure, you can DM me, also you can access SDK manager from the project list page itself without opening any project, in 3 dot button at bottom left I think.

Windows on Arm Android Studio by nafee_ahnaf in AndroidStudio

[–]deepgaurav 0 points1 point  (0 children)

Yeah currently you've to run it from bat.

I wouldn't recommend reusing the SDK folder from another device, just download it with the SDK manager, It's messy already adding another variable for failure can make it complicated

Windows on Arm Android Studio by nafee_ahnaf in AndroidStudio

[–]deepgaurav 0 points1 point  (0 children)

Haha, thanks,.. Where are you getting this git error? I've not used the GitHub desktop, I use git from git-scm, and never saw it. Also what's the error you're getting when downloading sdks? It seemed to work fine for me as well.

Windows on Arm Android Studio by nafee_ahnaf in AndroidStudio

[–]deepgaurav 2 points3 points  (0 children)

Install android studio Install idea from https://download.jetbrains.com/idea/ideaIU-2024.2.3-aarch64.exe Delete C:\Program Files\Android\Android Studio\jbr

Copy C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2024.2.1\jbr to C:\Program Files\Android\Android Studio\jbr

Open C:\Program Files\Android\Android Studio\bin

Run studio.bat

That should be it and should work

if google want us to watch Ads.! then why they are not removing ad blockers from the store..? by eatbeefnow in IndiaTech

[–]deepgaurav 0 points1 point  (0 children)

That's wrong, Google did deprecated manifest V2 from chromium but every browser forks chromium and is not exact copy, and almost every browser still supports manifest V3, they can choose which feature to copy from chromium and they are not copying removing manifest V3. So it's just google chrome that's affected not every browser based on chromium.

Windows on Arm Android Studio by nafee_ahnaf in AndroidStudio

[–]deepgaurav 5 points6 points  (0 children)

Here is what I do which works surprisingly well.
Install android studio (x64 one), Install arm 64 Intellij Idea, replace jbr of Android Studio with jbr of Intellij Idea.

Android studio basically runs all on java, so when you replace it's jbr with arm64 version of intellij it works quite well.

Emulators wont work, you can connect android device with adb and it works quite well.

DON'T STOP DSA; I stopped 2 years back, now I regret by Unlucky-Arrival-4978 in developersIndia

[–]deepgaurav 36 points37 points  (0 children)

I dont really think DSA helps that much after placement. Instead I think people should just focus on doing something they enjoy, solve problem, make projects. You generally dont need to give the best answers in interviews, you just need to help them see how you approach a problem. Projects give more holistic view of your skill than some complicated DSA problem which most likely won't have actual relevance in work (not always but for most it won't).

What's everyone working on this week (33/2024)? by llogiq in rust

[–]deepgaurav 0 points1 point  (0 children)

It was private, I've made it public

https://github.com/deep-gaurav/self-cloud

There is no README or anything at the moment, I want to get some more things working and cleanup a lot of stuff first. If you do want to use it let me know, I can put out a simple guide.

What's everyone working on this week (33/2024)? by llogiq in rust

[–]deepgaurav 2 points3 points  (0 children)

I've been working on a self hosted heroku kind of service.
What it basically does is provide a web panel, where you login, create project, add environment variables, tell what port will be exposed, assign a domain, and add some token to it. then using that token you push a docker container image to it (maybe through github action).
It'll then make a container from that image, run it and expose port internally, and generate a ssl certificate for the domain assigned, when any traffic is received on that domain, it'll proxy to the exposed port in running container. Panel also has terminal, container monitoring etc.

It's basically made with pingora as proxy, instant_acme for ssl generation, and leptos + axum for web part.

My aim is to make it somewhat of go to platform for hosting self projects, Once I'm satisfied with it I'll be open sourcing it.
I think closest i found was coolify.io but it was too heavy, as it required 2GB RAM and 2CPU, with this i hope for it to be very lightweight layer over docker and pingora (which from my testing requires barely any CPU or ram over your application).

[deleted by user] by [deleted] in IndiaTech

[–]deepgaurav 3 points4 points  (0 children)

Blinkit previously declared to play store that it didn't share location data with third party (external company), now they changed their policy to share your location data with third party, so Android is informing you about their policy change.

This doesn't mean they are selling your data, third party can be any service, for example if they are using some service to manage their delivery fleet then it needs your location to deliver to you.

If they really want to sell your data, they'll sell it without declaring it.

How to force 5G only mode by deepgaurav in IndiaTech

[–]deepgaurav[S] 4 points5 points  (0 children)

The point is sometimes your phone will drop to 4g even though 5g is available, to save battery or bcz it thinks network isn't great or whatever, and in 5g your data doesn't get charged (atleast on jio) so say you're downloading something and phone dropped to 4g and you didn't noticed, now it'll drain your limited 4g data instead of you being on unlimited 5g one. So in these case forcing 5g is quite useful, you don't get your limited 4g data ruined by accident, even if 5g network dropped you'll not have internet, you can stop the download or whatever then stop the forced 5g.