mirror of
https://github.com/dergigi/boris.git
synced 2026-01-31 12:44:37 +01:00
f0cf31252f5d0a8cf3da27160e5970797d6bca16
- Add console logs for relay group creation and relay URLs - Add detailed logging in Bookmarks useEffect to track dependencies - Add alert to confirm bookmark fetch is starting - Log addressLoader and activeAccount availability - Track when fetchBookmarks is called vs when dependencies are missing This will help diagnose why bookmarks aren't appearing and why console logs might not be visible.
Markr
A minimal nostr client for bookmark management, built with applesauce.
Features
- Nostr Authentication: Connect using your nostr account
- Bookmark Display: View your nostr bookmarks as per NIP-51
- Minimal UI: Clean, simple interface focused on bookmark management
Getting Started
Prerequisites
- Node.js 18+
- npm, pnpm, or yarn
Installation
- Clone the repository:
git clone <your-repo-url>
cd markr
- Install dependencies:
npm install
# or
pnpm install
# or
yarn install
- Start the development server:
npm run dev
# or
pnpm dev
# or
yarn dev
- Open your browser and navigate to
http://localhost:3000
Usage
- Connect: Click "Connect with Nostr" to authenticate using your nostr account
- View Bookmarks: Once connected, you'll see all your nostr bookmarks
- Navigate: Click on bookmark URLs to open them in a new tab
Technical Details
- Built with React and TypeScript
- Uses applesauce-core for nostr functionality
- Implements NIP-51 for bookmark management
- Supports both individual bookmarks and bookmark lists
Development
Project Structure
src/
├── components/
│ ├── Login.tsx # Authentication component
│ └── Bookmarks.tsx # Bookmark display component
├── App.tsx # Main application component
├── main.tsx # Application entry point
└── index.css # Global styles
Building for Production
npm run build
# or
pnpm build
# or
yarn build
Contributing
This is a minimal MVP. Future enhancements could include:
- Bookmark creation and editing
- Bookmark organization and tagging
- Search functionality
- Export capabilities
- Mobile-responsive design improvements
License
MIT
Languages
TypeScript
89.6%
CSS
9.4%
Shell
0.6%
JavaScript
0.2%
HTML
0.2%