Skip to content

Instantly share code, notes, and snippets.

@hyuki hyuki/scrapbox.rb
Last active Dec 5, 2018

Embed
What would you like to do?
scrapbox - Create a new page in scrapbox.io as a diary.
#! /usr/bin/ruby
require 'date'
require 'uri'
PROJECT='yourprojectname'
BODY=URI.encode(<<EOD)
今日は、
#日記
EOD
system(%Q(open "https://scrapbox.io/#{PROJECT}/#{Date.today}?body=#{BODY}"))
# cf. https://scrapbox.io/help-jp/ページを作る#58ae7c9a97c29100005b886b
@hyuki

This comment has been minimized.

Copy link
Owner Author

commented Aug 25, 2018

20180825144635

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.