Git Product home page Git Product logo

sepehr-safari / nostribe-web-client Goto Github PK

View Code? Open in Web Editor NEW
34.0 3.0 9.0 2.85 MB

Nostribe is an open-source web client for the decentralized and censorship-resistant Nostr protocol. It provides a social media platform for Nostribians to communicate freely and securely. Its mission is to foster a transparent tribe where everyone has an equal voice and a sense of belonging.

Home Page: https://nostribe.com/

License: MIT License

Shell 0.14% CSS 0.12% TypeScript 98.05% JavaScript 1.70%
nostr nostr-protocol nostr-client censorship-resistance client decentralized

nostribe-web-client's Introduction

nostribe-web-client's People

Contributors

sepehr-safari avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

nostribe-web-client's Issues

outsource all nostr stuff to nostr-hooks

there are some dead nostr stuff remained in source code that should be removed and totally replaced with nostr-hooks.
also the app should work without any zustand store, just based on nostr-hooks.

Type error: Module '"nostr-tools"' has no exported member 'generatePrivateKey'.

Using commit 803b3aa

I can run npm install and dependencies install just fine. But when I run npm run build I get this error:

trout@trout-vb:~/work/nostribe-web-client$ npm run build

> [email protected] build
> next build

warn  - You have enabled experimental feature (appDir) in next.config.js.
warn  - Experimental features are not covered by semver, and may cause unexpected or broken application behavior. Use at your own risk.
info  - Thank you for testing `appDir` please leave your feedback at https://nextjs.link/app-feedback

Attention: Next.js now collects completely anonymous telemetry regarding usage.
This information is used to shape Next.js' roadmap and prioritize features.
You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
https://nextjs.org/telemetry


🌼 daisyUI components 2.52.0  https://daisyui.com
  ✔︎ Including:  base, components, 1 themes, utilities
  ❤︎ Support daisyUI:  https://opencollective.com/daisyui 
  
info  - Compiled successfully

./components/Avatar/index.tsx
14:11  Warning: Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element  @next/next/no-img-element
14:11  Warning: img elements must have an alt prop, either with meaningful text, or an empty string for decorative images.  jsx-a11y/alt-text

./components/PostContent/index.tsx
23:11  Warning: Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element  @next/next/no-img-element

./components/ProfileCard/index.tsx
33:11  Warning: Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element  @next/next/no-img-element

info  - Need to disable some ESLint rules? Learn more here: https://nextjs.org/docs/basic-features/eslint#disabling-rules
info  - Linting and checking validity of types .Failed to compile.

./app/(auth)/login/page.tsx:4:10
Type error: Module '"nostr-tools"' has no exported member 'generatePrivateKey'.

  2 | 
  3 | import { useRouter } from 'next/navigation';
> 4 | import { generatePrivateKey } from 'nostr-tools';
    |          ^
  5 | import { useCallback, useEffect, useState } from 'react';
  6 | 
  7 | import { CardContainer, Spinner } from '@/components';
info  - Linting and checking validity of types ..trout@trout-vb:~/work/nostribe-web-client$ 
trout@trout-vb:~/work/nostribe-web-client$ 

refactor to use more custom hooks

we should refactor the whole app and create more custom hooks for each subscription flow that we need.
we should use Nostr-Hooks for all subscriptions.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.