Code Monkey home page Code Monkey logo

Comments (24)

gr2m avatar gr2m commented on May 14, 2024 4

if the applications are great, of course :)

from ideas.

gr2m avatar gr2m commented on May 14, 2024 1

I would follow what Twitter is doing: do not allow to edit a tweet. Once tweeted, the GitHub app could set CI status to false with an explanation.

What we could do is to support deletion, as twitter has support for that, too?

from ideas.

gr2m avatar gr2m commented on May 14, 2024 1

I haven’t looked into it in detail but that project sounds like it might be related: https://github.com/mozillach/gh-projects-content-queue

GitHub
gh-projects-content-queue - A Twitter content curation queue based on GitHub projects.

from ideas.

gr2m avatar gr2m commented on May 14, 2024 1

The way it could be built is that all tweets are actual files in the repository. Say there is a "tweets" folder. If you want to send out a tweet you create a pull request adding a new file with the tweet to that folder. The app could use the status API to set the status to error if the text is too long for example. Once it’s approved & merged, the app could tweet out using the configured twitter account, and maybe amend the file with a link to tweet for future reference.

For comparison, I’m working on a link sharing app backed by a GitHub repository. See https://octonews.org/. All the posts you see are files in this folder: https://github.com/octonews/octonews/tree/master/_data/news. And similar to octonews.org, the twitter app could also have a custom UI so people wouldn’t even need to use github.com but instead have a custom form that gives direct feedback e.g. if the tweet is too long, but uses the repository as its "database" and review system

from ideas.

gr2m avatar gr2m commented on May 14, 2024 1

Do we have to make it tweet events at some schedule or immediate when an event occurs on the GitHub repository?

I would suggest to start out with tweeting directly. Scheduling would be a great feature to add in a later iteration

Also, is storing the tweets in the file necessary? Because, when we are tweeting something, the tweet might be already published to the Twitter, and the best that we can do is to add a comment by the bot with a URL to the tweet.

I’m not sure what you mean? The workflow I imagine is to create a new file with a pull request, the pull request can be analysed by the bot and when merged, tweeted out. So the flow would be

  1. Open pull request with new file for tweet
  2. Merge pull request
  3. New tweet posted by app

from ideas.

gr2m avatar gr2m commented on May 14, 2024 1

I’d make separate tweets. This will avoid conflicts if people work on drafts for multiple tweets at once

from ideas.

Iphytech avatar Iphytech commented on May 14, 2024 1

I would like to work on this. @gr2m can I join in this idea?

from ideas.

abhijeetps avatar abhijeetps commented on May 14, 2024 1

@Iphytech , the idea is open for everyone for this GSoC. Anyone can submit proposals idea labelled with summer-of-code. Please see this comment: #32 (comment)

from ideas.

j-f1 avatar j-f1 commented on May 14, 2024

Cool idea!

What would happen if the files were edited after the tweet was posted?

from ideas.

agbilotia1998 avatar agbilotia1998 commented on May 14, 2024

We can create a new tweet or add a tweet to the previous one or just delete the previous one and tweet the modified file.

Any further suggestions are welcomed!As I have not yet modelled the implementation part.

from ideas.

agbilotia1998 avatar agbilotia1998 commented on May 14, 2024

@gr2m can you please elaborate more on this?

from ideas.

agbilotia1998 avatar agbilotia1998 commented on May 14, 2024

Okay @gr2m thanks! I will start working on this.

from ideas.

gr2m avatar gr2m commented on May 14, 2024

@agbilotia1998 awesome :) Note that we would like to reserve this idea for Summer of Code applicants, so please don't share your code publicly. But if you have clarifying questions, feel free to comment here.

I will clarify this in the issues with the summer of code label

from ideas.

agbilotia1998 avatar agbilotia1998 commented on May 14, 2024

Okay @gr2m :)

from ideas.

itaditya avatar itaditya commented on May 14, 2024

Hi @gr2m I would like to work on this for Summer of Code.

from ideas.

agbilotia1998 avatar agbilotia1998 commented on May 14, 2024

@gr2m I have sent you the invite link of the repository on which I am implementing this idea.Please accept it and monitor the progress and give some suggestions.Also please open issues on same repository regarding the functionalities that are to be added.

from ideas.

gr2m avatar gr2m commented on May 14, 2024

@agbilotia1998 sorry I can't give 1:1 feedback due to workload. Let's discuss questions to clarify the scope here so everyone can benefit.

@itaditya no need to ask for permission :) Everyone who wants to can use that idea to submit it to GSoC

from ideas.

itaditya avatar itaditya commented on May 14, 2024

Oh ok, so will you accept multiple interns for the same idea? @gr2m

from ideas.

clarammdantas avatar clarammdantas commented on May 14, 2024

Hi! :)
I would also like to work on this. @agbilotia1998 can you invite me too to contribute?

from ideas.

gr2m avatar gr2m commented on May 14, 2024

y'all can all use the idea for your submissions to Google Summer of Code & Rails Girls Summer of Code :)

from ideas.

abhijeetps avatar abhijeetps commented on May 14, 2024

The project sounds similar. And gives us ideas of some more features that one can work out while working on this project.

However, The project appears to be Mozilla (Possibly mozillach) only so far. (See Features>Bullet No. 10).

Here's a issue Be a GitHub Integration #77, where I guess, they thought of making it a GitHub Integration (Now, called GitHub Application), but they think that it's suitable for Mozilla only. (It would have been really cool if they built it as a GitHub App, though issue is still open. 😉 )

Here's another issue: Use GitHub Webhooks #76. Currently, it seems that there application currently uses polling to refresh data, and they want to migrate there application to GitHub Webhooks.

If we use Probot, then we will directly be depended and using GitHub Events. The app will be ready to be published in the GitHub Marketplace. 🎉

I liked the idea, and starred it, but I think implementation of this idea will be convenient, when built with Probot. 😄

Possibly, Mozilla will ditch their application, and will start using this when this app reaches GitHub Marketplace. 😉

from ideas.

iamgrawal avatar iamgrawal commented on May 14, 2024

@gr2m Can you please elaborate this "Tweets are simply files in a repository", not able to get that.

from ideas.

abhijeetps avatar abhijeetps commented on May 14, 2024

Hey @gr2m , from this, what I think is that the bot is making scheduled tweets.
Do we have to make it tweet events at some schedule or immediate when an event occurs on the GitHub repository?
Also, is storing the tweets in the file necessary? Because, when we are tweeting something, the tweet might be already published to the Twitter, and the best that we can do is to add a comment by the bot with a URL to the tweet.
What you say?

from ideas.

abhijeetps avatar abhijeetps commented on May 14, 2024

Hey @gr2m, what would be better?
Creating a new YAML files for each tweets or appending all tweets in a single file named tweet.yml?

from ideas.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.