Gigi 208dbb17cf fix: resolve all linting and TypeScript issues
- Set up comprehensive ESLint configuration with TypeScript support
- Fix React import issues by adding explicit React imports
- Replace 'any' types with proper TypeScript types (unknown, specific interfaces)
- Add proper type definitions for addressLoader function signature
- Make relays parameter optional in addressLoader interface
- Fix TypeScript strict null checks and function call signatures
- Ensure all code passes ESLint with zero warnings
- Verify TypeScript compilation with no errors
- Maintain strict linting rules without reducing code quality

All linting and type checking now passes successfully.
2025-10-02 07:32:12 +02:00

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

  1. Clone the repository:
git clone <your-repo-url>
cd markr
  1. Install dependencies:
npm install
# or
pnpm install
# or
yarn install
  1. Start the development server:
npm run dev
# or
pnpm dev
# or
yarn dev
  1. Open your browser and navigate to http://localhost:3000

Usage

  1. Connect: Click "Connect with Nostr" to authenticate using your nostr account
  2. View Bookmarks: Once connected, you'll see all your nostr bookmarks
  3. 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

Description
No description provided
Readme MIT 29 MiB
Languages
TypeScript 89.6%
CSS 9.4%
Shell 0.6%
JavaScript 0.2%
HTML 0.2%