HackNet

HackNet

24 devlogs
104h 6m
•  Ship certified
Created by Shibam Roy

Social media app made for hackclubbers by a hackclubber!

Timeline

Earned sticker

[DEMO VIDEO ATTACHED]
Well.. Since the past couple of days, all file uploads stopped working..seems like bashupload.com just went down for some reason :heavysob:
So, as a temporary file hosting service I had to choose something else, and.. I chose catbox.moe (Which was suggested to me by a hackclubber, I am soo much grateful to them!!). Finding such a service for free really sucks, but anyways its working back again now. Another slight issue was in the Edit Profile page, I forgot to wrap the scrollView with a KeyboardAvoidingView, as a result while typing, keyboards often covered up the typing region, I fixed that issue in this new release!
I attached my promised demo video too, pls check it out!

Ship 1

1 payout of shell 2229.0 shells

Shibam Roy

about 2 months ago

Shibam Roy Covers 23 devlogs and 99h 45m
Earned sticker

In this update, I fixed all the dot menus (bottom sheets), which just had options which did nothing on click. Users can now delete all the chats or select particular ones too (either for themselves, or for both users, depending on who sent the message). Oh,forgot to mention, I improved security too, so the firebase rules are stronger than before now (earlier ones were just temporary, extremely insecure, to make it work yk). Pressables have animations too now. There's also a show password button now, and I added likes for comments again.
Ik, a lotta changes in one devlog, but this one is probably my last devlog for this project before shipping. I really enjoyed making all of it, and will definitely work on updates in the future,but for now I really need a break and gotta do my studies. It's totally usable now, with no major bugs, I hope you all like it! (Also, a proper video demo with voiceover coming soon in #shibams-hub)

Earned sticker

Chat system works now, sorry can't make a video due to a lot of activites rn, gotta do my studies too. There are also sound effects on messages (toggleable).

Update attachment

These devlogs might be relatively long, I hope they don't reduce my shells for this :pf: .Now we have 3 different themes in hacknet! Catppuccin mocha, Light and the default:)
(More themes may be added later on user demand)
Added a video attachment, have a look! I am really excited rn, gonna work on the chat system now.

Okay I take it back, not 2 devlogs, probably more, but I am gonna be doing a lot more things. For example a chat system!
I made comments to update in realtime, Added friend requests, and friends section which works pretty well. Fixed a bug where comment names don't show up, it had something to do with FlashList, using a FlatList fixed it. And a few other minor changes that I don't remember. Oh and likes/dislikes work on the comments now (not perfectly but they do, will fix it within the next devlog)
My current todo list as of now:

Update attachment

Woah, a pretty long time for this devlog, but ig it was necessary, cause I made a looot of changes in this one. First, I FIXED THAT DAMN FLICKER!!! You won't believe if I tell the reason, it was because I added 'async' to a time extracting function, i just did that probably cause I was writing many other async functions and went with the flow, or I copied other function boilerplate and forgot to remove 'async', I am such an idiot. The thingy returned a promise and caused this flicker. Anyways, I have also replaced all FlatLists with FlashLists, so a major optimization, + many changes to UI that you may be able to see in the video.
Completed most of notifications, now just gotta organize stuff a little bit more.
Also, please note that the like/dislike button audio DOESN'T play twice in real life, i have no idea why it was like that when I checked the recording.

Current goal: Complete every thing except for friends or maybe even that. Likely I am gonna make 2 more devlogs max (before shipping).

Added sounds to like and dislike, and they are customizable:)
Made a few minor changes to settings UI, and optimized some code of homepage.
Primary goal is still optimization, and UI improvements.

Update attachment

Notifications work now!!!!! Honestly it wasn't as simple as I thought, had to do a lot of stuff to make it work. Never thought this much stuff happens when a notification is triggered. For now, it's triggered when you gain new trackers (followers), but will add more notification triggers later, like when someone you follow makes a new post, or someone comments on your post. I can't express how happy I am, this app just needs a bit more polishing.

Next: I gotta complete the likes on comments of a post. and polishing the app(fixing flickers and stuff). Maybe I will work on friends section after that.... all of this is gonna take a little bit of time, but shouldn't be that hard( I hope :sob:)

Update attachment

Now users can upload their own banners! Had to rewrite a bit of my old code to make it work... probably its not the best piece of code, but works:)
Next goal: Work on notifications, optimize stuff(or at least make it look like optimized)

Update attachment

Custom banners done! Users can now customize banners:)
I mean they still can't upload their own banners, but that should be pretty easy, will do that within the next devlog. For now they can choose between the 3 default banners.
Current goal: Complete the customization, and work on notifications, again shouldn't take too long. Maybe even some optimizations/loading screens to fix that initial flicker. Honestly I am really happy out things are turning out, its just being like how I wanted. A can't wait when there would be some real users, and this app would be usable.

Update attachment

Yeah it was indeed pretty easy. Users can share their posts now! and they have multiple default options as well:)
Oh! and I also made a new logo+banner set, so my next goal would be to make a default banner set choice + custom banner upload option. That too shouldn't be very hard ig

Update attachment

The three dots menu works now! I initially thought of making a dropdown menu instead of the bottom sheet thingy, but I realised it wouldn't really be possible to make a modal inside of a flatlist, and position it as I wanted. But anyways, it looks okayish for now ig. The like button turns into a delete post button when its your own post, so now you have a way to delete your own post!
Next goal: make stuff shareable (should be super simple thanks to expo)

Update attachment

Fixed all major bugs, that made this app really annoying, like those constant flickers and flicker on toggling the like button. Also fixed the comment section bug where the keyboard went boom on each keystroke (Just had to split that into a different component, so that it only renders that part). Now I am left with fixing the double flicker for loading, I mean its not as much annoying, but still...
But my current priority is push notifications and a dropdown menu so that people can at least delete their own comments/posts.

YAYAYAY!!! It's finally working! ik I am making a devlog after quite some time, but I was really struggling to build a successful apk, finally its working :sob: . Turns out there was nothing wrong with my code, but with my workflow, github secrets weren't working as expected, I messed something up most likely. Eas cloud builds work perfectly, the sad thing is, the builds won't be made as often, cause eas cloud has a limit of 30builds/month, and has extremely long queue times. No UI changes yet, but I swear I will do that within the next devlog. Oh, also fixed that flickering bug partially, through memoizing (but still need to stop those re-renders on like/dislike).

Here's the link if you want to try it out: https://expo.dev/accounts/shibamroy/projects/HackNet/builds/52b34665-2412-419e-9985-e7af3167c907

Update attachment

New day, new bugs :heavysob:, but I probably found the problem. I mixed up react navigation and expo router, now migrated the entire application to expo router, and while it works...... Two of the screens kinda remount, I couldn't find the cause yet, but hopefully I would be able to fix it soon. Ik, there are no visual changes, but trust me, a lot of stuff is going on. Oh wait, did I mention, I setup github actions, so it automatically builds a new apk after each commit!
Current goal: Fix the bug, make friend requests/friends thingy work.

So sad rn:(
Users can view other profiles, but that's not the problem. In this 5hr devlog, I spent ~4.5 hrs on building an apk. It took 10 attempts, and guess what, the build crashes on startup.
I can't think of anyway to fix it.... I don't even know if there is anything else left to try.
Maybe, will try debugging again, I just hope I would be able to fix it soon, wish me luck

Update attachment

No visual changes in this devlog, but did a loooooot of stuff, basically refactored the entire codebase. Removed some clutter, and not-so-useful placeholders.
Next goal, Be able to check other's profiles, should be pretty simple. Lemme attach a video this time!

Didn't do much major changes, added like,comment, and log count.
Tried building it but failed miserably, will try again after fixing some stuff.
Current goal is code optimization and removing bad code.

Update attachment

Comments finally work now!!!! The buttons on them don't work yet, but soon will. It took quite a while, because of a lot of bugs :heavysob: . The comment input box of the original post still doesn't work properly, idk what the possible cause is, I tried my best to fix it, but I couldn't. I have something on my mind though, I still gotta wrap the whole post in a keyboard avoiding view, who knows it might fix the problem. My keyboard just automatically dismisses after each keystroke. The comment box inside of the comment section works properly though. I honestly have a feeling that it might be cause its inside a flatlist, but let's see tommorrow

Update attachment

DAMNNN! These bugs suck sooo much, finally got rid of the most annoying ones. Yet to work on the comment section... The modals were just not working on the new log page no matter what, I still have no idea what the issue was, but still fixed it, may be just bad code, rewriting stuff fixed it.

Update attachment

Added an activity indicator and improved profile updating code.
Next goal: Make comments work

Update attachment

IMAGE/VIDEO POSTS FINALLY WORK, YAYAYAYAYAY!!!
I am sooo happy rn!!!
I made some other changes too. You can preview the image/video before logging, and I changed the UI of the modal too, added a blur background to it. A few other minor changes. Next task is to add a loading screen (activity indicator) when you try to post something/do any activity that takes time.

Update attachment

Made a lot of minor changes/adjustments in UI, especially in the search page and my profile/account page. I basically rewrote the my account page for a better code structure and to avoid some warnings. My next goal is to allow media along with posts, should be pretty fun!

Update attachment

Hi everyone! Its my first devlog of this project, I already worked on a lot of stuff for #gemini, but I will continue the project here. So far I have managed to implement a basic authentication system, user profiles, and posts(which I call logs). In this devlog I fixed a few login and profile pic bugs, and implemented the search functionality.
I am quite surprised to know that firestore doesn't have an inbuilt search function in its query method.
(Mohammad just made an account for reviewing my app, so i am searching up that in this screenshot)

Update attachment