2018-06-05 It’s trendy to put bots in chats and such, but I’d like to put a bot in Scrapbox.
- I want to watch scbot live on Scrapbox
- I want to connect to my Scrapbox when I’m ready for useful activities.
- Not just a scullery maid.
- I would like to join up with spontaneous useful intellectual production within the bot’s personal project.
- What is a useful intellectual production activity?
- Use your head, something new, output.
- What is a useful intellectual production activity?
mounting - Machine reads Scrapbox - Machine writes in Scrapbox
---Past Logs
- I thought the only way to write was to use Puppeteer to type line by line (2018).
- The method of having JSON imported blu3mo was realized (2021).
- I didn’t need Puppeteer [Use Deno and Remove Puppetter by takker99 - Pull Request #6 - tkgshn/scrapbox-Duplicator https://github.com/tkgshn/scrapbox- Duplicator/pull/6/commits/09e4d201631bd7e8192b111bb3b5ad27577eb4d6]
store
- difficult (e.g. customer, guest, child)
- There is no API, and there is no hope that an API will be provided because it does not fit the developer’s philosophy to provide an API.
- We have to do it with browser operation automation.
- Do you want to operate Headless Chrome with Puppeteer?
- Take a screenshot of a web page in chrome using Heroku
- There are people doing Headless Chrome on Heroku.
- Maybe, but I think it’s a pain in the ass when multiple lines are updated at once in a short period of time and that causes conflicts.
- Why Scrapbox management does not want to implement a write API
- Even when the program writes, it seems like a good idea to write each line with mindful weighting.
Communicate in a non-written way
-
When I used to make a UserScript page output, I had to delete the auto-generated page afterwards. - Automatic deletion of auto-generated pages
- Scrapbox is a place for stock, not flow So one idea is that you shouldn’t write those things, you should flow them into Slack, etc.
- Another idea is to use Scrapbox, including writing such things, and then implement deletion.
This page is auto-translated from /nishio/scbot using DeepL. If you looks something interesting but the auto-translated English is not good enough to understand it, feel free to let me know at @nishio_en. I’m very happy to spread my thought to non-Japanese readers.