GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - hackmdio/api-client

BranchesTags
Open more actions menu

Latest commit

 

History

139 Commits
139 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
examples
examples
 
 
nodejs
nodejs
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 

Repository files navigation

HackMD API Clients

This repository contains a set of packages for interacting with the HackMD API.

Node.JS

See README

Examples

To help you get started quickly, we provide comprehensive usage examples in the examples/ directory:

Node.js Example

The examples/nodejs/ directory contains a complete example project demonstrating:

  • User information retrieval
  • Note creation and management
  • ETag support for caching
  • Content updates
  • Error handling with retry logic
  • Environment variable configuration

To run the Node.js example:

  1. Navigate to the example directory: cd examples/nodejs
  2. Follow the setup instructions in examples/nodejs/README.md
  3. Set your HackMD access token
  4. Run pnpm start

The example includes detailed comments and demonstrates best practices for using the HackMD API client.

Book Mode Conference Note Example

The examples/book-mode-conference/ directory contains a TypeScript example for creating a "book mode" conference note system:

  • Book Mode Notes: Creates a master note that links to all session notes
  • Bulk Note Creation: Automatically creates individual notes for each conference session
  • TypeScript Implementation: Full type safety with tsx support for direct execution
  • Configurable Templates: Customizable note templates and conference settings
  • Hierarchical Organization: Sessions organized by day and time in the main book
  • Error Handling: Graceful handling of API failures during bulk operations

To run the book mode conference example:

  1. Navigate to the example directory: cd examples/book-mode-conference
  2. Follow the setup instructions in examples/book-mode-conference/README.md
  3. Customize the configuration constants and session data
  4. Set your HackMD access token
  5. Run pnpm start

This example demonstrates advanced usage patterns including bulk operations, team note management, and creating interconnected note structures for conferences or events.

LICENSE

MIT

About

No description, website, or topics provided.

Resources

Readme
MIT license
Activity
Custom properties

Stars

20 stars

Watchers

4 watching

Forks

8 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.