Sign in
Join now
leaflet
leaflet.pub
/
Star
Starred
Star
321
Something went wrong. Try again.
Fork
8
Eye filled
Watch
Watching
Watch
a tool for shared writing and social publishing
Star
Starred
Star
321
Something went wrong. Try again.
Fork
8
Eye filled
Watch
Watching
Watch
Overview
Overview
Issues
Issues
73
7
3
Pulls
Pulls
10
1
0
Pipelines
Pipelines
leaflet
/
src
/
utils
2 folders
·
128 files
at
pwa/integration
awarm.space
·
Split the identity payload into id-keyed cache slices
·
2mo ago
f4f00f68
paste
add compact rendering for page links blocks
2mo ago
prosemirror
persist editor draft states
4mo ago
addBlockBelow.ts
rename Block.value to entityID, dedupe block insertion, honor preview in expensive blocks
3mo ago
addImage.ts
add image retry and logging
3mo ago
addLinkBlock.ts
add pubBlock
4mo ago
aspectRatio.ts
clean up unused code and exports
5mo ago
blobCleanup.ts
Feature/document versioning (#391)
2mo ago
blobRefToSrc.ts
Add blobRefToSrcSet + cover/post-body sizes constants
2mo ago
blockDispatch.test.ts
enforce exhaustive block dispatch across render surfaces
3mo ago
blockDispatch.ts
enforce exhaustive block dispatch across render surfaces
3mo ago
blockTextSize.ts
Add custom fonts!
8mo ago
blockTypeOperations.ts
apply text style and list operations to multi-selected blocks
3mo ago
bskyCardScreenshot.ts
Update/share button (#354)
4mo ago
bskyPostEmbed.ts
PWA 01 Phase A: keep @atproto/api and yjs out of the root layout
2mo ago
bskyPostLangs.ts
stamp langs on bsky posts so clients don't misfilter them
3mo ago
bskyPostUtm.ts
add utm params to track bluesky posts back to referrers
3mo ago
buildPublicationPosts.ts
Dynamic static split (#371)
3mo ago
buildPublicationRecord.ts
Move publication recommendations to a standalone record
3mo ago
byline.ts
Style/pub refactor (#313)
5mo ago
canvasBlockOrder.ts
add missing files
2mo ago
chapterGrouping.ts
PWA 01 Phase A: keep @atproto/api and yjs out of the root layout
2mo ago
codeLanguageStorage.ts
persist last used codeblock language
11mo ago
collectionHelpers.ts
clean up unused code and exports
5mo ago
confirmationEmail.ts
Feature/newsletter (#292)
6mo ago
copyLeafletContents.ts
Feature/document versioning (#391)
2mo ago
copySelection.ts
PWA 01 Phases C and D: load katex, shiki, react-dom/server, the paste parsers and capnweb at their point of use
2mo ago
createLeaflet.ts
Ghost import (#388)
2mo ago
createYjsText.ts
Style/pub refactor (#313)
5mo ago
customDomain.ts
allow sign in to preview domains
3mo ago
deduplicateRecords.ts
de-duplicate publications and documents
9mo ago
deepEquals.ts
Feature/pub theme (#142)
1y ago
deleteBlock.ts
rename Block.value to entityID, dedupe block insertion, honor preview in expensive blocks
3mo ago
editorPrefs.ts
add missing files
2mo ago
elementId.ts
persit votes when changing, make removing option instant,
1y ago
enrichPost.ts
PWA 01 Phase A: keep @atproto/api and yjs out of the root layout
2mo ago
ensureProtocol.ts
add link popover in editor
7mo ago
externalPublicationLink.ts
Style/pub refactor (#313)
5mo ago
extractBlocksByType.ts
Dynamic static split (#371)
3mo ago
extractTitleFromFacts.ts
Perf/homepage (#306)
5mo ago
facetFeatures.ts
enforce exhaustive block dispatch across render surfaces
3mo ago
factsToPagesRecord.ts
Feature/reader post list controls (#394)
2mo ago
fetchBskyPosts.ts
Dynamic static split (#371)
3mo ago
fetchStandardSiteBlockData.ts
Dynamic static split (#371)
3mo ago
focusBlock.ts
Make block zoom a pure view filter
2mo ago
focusElement.ts
fix focus input when in email type input
6mo ago
focusPage.ts
rename Block.value to entityID, dedupe block insertion, honor preview in expensive blocks
3mo ago
foldBlocks.ts
Persist fold state to server as root/collapsed-blocks fact (#389)
2mo ago
gatedDocumentImages.ts
Paid memberships (#364)
3mo ago
generateJoseKey.js
Feature/bsky pubs/demo (#131)
1y ago
getBlocksAsHTML.tsx
PWA 01: warm react-dom/server before the copy read transaction
2mo ago
getCoordinatesInTextarea.ts
Feature: math and code blocks (#152)
1y ago
getCurrentDeploymentDomain.ts
Update/delete leaflets (#238)
11mo ago
getFirstParagraph.ts
add missing util
8mo ago
getLeafletTitle.ts
Style/membership (#376)
3mo ago
getPostPageData.ts
Simplify document publication revalidation
2mo ago
getPublicationMetadataFromLeafletData.ts
PWA 01: keep the app core, zod and the Stripe SDK out of pages that only read
2mo ago
getPublicationURL.ts
Dynamic static split (#371)
3mo ago
homeDocsStorage.ts
Dynamic static split (#371)
3mo ago
imageEncoding.ts
transcode email-bound images to formats mail clients can render
3mo ago
imageUploadStatus.ts
add image retry and logging
3mo ago
insertLeaflet.ts
Import Ghost pages as publication navigation pages
2mo ago
iosInputMouseDown.ts
remove @react-aria/utils
1y ago
isDevice.ts
clean up unused code and exports
5mo ago
isLeafletManagedPublication.ts
Add post-subscribe follow-ups and fix subscribe success feed links
2mo ago
isProductionDeployment.ts
removed a lot of stray console.log
1y ago
isTextBlock.ts
implement single line blockquote
1y ago
isURL.ts
if pasting just a url with selection make inline link
2y ago
isUuid.ts
Validate UUID format before querying database (#347)
3mo ago
isVisible.ts
don't render block overlay if not ios
2y ago
leafletToPublicationPageRecord.ts
Style/pub refactor (#313)
5mo ago
linkOrphanedEmailSubscribers.ts
link loose email subscriptions
6mo ago
list-operations.ts
Make block zoom a pure view filter
2mo ago
lock.ts
clean up unused code and exports
5mo ago
markTitleBlockAsCopy.ts
Feature/duplicate leaflet (#383)
3mo ago
mentionUtils.ts
PWA 01: formatting
2mo ago
mergePreferences.ts
add prev/next navigation direction setting for publications
3mo ago
metaKey.ts
update shortcuts to use os specific key
2y ago
moveBlock.ts
Make block zoom a pure view filter
2mo ago
newsletterSender.ts
clean up unused code and exports
5mo ago
normalizeRecords.ts
clean up unused code and exports
5mo ago
offloadPagesToBlob.ts
clean up unused code and exports
5mo ago
pageLinkDisplay.ts
add missing files
2mo ago
pageRecordTextBlocks.test.ts
add missing files
2mo ago
pageRecordTextBlocks.ts
add missing files
2mo ago
parseBlocksToList.ts
add lists to pubs!
1y ago
parseHSB.ts
clean up unused code and exports
5mo ago
postmarkSuppressions.ts
clean up unused code and exports
5mo ago
postPageProjection.test.ts
Dynamic static split (#371)
3mo ago
postPageProjection.ts
Dynamic static split (#371)
3mo ago
postsListPagination.ts
Feature/reader post list controls (#394)
2mo ago
prevNextPosts.test.ts
revalidate prev/next posts on publish
2mo ago
prevNextPosts.ts
revalidate prev/next posts on publish
2mo ago
publicationForHost.ts
Resolve standard-site embeds for hosts a publication is actually served on
4mo ago
publicationNavEntries.ts
Style/pub refactor (#313)
5mo ago
publicationRecommendations.ts
Add post-subscribe follow-ups and fix subscribe success feed links
2mo ago
publishedPageMetadata.ts
Style/pub refactor (#313)
5mo ago
publishHelpers.ts
Reserve wordmark space before load to prevent layout shift
2mo ago
publishLeaflet.ts
Split the identity payload into id-keyed cache slices
2mo ago
publishLock.test.ts
Prevent double-publish from creating a second, unlinked post
2mo ago
publishLock.ts
Prevent double-publish from creating a second, unlinked post
2mo ago
publishPublicationPages.ts
Split the identity payload into id-keyed cache slices
2mo ago
quotePosition.ts
Dynamic static split (#371)
3mo ago
renderFootnoteDefHTML.tsx
PWA 01 Phases C and D: load katex, shiki, react-dom/server, the paste parsers and capnweb at their point of use
2mo ago
replaceWithoutParams.ts
refactor confirmation screens
4mo ago
requestOrigin.ts
Paid memberships (#364)
3mo ago
resolveBlueskyPostUrl.ts
Detect Bluesky posts from link metadata, not just hardcoded hosts (#331)
4mo ago
resolveBylineProfiles.ts
PWA 01 Phase A: keep @atproto/api and yjs out of the root layout
2mo ago
resolveDocumentFilter.ts
Scope document path resolution to the publication's own rows
2mo ago
resolveStandardSitePostUrl.ts
Resolve standard-site embeds for hosts a publication is actually served on
4mo ago
resolveStandardSitePublicationUrl.ts
Resolve standard-site embeds for hosts a publication is actually served on
4mo ago
revalidatePublication.ts
Gate appview follow-ups to Leaflet-managed publications
2mo ago
screenshotPage.ts
Declare og:image dimensions and stop serving broken previews
2mo ago
scrollIntoView.ts
Style/pub refactor (#313)
5mo ago
scrollIntoViewIfNeeded.ts
Style/pub refactor (#313)
5mo ago
serverImageEncoding.ts
transcode email-bound images to formats mail clients can render
3mo ago
setCoverImageFromEntity.ts
Feature/image gallery block (#325)
4mo ago
slugify.ts
add href to headers
8mo ago
srcDocSandbox.ts
add html mode to embed block
3mo ago
stripThemeWithoutType.ts
handle records w/ theme but no type
5mo ago
tierDescriptionDoc.test.ts
add multiline tier description editor
3mo ago
tierDescriptionDoc.ts
Add free tier to tier gate
3mo ago
timeAgo.ts
Update/thread viewer (#261)
9mo ago
uploadCoverImage.ts
Feature/image gallery block (#325)
4mo ago
uploadCoverImageThumb.ts
Update/share button (#352)
4mo ago
uriHelpers.ts
Collapse inter-tag whitespace in RSS feed output (#338)
4mo ago
useRecordFromDid.ts
fFeature/pub contributors 2 (#308)
5mo ago
wordmark.ts
Reserve wordmark space before load to prevent layout shift
2mo ago
writeRecommendations.ts
Add post-subscribe follow-ups and fix subscribe success feed links
2mo ago
yjsFragmentToString.ts
Inline comments (#315)
5mo ago
zoomIntoBlock.ts
add missing icon/utils
2mo ago