Holochain
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Owners
        • Signed-in users
        • Everyone
        Owners Signed-in users Everyone
      • Write
        • Owners
        • Signed-in users
        • Everyone
        Owners Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Engagement control
    • Make a copy
    • Transfer ownership
    • Delete this note
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Help
Menu
Options
Engagement control Make a copy Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Owners
  • Owners
  • Signed-in users
  • Everyone
Owners Signed-in users Everyone
Write
Owners
  • Owners
  • Signed-in users
  • Everyone
Owners Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    2
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    # MewsFeed Specs [![hackmd-github-sync-badge](https://hackmd.io/DSAyoLf1TbWpDwTZNcTrOg/badge)](https://hackmd.io/DSAyoLf1TbWpDwTZNcTrOg) ## ⚠ DEPRECATED ⚠ This document is **deprecated**. The source-of-truth for project management of MewsFeed is now on github: https://github.com/orgs/GeekGene/projects/1 ## Background During the early days of Holochain development in 2016 and 2017, members of the team decided to try building MVPs of commonly used platforms on the prototype version of Holochain. Among those was a Twitter clone we called "Clutter," themed around cats instead of birds (because cats eat birds). And because a Clutter or Clowder is the groupname for a bunch of cats. It worked well enough to play with at hackathons, and give occasional demos, but never became a full-featured affair. ![Original Clutter UI](https://hackmd.io/_uploads/Bk9noUYho.png) When we rebuilt Holochain in Rust, we rebooted Clutter in Rust too, but didn't give it much attention or many features beyond basic mews/tweets. Then one of our newly hired team members, ([Jost](https://github.com/jost-s)), wanted to take on a learning project of building an app, and rebuilt Clutter on the latest, industrial strength version of Holochain, and slowly started adding more features in his spare time. Now that Musk has thrown Twitter into chaos, and we have figured out some critical features that no microblogging platforms are doing yet, it may be time to take on this project in earnest and get it taken seriously as an alternative to Twitter. In this spirit, we are christening it with its new name that may have broader appeal. Welcome to your MewsFeed. ## Key Benefits and Differences So, what makes MewsFeed better than the alternatives? - **Fully Peer-to-Peer (P2P):** Most systems are still centralized, or run on inefficient and costly blockchains. [Secure Scuttlebutt](https://scuttlebutt.nz) has been building a great P2P social messaging community for years. The main advantage to P2P is that you truly own and hold your own data, and control your keys and identity. And you are not dependent on corporate servers which surveil you to sell your personal data to advertisers. - **Agent-Centric:** Most [Mastodon](https://mastodon.social) [nostr](https://github.com/nostr-protocol/nostr) [Secure Scuttlebutt](https://scuttlebutt.nz) [Farcastr] [Hive] [Counter.social] [Post.news] [Diaspora] [Peach] [Parler] [Truth.social] [Gab] [Cohost] [Tumblr] ## MewsFeed v0.1: the Cappuccino (TBC) Release Think "Basic Twitter" feature match... The first major release of MewsFeed is the Cappuccino (TBC) Release. It features a basic microblogging capacity, user profiles, replies, mentions, likes, hashtags & cashtags, and more. #### Profile Zome - [x] Register a username - [x] Enforce minimum length of 3 characters - [x] Create / Edit user profile - [x] Display name / full name - [x] Upload avatar image - [x] Basic 1-line bio - [x] Location - [x] View a User Page - [x] View their Mews - [x] See their Followers - [x] See who they're Following - [ ] Button/Link to find @user mentions - [x] Follow / Unfollow users (by agentkey on their page) - [x] Follow Button/Action - [x] Unfollow Button/Action - [x] Change username - [x] Process tweet text for grammatical components - [x] @user mentions - [x] #hashtags - [x] $cashtags ? - [x] ^links (in UI triggers a link constructor) - [x] Combined Search for: - [x] users (by username/pathname/anchor) with three character autocomplete - [x] Enforce lower case username search matching - [x] #hashtags - [x] $cashtags #### Mews Zome - [x] Compose/Commit mew - [x] View your Mews Feed (with recent mews from follows) - [x] show avatar - [x] show username - [x] show full/display name - [x] Link new mew from a agentkey as a post - [x] Reply to mew :left_speech_bubble: - [x] ReMew (Retweet without comment) :recycle: - [x] QuoteMew (Retweet with comment) - [x] Lick/Like a mew :heart: :tongue: - [ ] Delete a mew (mark as deleted) 🗑 #### Specialized UI Components - [ ] HomePage / Dashboard - [ ] #HomePage (10 latest uses of this tag) - [ ] Link/Button to browse user profiles - [x] On Hover Previews - [x] Profile Pic: user info summary - [x] Mention inside a Mew: user info summary ## MewsFeed v0.2: the Othello (TBC) Release Think "becoming something new and different"... The second major release of MewsFeed is the Othello (TBC) Release. It adds [NomDeNet](https://nomde.net) integration, the MewsFeed zome for use in other apps, mews syndication, yarn spinning, - [ ] Enable username registration (via NomDeNet) as a revenue model, and to manage disambiguated ownership of names **Dashboard / Home Page UI** - [ ] Newest Name Registrations (via Nom) - [ ] "Trending" hashtags / cashtags / mentions **Profile Zome** **Mews Zome** - [ ] Open social preview (e.g. thumbnail, mewmew box, etc) [mattyg was working on this] - [ ] Pagination + infinite scroll on feed pages (meaning we get_link the full set of hashes but only retrieve the mew contents page by page) - [ ] Attach / Upload Picture (maybe use [open-dev file sharing zome](https://github.com/holochain-open-dev/file-storage)) - [ ] Enforce 4mb size limit (UI should auto-scale down images above it) **Profiles** - [ ] Disambiguation page for usernames - [ ] Differentiating identicon with avatar to prevent masquerading ## The MewsFeed Zome If you are building a Holochain App that could use a microblogging feature, you can integrate the MewsFeed zome. You get out-of-the-box posts, likes, replies, retweets, quote tweets, and profiles. Ready to get some cat-themed tweety goodness into your app? Get in touch! ## The MewsFeed hApp ## The Holo-hosted MewsFeed Website https://mewsfeed.social ## Assumptions & Intentions - Reuse some of the original crazy cat stuff for UI, but have support for different skins (crazy LOLcat & other more toned down options like more vanilla light & dark themes) - Our goal is to have a competent, show-worthy app, that doesn't have to be perfect, but should also expose some agent-centric data-sync behaviors in the UI. - We'd like to end up with something that people would enjoy playing with and would be good to talk about amidst the drama of Musk's Twitter exodus. - Demonstrate agent-centric content moderation contexts via participation protocols - Enable portable micro-blogging functionality for "We" app, and have "MewsFeed" be the syndication/publishing channel to wider public via "portal" DNA. - Reuse some existing open source widgets / UIs where possible? ## Architecture The basic idea of MewsFeed is the following: 1. a microblogging hApp library ("the MewsFeed library") available for inclusion in "We" and other hApps across the ecosystem, 2. a hApp and social media site ("the MewsFeed site") available for content from within those other hApp contexts to be syndicated to via a portal DNA ## Ideas - Can't have coherence without membranes - Can't have coherence without a functional space - Syndication outbox (set default to "spill" or "stay") - Participation protocol - When I'm out in MewsFeed land, stuff I do there should not flow into my groups where the MewsFeed library is being used for micro-blogging ### We - Creating a collaborative space - Discussion threads, collaborative editing, micro-blogging #### Namespaces and Mastodon Translation Name Types - Users --> AgentPubKey (NomNoms) - Orgs --> Multiple Agents in Roles (OrgNoms) - Syndicated Contexts --> DNAhash for bridging queries via Portal DNA Name looks like: `[NameTypePrefix]_[Name]` (reference ActivityPub documentation for allowed characters in usernames) ## Basic Feature List ### 1st Pass / MVP for playing (mostly complete) ### Later Passes / Future Features - [x] Preview Profile - [ ] **sPin a Yarn** (feature unique to clutter) - [ ] Limit N pinned yarns (2?) - [ ] Threaded / Git/branching view for yarn - [ ] $cashtag transaction accounting - [ ] tx grammar - [ ] accounting nodes - [ ] Update Post - [ ] Language preference in user profile - [ ] Future: Search mews by keywords - [ ] Direct Messages - [ ] Lists?? ## User Experience / Workflow ## UI Specs ### Pages - [ ] Home page: TBD - [ ] Trending / Active Mews - [ ] Trending / Active Yarns - [ ] Trending / Active C/Hashtags? - [ ] Links to help/docs/support? - [x] User page - [x] View/Edit my profile: - [x] View/Follow other user profile - [x] Un/follow button - [ ] Preview user mews - [ ] Pinned Yarns - [x] Mews_by(agent) - [ ] MewsFeed(agent): collated mews_by from the people the agent follows - [ ] pagination for MewsFeeds - [ ] Mews which are part of a yarn have an icon/link to view source yarn - [ ] Yarns threads / gitbranch view ## DNA Specs ### Component DNAs #### MewsFeed App ###### Entry Defs ###### External FnsAttach image / file store **V.01 / First Pass** Zome: Profile - create_handle(string) - create_profile(struct) - update_profile(struct) - view_user() #### Contents / Structure of MewsFeed Date sorted Vector of FeedMews ```rust enum MewType { Original(MewContent, Reply(HeaderHash,MewContent), ReMew(HeaderHash,Option<MewContent>), MewMew(HeaderHash,MewContent), // QuoteTweet } struct FullMew {} mew_type: MewType, mew: Option<MewContent>, } struct MewContent { mew: String, // "Visit this web site ^link by @user about #hashtag to earn $cashtag! Also read this humm earth post ^link (as an HRL link)" mew_links: Vec[LinkTypes], // [^links in the mewstring in sequence] mew_images: Vec[EntryHash], //Vec of image links hashes to retrieve } enum LinkTypes { URL, HRL, //Holochain Resource Locator DnaHash/DhtHash<@AgentKey> } struct AuthorInfo { handle: Profile.handle, full_name: Profile.Firstname + Profile.Lastname, avatar_hash: EntryHash, } struct FeedMew { author: AuthorInfo, time: Element.Header.TimeStamp, mew: FullMew, stats: Vec[u32], // counts of get_links for replies, retweets, likes } MewsFeed: Vec[FeedMews] ``` ### Structuring Links in MewsFeed Use PATHS for a bunch of stuff to find things in standard places. For example: ``` /agent/[sharded agent_pubkey]/mews/ (links to mews) /followers (links to agentkeys) /following (links to agentkeys) /licks (likes) (links to mews) /mentions (links to mews) /images (links to entryhashes) /hashtag/[sharded hashtag] (links to mews) /cashtag/[sharded cashtag] (links to mews) /handle/[rivalrously managed namespace]/[links to agentkeys] /time/year/month/day/hour/ ``` Other non-path links ``` MewContent/replies /retweets /licks(likes) ``` ``` rust enum FeedOptions { By(AgentPubKey), About(Path), // (mentions, hashtags, cashtags, links) FollowedBy(AgentPubKey), authored_by: AgentPubKey } Paths /hashtags/[tags] /cashtags/[tags] /agents/[agentpubkey][3:2] .../mentions .../favorites .../following .../follows ``` Zome: Mews - create_mew() - view_mew // includes replies (and related things, e.g. "quote tweets") - mews_feed(FeedOptions) -> Vec<Mew> - mews_by(AgentPubKey) - reply_to_mew() **Future versions** Zome: Profile - delete_handle() // leave the platform - update_handle(string) - preview_profile() Zome: Mews - delete_post() - update_post() #### Keyword Indexer (someday) ###### Entry Defs ###### External Fns #### Personas/profiles (someday) ## Mimetic Content / Branding - Cattiness - Cat = animal of the internet - Mew instead of tweet - Mewmew instead of retweet - Mewsfeed instead of newsfeed - Licks instead of likes - Collar tags instead of username/handle - ## editors ## Possible Versions with bad Cat Puns 1. A - Alpaw / Apawling release 2. B - Biter / 3. C - 4. D - 5. E - ### Catty word bases for puns [400+ Cat words](https://relatedwords.io/cat) - Cat Catty Kit Kitty Meow Mew Lick Fur Furry Hiss Spit Groom Clutter/Cludder/Clowder Purr Pounce Tom Tomcat Play Yowl Catcall - [Cat Puns](https://whiskerstotailspetsitting.com/2017/05/purr-fect-list-cat-vocabulary-not-kitten-around/) - ## Possible Versions Named after Philosophers 1. Anaxagoras - introduced the concept of *Nous* (Cosmic Mind) from which we get the idea of the noosphere 2. B... 3. Heraclitus /.idea /.vscode ## system files .DS_Store ## editors /.idea /.vscode ## system files .DS_Store

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully