GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    Terence Eden (edent@mastodon.social)'s status on Sunday, 28-Jan-2024 21:56:02 JST Terence Eden Terence Eden

    🆕 blog! “Rebuilding FourSquare for ActivityPub using OpenStreetMap”

    I used to like the original FourSquare. The "mayor" stuff was a bit silly, and my friends never left that many reviews, but I loved being able to signal to my friends "I am at this cool museum" or "We're at this pub if you want to meet" or "Spendi…

    👀 Read more: https://shkspr.mobi/blog/2024/01/rebuilding-foursquare-for-activitypub-using-openstreetmap/
    ⸻
    #ActivityPub #fediverse #FOURSQUARE #geolocation #OpenStreetMap

    In conversation Sunday, 28-Jan-2024 21:56:02 JST from mastodon.social permalink

    Attachments

    1. Domain not in remote thumbnail source whitelist: shkspr.mobi
      Rebuilding FourSquare for ActivityPub using OpenStreetMap
      from @edent
      I used to like the original FourSquare. The "mayor" stuff was a bit silly, and my friends never left that many reviews, but I loved being able to signal to my friends "I am at this cool museum" or "We're at this pub if you want to meet" or "Spending the day at the park". [...]
    • Kari'boka likes this.
    • Embed this notice
      Evan Prodromou 🇨🇦🇺🇸🇬🇷🇵🇸 (evan@cosocial.ca)'s status on Sunday, 28-Jan-2024 23:40:50 JST Evan Prodromou 🇨🇦🇺🇸🇬🇷🇵🇸 Evan Prodromou 🇨🇦🇺🇸🇬🇷🇵🇸
      in reply to

      @Edent so, I strongly recommend looking at the full Activity Vocabulary. There are several activities specifically for check-ins. I'm excited about this project.

      In conversation Sunday, 28-Jan-2024 23:40:50 JST permalink
    • Embed this notice
      Evan Prodromou 🇨🇦🇺🇸🇬🇷🇵🇸 (evan@cosocial.ca)'s status on Monday, 29-Jan-2024 01:25:56 JST Evan Prodromou 🇨🇦🇺🇸🇬🇷🇵🇸 Evan Prodromou 🇨🇦🇺🇸🇬🇷🇵🇸
      in reply to

      @Edent I'll put it on my list! I've got a deadline for my book on the 31st and I'm trying not to get distracted. I'll check this week. The big thing is: use `Arrive` for check-ins! And include a `summary` for servers that don't know what to do with them.

      In conversation Monday, 29-Jan-2024 01:25:56 JST permalink
    • Embed this notice
      Terence Eden (edent@mastodon.social)'s status on Monday, 29-Jan-2024 01:25:57 JST Terence Eden Terence Eden
      in reply to
      • Evan Prodromou 🇨🇦🇺🇸🇬🇷🇵🇸

      @evan Thanks Evan, I really appreciate that!
      I've got the bare-bones working. I can now post a location. Let me know if you want to take a look at the account.

      In conversation Monday, 29-Jan-2024 01:25:57 JST permalink
    • Embed this notice
      Evan Prodromou 🇨🇦🇺🇸🇬🇷🇵🇸 (evan@cosocial.ca)'s status on Monday, 29-Jan-2024 09:40:19 JST Evan Prodromou 🇨🇦🇺🇸🇬🇷🇵🇸 Evan Prodromou 🇨🇦🇺🇸🇬🇷🇵🇸
      in reply to
      • Bob Wyman

      @bobwyman @Edent let's make an extension for lunar Place objects!

      In conversation Monday, 29-Jan-2024 09:40:19 JST permalink
    • Embed this notice
      Bob Wyman (bobwyman@mastodon.social)'s status on Monday, 29-Jan-2024 09:40:20 JST Bob Wyman Bob Wyman
      in reply to
      • Evan Prodromou 🇨🇦🇺🇸🇬🇷🇵🇸

      @evan @Edent Unfortunately, the Place object is under-specified. While this doesn't impact most AS/AP users today, humans will soon return to the Moon and when they do, they won't be able to use AS Place objects to check-in or state their current location.

      The problem is that AS Place doesn't allow specifying a coordinate system for Lat/Long. Thus, one can't use locations using the Lunar Coordinate System or any non-Earth Planetary Coordinate System.

      We should fix this.
      https://lunar.gsfc.nasa.gov/library/451-SCI-000958.pdf

      In conversation Monday, 29-Jan-2024 09:40:20 JST permalink

      Attachments


    • Embed this notice
      Terence Eden (edent@mastodon.social)'s status on Monday, 29-Jan-2024 17:05:20 JST Terence Eden Terence Eden
      in reply to

      I've just reposted a public status from my new location check-in service.

      It doesn't handle replies or likes, but you can follow it.

      Expect buggy and untested weirdness 🙂

      In conversation Monday, 29-Jan-2024 17:05:20 JST permalink

      Attachments


    • Embed this notice
      Terence Eden (edent@mastodon.social)'s status on Monday, 29-Jan-2024 17:05:21 JST Terence Eden Terence Eden
      in reply to

      OK gang! I now have an *extremely* basic ActivityPub server which can send messages to its follower!

      Next steps:

      * Record who is following it.
      * Post to all followers (not just me).
      * Stable URl for posts.
      * Front end for picking locations nearby.
      * About a dozen other things!

      In conversation Monday, 29-Jan-2024 17:05:21 JST permalink

      Attachments


      1. https://files.mastodon.social/media_attachments/files/111/833/407/153/656/047/original/f7f5d37a873548a4.png
    • Embed this notice
      Terence Eden (edent@mastodon.social)'s status on Monday, 29-Jan-2024 17:05:21 JST Terence Eden Terence Eden
      in reply to

      Nice! My toy server can now:

      ✅ Record who is following it.
      ✅ Post to multiple inboxes.
      ✅ Generate a permalink for its posts.

      It doesn't do:
      ❌ Signature verification
      ❌ Handling replies, likes, or unfollows (it is a read-only account)
      ❌ Showing number of followers, posts, etc.

      Pretty happy with that.
      Next step - a UI so I can actually send custom posts.

      In conversation Monday, 29-Jan-2024 17:05:21 JST permalink

      Attachments

      1. No result found on File_thumbnail lookup.
        http://posts.It/
    • Embed this notice
      Terence Eden (edent@mastodon.social)'s status on Monday, 29-Jan-2024 17:05:21 JST Terence Eden Terence Eden
      in reply to

      Not the prettiest page on the web, but I can now Geolocate my phone and find the 25 nearest named places on #OSM.

      Next stage is making a button to send that location to my ActivityPub server to send out a message.

      (This is crappy code, poorly architected. Just a Proof of Concept.)

      In conversation Monday, 29-Jan-2024 17:05:21 JST permalink

      Attachments


      1. https://files.mastodon.social/media_attachments/files/111/835/395/874/530/766/original/f0cf990c7afa02f4.png
    • Embed this notice
      Terence Eden (edent@mastodon.social)'s status on Monday, 29-Jan-2024 17:06:21 JST Terence Eden Terence Eden
      in reply to
      • Terence Eden's location

      It's all working!

      You can follow @edent_location for my "FourSquare-style" check-ins to locations.

      TODO:

      📸 Upload and store photos.
      🔣 Set the language text to prevent spurious "Translate" options.
      🖼 Make the interface look nice.
      🔒 Better security
      👨💻 Tidy up the source code.

      In conversation Monday, 29-Jan-2024 17:06:21 JST permalink
    • Embed this notice
      Eugen Rochko (gargron@mastodon.social)'s status on Monday, 29-Jan-2024 17:06:21 JST Eugen Rochko Eugen Rochko
      in reply to
      • かき@GNUsocialJP

      @Edent TODO for us: Display the location metadata when it's provided 😅

      In conversation Monday, 29-Jan-2024 17:06:21 JST permalink
    • Embed this notice
      Terence Eden (edent@mastodon.social)'s status on Monday, 29-Jan-2024 17:07:52 JST Terence Eden Terence Eden
      in reply to
      • Eugen Rochko

      @Gargron 🥰

      Yes please!

      In conversation Monday, 29-Jan-2024 17:07:52 JST permalink
    • Embed this notice
      Terence Eden (edent@mastodon.social)'s status on Tuesday, 30-Jan-2024 04:02:50 JST Terence Eden Terence Eden
      in reply to

      Image upload works! And those photos percolate through the #fediverse!

      I still need to add proper alt text (just a static description for now).

      And the UI is 💩

      But I'm pretty pleased with how far I've got in a few hours of hacking away.

      It is *totally* possible to build a location-based service on top of #OSM and #ActivityPub!

      In conversation Tuesday, 30-Jan-2024 04:02:50 JST permalink

      Attachments

      1. No result found on File_thumbnail lookup.
        194.242.61.71
    • Embed this notice
      Terence Eden (edent@mastodon.social)'s status on Tuesday, 30-Jan-2024 04:02:50 JST Terence Eden Terence Eden
      in reply to

      Goodness me! The ActivityPub network is chatty.
      In the last 6 hours, I've received 371 different messages to my single-user inbox.

      Most of which seem to be from servers announcing users have been deleted. They're not users or servers I've seen before.

      Is this normal?

      #MastoAdmin #MastodonAPI

      In conversation Tuesday, 30-Jan-2024 04:02:50 JST permalink

      Attachments


      1. https://files.mastodon.social/media_attachments/files/111/840/768/398/950/125/original/1bb993217e4e2683.png

      2. https://files.mastodon.social/media_attachments/files/111/840/771/287/798/985/original/20ffc8bf279a6009.png

    • Embed this notice
      Eugen Rochko (gargron@mastodon.social)'s status on Tuesday, 30-Jan-2024 04:02:50 JST Eugen Rochko Eugen Rochko
      in reply to
      • かき@GNUsocialJP

      @Edent Yes

      In conversation Tuesday, 30-Jan-2024 04:02:50 JST permalink
    • Embed this notice
      Terence Eden (edent@mastodon.social)'s status on Tuesday, 30-Jan-2024 04:02:51 JST Terence Eden Terence Eden
      in reply to

      I've added a feature request to #Mastodon to display geotags.

      https://github.com/mastodon/mastodon/issues/29002

      #MastoAdmin

      In conversation Tuesday, 30-Jan-2024 04:02:51 JST permalink
    • Embed this notice
      Terence Eden (edent@mastodon.social)'s status on Tuesday, 30-Jan-2024 04:03:38 JST Terence Eden Terence Eden
      in reply to
      • Eugen Rochko

      @Gargron haha! Fair enough.

      In conversation Tuesday, 30-Jan-2024 04:03:38 JST permalink
    • Embed this notice
      Evan Prodromou 🇨🇦🇺🇸🇬🇷🇵🇸 (evan@cosocial.ca)'s status on Tuesday, 30-Jan-2024 15:08:18 JST Evan Prodromou 🇨🇦🇺🇸🇬🇷🇵🇸 Evan Prodromou 🇨🇦🇺🇸🇬🇷🇵🇸
      in reply to
      • Bob Wyman

      @bobwyman @Edent let's do it!

      In conversation Tuesday, 30-Jan-2024 15:08:18 JST permalink
    • Embed this notice
      Bob Wyman (bobwyman@mastodon.social)'s status on Tuesday, 30-Jan-2024 15:08:19 JST Bob Wyman Bob Wyman
      in reply to
      • Evan Prodromou 🇨🇦🇺🇸🇬🇷🇵🇸

      @evan @Edent An extension for Lunar Place objects would be unnecessarily specific and would leave unaddressed the need for extensions allowing Place objects to describe locations on Mars, Io, Neptune, etc.

      Given that Latitude/Longitude/Altitude is relevant to most celestial bodies, it would be more effective to add to Place objects a field for specifying the Coordinate System that should be used in interpreting the Latitude/Longitude, etc.

      In conversation Tuesday, 30-Jan-2024 15:08:19 JST permalink
    • Embed this notice
      silverpill (silverpill@mitra.social)'s status on Wednesday, 31-Jan-2024 04:53:35 JST silverpill silverpill
      in reply to

      @Edent This actor doesn't have the outbox property, which is required by ActivityPub standard

      https://www.w3.org/TR/activitypub/#actor-objects

      In conversation Wednesday, 31-Jan-2024 04:53:35 JST permalink
    • Embed this notice
      Terence Eden (edent@mastodon.social)'s status on Wednesday, 31-Jan-2024 08:57:53 JST Terence Eden Terence Eden
      in reply to
      • Terence Eden's location

      I've built an ersatz FourSquare clone for the Fediverse!

      For now it is single user instance (me) and runs on a simple server with no database - just a couple of PHP files.

      It geolocates my phone's web browser, shows nearby Points of Interest using OpenStreetMap, lets me attach a short message & an image with alt text.

      Then it posts it to its Fediverse followers. The post contains geotags which *some* ActivityPub clients can see.

      Sample post:
      https://location.edent.tel/posts/65b8f590-f308-d472-82c5-92a9f227c641.json

      Follow: @edent_location

      In conversation Wednesday, 31-Jan-2024 08:57:53 JST permalink

      Attachments



    • Embed this notice
      Terence Eden (edent@mastodon.social)'s status on Wednesday, 31-Jan-2024 08:57:54 JST Terence Eden Terence Eden
      in reply to

      Hmmm. Either I don't understand the #ActivityStreams spec, or Mastodon doesn't.

      According to:
      https://www.w3.org/TR/activitystreams-core/#defaultlangcontext

      I *should* be able to specify the language in the `@ context`. Might have to go for the slightly more verbose `contentMap` instead.

      In conversation Wednesday, 31-Jan-2024 08:57:54 JST permalink

      Attachments


      1. https://files.mastodon.social/media_attachments/files/111/841/291/714/909/009/original/887305a6af038e47.png

      2. https://files.mastodon.social/media_attachments/files/111/841/293/046/753/608/original/8582782bbe165fc6.png
      3. Domain not in remote thumbnail source whitelist: www.w3.org
        Activity Streams 2.0
      Tim Chambers repeated this.
    • Embed this notice
      Terence Eden (edent@mastodon.social)'s status on Monday, 05-Feb-2024 00:14:06 JST Terence Eden Terence Eden
      in reply to

      OK, if you'd like to play about with a *very* basic front-end for my Fediverse-location-foursquare-check-in thing, please visit:

      https://location.edent.tel/

      SUPER bare-bones. Just a proof of concept.

      In conversation Monday, 05-Feb-2024 00:14:06 JST permalink
      Fediverse Report and Tim Chambers repeated this.
    • Embed this notice
      Terence Eden (edent@mastodon.social)'s status on Monday, 05-Feb-2024 00:14:06 JST Terence Eden Terence Eden
      in reply to
      • Terence Eden's location

      Here's my blog post about building a personal #Fediverse server in #PHP.

      https://shkspr.mobi/blog/2024/02/a-tiny-incomplete-single-user-write-only-activitypub-server-in-php/

      It was surprisingly simple. You can *publish* #ActivityPub with very modest computing resources.

      If you can see the geotags on @edent_location please send me a screenshot 🙂

      In conversation Monday, 05-Feb-2024 00:14:06 JST permalink

      Attachments

      1. Domain not in remote thumbnail source whitelist: shkspr.mobi
        It has never been cheaper to commit a crime
        from @edent
        The UK has what is known as a "Standard Scale" of fines for criminal acts. For example, breaking the law may incur "a fine not exceeding level 4 on the standard scale". Part of the reasoning behind this, so I understand, is to make it simpler for the Government to update the value of those [...]
    • Embed this notice
      Terence Eden (edent@mastodon.social)'s status on Monday, 05-Feb-2024 00:14:07 JST Terence Eden Terence Eden
      in reply to
      • Terence Eden's location

      Yesterday I went out into the real world and used my self-built FourSquare-forFediverse clone for the first time!

      You can see the results by following @edent_location

      ✅ Location metadata attached
      ✅ Images with alt text
      ✅ Links to OSM

      ❌ No parsing of URls or Hashtags
      ❌ Location accuracy still a bit dodgy
      ❌ UI very bare-bones

      Pretty good result for half-a-dozen PHP files.

      In conversation Monday, 05-Feb-2024 00:14:07 JST permalink
    • Embed this notice
      Terence Eden (edent@mastodon.social)'s status on Monday, 05-Feb-2024 00:14:07 JST Terence Eden Terence Eden
      in reply to

      Hmmm. Converting my #ActivityPub posts to #GeoJSON was pretty straightforward.

      Here's what a map of my recent check-in activity looks like:

      In conversation Monday, 05-Feb-2024 00:14:07 JST permalink

      Attachments


      1. https://files.mastodon.social/media_attachments/files/111/856/724/996/595/540/original/f2e7f4416723c5fc.png
    • Embed this notice
      Terence Eden (edent@mastodon.social)'s status on Monday, 05-Feb-2024 00:14:08 JST Terence Eden Terence Eden
      in reply to

      Source code is at https://github.com/edent/location-activitypub-symfony

      Very much a Minimum Viable Product. Will blog about how it works this weekend.

      In conversation Monday, 05-Feb-2024 00:14:08 JST permalink

      Attachments


Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.