AFK-AlignedFamKernel / afk_monorepo

AFK: Aligned Fam Kernel - Monorepo
https://afk-community.xyz
MIT License
14 stars 34 forks source link

Nostr hook bookmark #31

Closed MSghais closed 2 months ago

MSghais commented 2 months ago

Implement the hook to bookmark in Nostr.

NIP 51 implementation for Bookmark/List: https://github.com/nostr-protocol/nips/blob/master/51.md

Do it in the package and add it to the mobile Post component

Create the hook in the packages/afk_nostr_sdk and call it here in the onPress:

image

martinvibes commented 2 months ago

I am applying to this issue via OnlyDust platform.

My background and how it can be leveraged

hello @MSghais i'm a frontend developer and i would love to work on this

How I plan on tackling this issue

Review NIP 51 to understand the bookmark requirements. Create the useBookmark hook in afk_nostr_sdk. Integrate the hook into the PostCard component on the mobile app. Test the functionality and ensure it works as expected. Document the implementation and submit a PR.

petersdt commented 2 months ago

@MSghais can i jump on this

onlydustapp[bot] commented 2 months ago

Hey @martinvibes! Thanks for showing interest. We've created an application for you to contribute to AFK - Aligned Fam Kernel. Go check it out on OnlyDust!

Jemiiah commented 2 months ago

I am applying to this issue via OnlyDust platform.

My background and how it can be leveraged

I would love to work on this issue my first time on this repository I'm a web 3 frontend developer it would at most 4 working days to complete the issue

How I plan on tackling this issue

i would follow this approach in handling this issue

  1. Create a useRepost hook in the packages/afk_nostr_sdk.
  2. Add the created hook to the mobile PostCard when you click on the icon. 3, Ensure the hook is implemented in the package and called in the mobile Post component.
ShantelPeters commented 2 months ago

@MSghais please can I be assigned to this

GoSTEAN commented 2 months ago

I am applying to this issue via OnlyDust platform.

My background and how it can be leveraged

I have a very background in web development, Solidity smart contracts, and React, with experience in backend development, including user authentication and database management. This diverse skill set can be leveraged to create efficient, secure, and scalable web3 applications, integrating blockchain technology with user-friendly interfaces.

How I plan on tackling this issue

To implement the hook for bookmarking in Nostr and create the useRepost hook in the package and add it to the mobile PostCard component, you can follow these five steps:

Step 1: Define the Bookmark Hook

Step 2: Integrate Bookmark Hook into Mobile Post Component

Step 3: Define the Repost Hook

Step 4: Integrate Repost Hook into PostCard Component

Step 5: Test and Optimize

onlydustapp[bot] commented 2 months ago

The maintainer MSghais has assigned Jemiiah to this issue via OnlyDust Platform. Good luck!

MSghais commented 2 months ago

@Jemiiah, can you ping me on Telegram please, my handle is MSG_Encrypted. Also, please send me an ETA for this issue.

Jemiiah commented 2 months ago

@MSghais sure would do that ser

Benjtalkshow commented 2 months ago

I am applying to this issue via OnlyDust platform.

My background and how it can be leveraged

Hi @MSghais,

I would like to work on the implementation of the bookmark hook for Nostr (#31). My name is Benjamin, and I have 3 years of experience working with Next.js, TypeScript, and frontend development. I’ve contributed to projects on OnlyDust and am experienced in creating and integrating hooks effectively.

How I plan on tackling this issue

The task is to create a useBookmark hook within the packages/afk_nostr_sdk and integrate it into the mobile PostCard component. This involves implementing the hook to handle bookmarking notes and updating the UI accordingly.

Create useBookmark Hook

Integrate Hook into PostCard

Testing and Validation

onlydustapp[bot] commented 2 months ago

The maintainer MSghais has assigned Benjtalkshow to this issue via OnlyDust Platform. Good luck!