Giter Site home page Giter Site logo

monkongossa / voat Goto Github PK

View Code? Open in Web Editor NEW

This project forked from voat/voat

0.0 2.0 0.0 19.17 MB

The code that powers Voat

Home Page: https://voat.co

License: GNU General Public License v3.0

C# 65.34% CSS 21.46% ASP 0.01% JavaScript 13.20%

voat's Introduction

Voat

Voat mascot

This is the code behind http://www.voat.co.

Description

Voat is a media aggregator and community platform developed in C# ASP.NET MVC 5.

Dependencies and attributions

Voat uses SQL server and .NET framework 4.5.

The following 3rd party libraries/extensions are used:

Installation instructions

Follow these steps to get up and running:

step 1

  • Create databases and database owners. Voat uses 2 SQL databases to store messages, comments, votes, users etc. Default database names are whoaverse and whoaverse_users. You can use whoaverse.sql and whoaverse_user.sql to generate necessary tables for each respective database.

step 2

  • After cloning this repository, you will need to modify and place Web.config file in WhoaVerse folder (the same folder where the file packages.config is located). You need to modify the following 2 connection strings in this file to reflect your SQL server address, port, database names and database usernames: whoaverseUsers and whoaverseEntities
<add name="whoaverseUsers" connectionString="Data Source=yourdomain.com, 1433;Initial Catalog=whoaverse_users;Persist Security Info=True;User ID=yourusername;Password=yourpassword" providerName="System.Data.SqlClient" />
<add name="whoaverseEntities" connectionString="metadata=res://*/Models.WhoaverseEntityDataModel.csdl|res://*/Models.WhoaverseEntityDataModel.ssdl|res://*/Models.WhoaverseEntityDataModel.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=yourdomain.com;initial catalog=whoaverse;persist security info=True;user id=yourusername;password=yourpassword;MultipleActiveResultSets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient" />
  • You need to sign up for recaptcha service at https://www.google.com/recaptcha/admin#whyrecaptcha to get your public and private recaptcha keys
  • Once you have your recaptcha keys, you need to modify the Web.config file and in section <appSettings>, you need to add the following for your keys:
<add key="recaptchaPublicKey" value="your public key goes here" />
<add key="recaptchaPrivateKey" value="your private key goes here" />

step 3

  • Reinstall dependencies (binaries for NuGet packages) by issuing the following command in Package Manager Console (when asked to overwrite existing files, choose no for all: Update-Package -Reinstall

After installation

Start by creating your user account. The frontpage will be empty, so you should start by creating a subverse. After creating your subverse, you can visit it (localhost/v/yourtestsubverse) and start posting stories or links. You can then comment on these stories and vote on them.

Why was this made?

This was just a hobby project to help me get a better understanding of C# and ASP.NET MVC and Entity Framework.

How does Voat differ from related projects?

  • Voat has increased focus on users privacy. It enables users to delete their account by automatically overwriting every comment and every submission the user has made with a string "deleted", before proceeding to remove the user account from user credentials database.
  • built-in night mode
  • anonymized mode: subverse owners can irreversibly convert their subverse to anonymized mode which hides all usernames and disables all voting actions within that subverse
  • responsive design which works great on mobile out of the box
  • limited voting (new users need to gain a certain amount of points before they are able to vote without restrictions)
  • limited number of owned subs per user
  • a score bar which graphically shows percentage of upvotes/downvotes
  • user profiles which show statistics about user activity, for example, submission distribution and highest-lowest rated submissions
  • ad revenue sharing model (in development, we will disclose more details soon) where community is rewarded with real money
  • based in Switzerland, no censorship policy as long as content is legal in Switzerland

What does the future hold?

Voat aims to make a media aggregator platform with new ideas and unique features that set Voat apart from similar platforms.

Contributing

There is a whole lot of work to be done, code contributions are welcome. A Contributor License Agreement (CLA) is required for all code contributions, configuration changes, documentation, or any other materials that you send to us. CLA form can be signed and submitted at http://voat.co/cla

voat's People

Contributors

magicalblob avatar nurdoidz avatar puttitout avatar voat avatar dodyg avatar mewtwowhoaverse avatar joezeng avatar shiroulog avatar tamasys avatar g-octav avatar

Watchers

James Cloos avatar Jean-Francis AHANDA avatar

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.