Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Notes app for decentralized infrastructures (Nostr)

License

NotificationsYou must be signed in to change notification settings

block-core/blockcore-notes

Repository files navigation

Blockcore

Blockcore Notes

Notes app for decentralized infrastructures (Nostr)

Blockcore Notes is an app for your public and personal notes. It is built to support the Nostr.

Nostr

The Nostr support for Blockcore Notes relies on using your Nostr identity (public key) and uses a set of relays to publish and store your notes. You can run your own personal relay to always keep a backup of your notes.

Connect using extension

Blockcore Notes require that you use an extension that keeps your keys secure and is responsible for performing signing of your notes, and performs encryption and decryption for private notes.

We suggest usingBlockcore Wallet (Chrome Web Store), but other options are available such asnos2x andAlby.

Features

A goal of Blockcore Notes is to be feature rich and have functionality that goes beyond the NIP-specifications.

  • Mobile and Desktop
  • Organize people and circles
  • Activity Feed (Notifications)
  • Following Feed
  • Reactions (turn off in Settings)
  • Rich Media Support, videos, music, podcast and YouTube.
  • Thread View
  • Profile View and Edit
  • Infinity Scroll (go far back on user posts)
  • Import and Export of backup (JSON file)
  • Import and Export of contacts (publish)
  • Identify Verification
  • Browser Extension and Private Key Import supported
  • Advanced Relay Management
  • Profile Edit
  • Notes Management (save notes)
  • Media Player (listen to podcasts, music or watch videos while reading feeds)

NIPs

Development

Development server

Runng serve for a dev server. Navigate tohttp://localhost:4200/. The application will automatically reload if you change any of the source files.

Code scaffolding

Runng generate component component-name to generate a new component. You can also useng generate directive|pipe|service|class|guard|interface|enum|module.

Build

Runng build to build the project. The build artifacts will be stored in thedist/ directory.

Running unit tests

Runng test to execute the unit tests viaKarma.

Running end-to-end tests

Runng e2e to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.

Further help

To get more help on the Angular CLI useng help or go check out theAngular CLI Overview and Command Reference page.

Notes

Thoughts and ideas:

  • Validate the content of certain limit and don't render at all if content is too long, or at least cut the content and only render X length. Then allow users to manually retrievethat exact event upon request.

Data Flow:

  • Event received from relays... pushed into an event processor, which pushes events into individual services based upon the type.
  • Individual services grabs existing event from StateService, if available, updates (if replaceable event or profile) or simply ignores. Maybe log "observed on relay".
  • If not available, push into the StateService and schedule a database put.
  • StateService should always keep some items in-memory: Profiles, Circles and more.

Security

There are many ways a web app can be exploited when it allow user contributed content. Any and all measurements to avoid exploits should be done, like sanitizing the input.

XSS Filter Evasion Cheat Sheet

About

Notes app for decentralized infrastructures (Nostr)

Topics

Resources

License

Stars

Watchers

Forks

Contributors12


[8]ページ先頭

©2009-2025 Movatter.jp