49714 Programming for Online Prototypes
· 15 members
A hands on introduction to building online products and services through code
Inspiration: In my research, I found that one of the key reasons startups fail is because the cofounders are not compatible with each other. I wanted to resolve this issue by finding a suitable cofounder for anyone such that their have compatible ideas and complementary skills.
CofounderBot: At its beta phase right now, this bot asks for the industry, problem statement and target customer that you are trying to build a startup around. Based on these 3 key attributes, the bot finds a match for you.
30-35-year-old male who is down to go to a bar with you to drink but then talks
about important things like how to make a good future for yourself. He takes
great pleasure in guiding people and giving advice from his own life
Personality: The bot is designed to be kind and helpful. It uses a formal and respectful tone to address its users.
Example of Personality
1. Praising: “Wow, you did 3 years of C++ coding!! Why aren’t you working at google already?”, “Accounting undergrad huh! What is 93746*39474? Just spit it out, I know you are good with numbers!”
2. Encouraging: “Your idea is cool man!”, “Of course class projects can be turned into companies. Just look at Facebook.” “Looking for a cofounder is the next step and you are doing that right now. You are ahead of the game!”
3. Wise: “Starting small is always best.” “Just keep at it and you will get there.” “Don’t think about the consequences. If you work hard, things will fall into pieces”
4. Helpful: “ok, so since you have a design, engineering background, you probably want someone with a business background”. “Did you know that Swartz center for entrepreneurship does free boot camp for CMU students? Maybe you should do it.”
Future: It would have natural language processing API and would be able to understand better. It will be able to find current business that are already working on the ideas shared. It will be able to also get deeper insights about the cofounder’s personality match
Click to Expand
require 'sinatra' require 'sinatra/reloader' if development? require "sinatra" require 'sinatra/activerecord' require 'sqlite3', '~> 1.3', '>= 1.3.13' set :database, "sqlite3:db/coufounderMatch.db" #require_relative './models/task' configure :production do require 'twilio-ruby' end enable :sessions # create a twilio client using your account info @client = Twilio::REST::Client.new ENV["TWILIO_ACCOUNT_SID"], ENV["TWILIO_AUTH_TOKEN"] configure :development do require 'dotenv' Dotenv.load end get "/sms/incoming" do session["last_intent"] ||= nil session["counter"] ||= 1 count = session["counter"] sender = params[:From] || "" body = params[:Body] || "" body = body.downcase.strip if session["counter"] == 1 message = "Hi. I am here to help you find the perfect partner to start a business. Type 'Looking for cofounder ', 'Share idea', 'About Cofounderbot'" if body == "Looking for cofounder" message = "Ok lets break down your startup idea. what industry does your idea falls under. Is it 'Fintech', 'Healthcare/biotech', 'Data & Analytics', 'consumer goods', 'Education', 'Energy', 'Transportation'?" if body == "Fintech" || body == "Healthcare/biotech" || body == "Data and Analytics" || body == "consumer goods" || body == "Education" || body == "Energy" || body == "Transportation" # this info first has to be match to the database Partner.where(industry: body) session[:industry] = body message = "Thank you. Now Please tell me something about the problem you are solving. Start with 'to create' or 'to solve'" elsif body.include? == "to solve" || body.include? == "to create" # this info first has to be saved to the database Partner.where(problem: body) session[:problem] = body message = "Wow thats an awesome idea. So whao are you targeting? Is it for 'Millenials', 'Baby boomers', or 'Everyone'" elsif body == "Millenials" || body == "Baby boomers" || body == "Everyone" # this info first has to be saved to the database Partner.where(customer: body) session[:who] = body message = "I think I have the perfect person that you might want to work with. Do you want to connect. Say 'Yes', 'No' or 'Not yet'" if body == "yes" possible_partners = Partner.where( industry: session[:industry]).where( customer: session[:who] ) if random_match = possible_partners.sample message = "alright you should start a business with" + random_match.name else messages = "I couldn't find a match for you. Sorry" end elsif body == "No" message = "No worries. I am glad to help if you ever need a business partner" else message = "Ok take your time. I am here to help if you ever need a business partner. Take care" end #if possible_partners.empty? # messages = "I couldn't find a match for you. Sorry" elsif body == "share idea" message = "Thank you for sharing. If you need me to find a partner, I am here to help you." elsif body == "about Cofounderbot" message = "I am here to listen to your idea and match you with an ideal partner to start a company. To begin, please type 'Looking for cofounder'" else message = "sorry didnt catch that" end session["counter"] += 1 twiml = Twilio::TwiML::MessagingResponse.new do |r| r.message do |m| m.body( message ) unless media.nil? m.media( media ) end end end #3 content_type 'text/xml' twiml.to_s end
This project is only listed in this pool. Be considerate and think twice before sharing.
My project is going to ask you several questions regarding your startup idea and based on the response will match you to a cofounder that you could potentially partner with.
October 19th, 2017