Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Development Tools

Kenneth Milota
PLUS
Kenneth Milota
Courses Plus Student 178 Points

Can someone please give me this particular website that has an open source code database?

In my first programming class, we had to search a website that had a bunch of open source codes separated by programming language, and they had programs such as business, games, etc. You could search by programming language and type of software.

I cannot for the life of me find it in any type of website I looked at.

Does anyone know what I'm talking about?

5 Answers

Greg Kaleka
Greg Kaleka
39,021 Points

Are you talking about GitHub? Here's their "Explore" page, and here's their "Topics" page.

Happy coding!

Cheers :beers:

-Greg

Kenneth Milota
PLUS
Kenneth Milota
Courses Plus Student 178 Points

Yeah, I already found that one. It's not really the one I'm looking for. I wish I could find it. All I see on there are 3 different types of codes to look at, and none of them by language.

Greg Kaleka
Greg Kaleka
39,021 Points

Scroll past the three featured items, and you'll see any programming language you could possibly be interested in. In that list, I see C, C++, C#, Java, Javascript, PHP, Python, R, Ruby, Rust, Scala, and Swift. You can search for other more esoteric languages like Perl or Haskell.

GitHub is the place to go for public open source repositories. There are over 68 million repositories hosted on GitHub.

Kenneth Milota
PLUS
Kenneth Milota
Courses Plus Student 178 Points

I guess I'm just not understanding where the projects are there. I've been looking around the website for over a half hour, and all I see are links on how to choose an open source project, or how to contribute, but I cannot find the page where it shows open source projects where you can search for them. I remember having one before where it let you search by type and language, etc. This is not it. It only gives lists of things like government apps, code learning, and a couple others, and nowhere to search by language or where you get the code from.

Greg Kaleka
Greg Kaleka
39,021 Points

I'm not sure I understand what the problem is. Here are tens of thousands of open source projects categorized under Python. Here's a particular project, django. You can look at all the source files by clicking through the filetree. Here's one particular file in the django repo.

This may not be the website you're looking for, but you can absolutely search for open source projects by language, and see all the code in tens of millions of projects.

Greg Kaleka
Greg Kaleka
39,021 Points

Here: check out this video here on Treehouse on how to explore GitHub repos. It's a bit dated, and the explore page looks a bit different now, but most of it is still applicable.

Kenneth Milota
PLUS
Kenneth Milota
Courses Plus Student 178 Points

I guess I need to look a bit more. I don't really understand some of those types of programs they are talking about, so I thought they'd narrow it down by topic of what the program actually does. Say, I wanna look at small business programs of customer accounts, reservation systems, etc... Some of them are programs for things I had never heard of.

Greg Kaleka
Greg Kaleka
39,021 Points

Sure - so you can search by whatever you want. I did a quick search for "reservation system" (which you could filter by language) and found these couple of interesting ones:

Kenneth Milota
PLUS
Kenneth Milota
Courses Plus Student 178 Points

I found it! It is called Source Codester. I had it in my bookmarks all along and forgot I bookmarked it. Thanks for the additional resource Greg!