Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
勢いで遊ぶNostr
Search
murakmii
February 23, 2023
72
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
勢いで遊ぶNostr
murakmii
February 23, 2023
Featured
See All Featured
The Mindset for Success: Future Career Progression
greggifford
PRO
0
550
Faster Mobile Websites
deanohume
310
32k
Designing Powerful Visuals for Engaging Learning
tmiket
1
620
Chasing Engaging Ingredients in Design
codingconduct
0
380
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
470
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
290
So, you think you're a good person
axbom
PRO
2
2.2k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
33
5.5k
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
63
47k
Bash Introduction
62gerente
615
220k
Building the Perfect Custom Keyboard
takai
2
930
Building Flexible Design Systems
yeseniaperezcruz
330
41k
Transcript
勢いで遊ぶNostr
Who? murakmii ソフトウェアを書いてサラリーを貰う日々 • Nostr: npub1rpqr4ygerl4357lsn02c8cm8qq4tv55tapnmmnslld37pr kcprzs0flhga • Twitter: @murakmii
作った1: BBS on Nostr • 普通の掲示板 • Nostrのキーペアで書き込めるぞ • ノートを適当に集めて掲示板っぽく見せてい
るだけ • https://bbs-on-nostr.vercel.app/
作った2: Nostr illust • #illustタグが付いたノートを一覧化 • 所定のタグが付いたノートを引っ張ってきて いるだけ • https://nostr-illust.vercel.app/
Other 作っていてハマったところをまとめた: https://txt.murakmii.dev/posts/nostr-based-software-practice
勢いだけで書けて楽しい • プロトコルがシンプルなため ◦ 掲示板: 1週間弱? ◦ Nostr illust: 3日くらい?(掲示板の使い回し)
勢いだけで書けて楽しい • Nostrから感じる「狂気」 ◦ この仕様でリリースしようって言われて出せます? ◦ 鍵のrevokeとか無いし... • Nostrが流行るかどうかは分からないが、この狂気は唯一無二 •
狂気とシンプルな仕様が合わさり、コードを書こうという気にさせてくれる独特の面 白さ • やるなら今
何か作ってみたいけど... • NIPとかいうのいっぱいあるんだけど... ◦ => NIP-01とNIP-07が読めればとりあえず OK • リレーっていうのにいっぱい繋がないといけないんでしょ? ◦
=> とりあえず1つだけ繋いでやってみよう。大体動くよ!
セキュリティとか... • Reactとか現代的なフレームワークを使って、危ない橋を渡らなければ大体OKでは ◦ dangerouslySetInnerHTML等 • CSPでXSSのリスクを減らしましょう。htmlにmetaタグ書くだけだよ! ◦ Snortとかもちゃんと書いてるよ •
秘密鍵の扱いが怖ければNIP-07のみで • これらに気を付けていれば大事故は無いのでは ◦ Cookie云々とか、そういうのが無い分かなり気楽
ありがとうございました