home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

5 rows where issue = 621332242 sorted by updated_at descending

✖
✖

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: created_at (date), updated_at (date)

user 1

  • simonw 5

issue 1

  • Create a public demo · 5 ✖

author_association 1

  • MEMBER 5
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions issue performed_via_github_app
631253852 https://github.com/dogsheep/dogsheep-photos/issues/25#issuecomment-631253852 https://api.github.com/repos/dogsheep/dogsheep-photos/issues/25 MDEyOklzc3VlQ29tbWVudDYzMTI1Mzg1Mg== simonw 9599 2020-05-20T05:56:17Z 2020-05-21T22:26:16Z MEMBER

I have a deploy-demo.sh script now: ```bash

!/bin/bash

if [ -f public.db ]; then rm public.db fi pipenv run dogsheep-photos create-subset photos.db public.db \ "select sha256 from apple_photos where albums like '%Public%'" pipenv run sqlite-utils create-view public.db photos_on_a_map \ "select date, latitude, longitude, apple_photos.sha256, uploads.ext, json_object( 'title', 'Taken on ' || date, 'image', 'https://photos.simonwillison.net/i/' || uploads.sha256 || '.' || uploads.ext || '?w=400', 'link', 'https://photos.simonwillison.net/i/' || uploads.sha256 || '.' || uploads.ext || '?w=1200' ) as popup from apple_photos join uploads on apple_photos.sha256 = uploads.sha256 where latitude is not null order by date desc" \ --replace pipenv run datasette publish now public.db --project dogsheep-photos \ --about=dogsheep/dogsheep-photos \ --about_url="https://github.com/dogsheep/dogsheep-photos" \ --install=datasette-json-html \ --install=datasette-pretty-json \ --install=datasette-cluster-map>=0.10 \ --title "Dogsheep Photos demo" ```

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Create a public demo 621332242  
631251707 https://github.com/dogsheep/dogsheep-photos/issues/25#issuecomment-631251707 https://api.github.com/repos/dogsheep/dogsheep-photos/issues/25 MDEyOklzc3VlQ29tbWVudDYzMTI1MTcwNw== simonw 9599 2020-05-20T05:49:27Z 2020-05-21T15:58:42Z MEMBER

Renaming this demo to dogsheep-photos.dogsheep.net

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Create a public demo 621332242  
631127454 https://github.com/dogsheep/dogsheep-photos/issues/25#issuecomment-631127454 https://api.github.com/repos/dogsheep/dogsheep-photos/issues/25 MDEyOklzc3VlQ29tbWVudDYzMTEyNzQ1NA== simonw 9599 2020-05-19T22:48:00Z 2020-05-21T15:58:32Z MEMBER

I built #23 to help with this.

$ dogsheep-photos create-subset photos.db public.db \
    "select sha256 from apple_photos where albums like '%Public%'"

And publish with Vercel:

$ datasette publish now public.db --project dogsheep-photos \
    --about=dogsheep/dogsheep-photos \
    --about_url="https://github.com/dogsheep/dogsheep-photos" \
    --install=datasette-json-html \
    --install=datasette-cluster-map
{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Create a public demo 621332242  
631253248 https://github.com/dogsheep/dogsheep-photos/issues/25#issuecomment-631253248 https://api.github.com/repos/dogsheep/dogsheep-photos/issues/25 MDEyOklzc3VlQ29tbWVudDYzMTI1MzI0OA== simonw 9599 2020-05-20T05:54:18Z 2020-05-20T05:54:18Z MEMBER

https://dogsheep-photos.dogsheep.net/

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Create a public demo 621332242  
631253136 https://github.com/dogsheep/dogsheep-photos/issues/25#issuecomment-631253136 https://api.github.com/repos/dogsheep/dogsheep-photos/issues/25 MDEyOklzc3VlQ29tbWVudDYzMTI1MzEzNg== simonw 9599 2020-05-20T05:53:58Z 2020-05-20T05:53:58Z MEMBER

Updated deploy command: datasette publish now public.db --project dogsheep-photos \ --about=dogsheep/dogsheep-photos \ --about_url="https://github.com/dogsheep/dogsheep-photos" \ --install=datasette-json-html \ --install=datasette-cluster-map \ --title "Dogsheep Photos demo"

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Create a public demo 621332242  

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE [issue_comments] (
   [html_url] TEXT,
   [issue_url] TEXT,
   [id] INTEGER PRIMARY KEY,
   [node_id] TEXT,
   [user] INTEGER REFERENCES [users]([id]),
   [created_at] TEXT,
   [updated_at] TEXT,
   [author_association] TEXT,
   [body] TEXT,
   [reactions] TEXT,
   [issue] INTEGER REFERENCES [issues]([id])
, [performed_via_github_app] TEXT);
CREATE INDEX [idx_issue_comments_issue]
                ON [issue_comments] ([issue]);
CREATE INDEX [idx_issue_comments_user]
                ON [issue_comments] ([user]);
Powered by Datasette · Queries took 20.389ms · About: github-to-sqlite
  • Sort ascending
  • Sort descending
  • Facet by this
  • Hide this column
  • Show all columns
  • Show not-blank rows