├── .babelrc ├── .circleci └── config.yml ├── .editorconfig ├── .eslintrc.js ├── .github └── workflows │ └── node.js.yml ├── .gitignore ├── README.md ├── components ├── Auth.vue ├── Emoji.vue ├── Layout │ ├── Footer.vue │ ├── Header.vue │ └── Nav.vue ├── News │ ├── index.vue │ ├── like.vue │ ├── newPost.vue │ └── post.vue └── User │ ├── ActionAddDeleteFriend.vue │ ├── Avatar │ ├── ChangeModal.vue │ ├── OpenAvatar.vue │ └── index.vue │ └── Wall.vue ├── jest.config.js ├── jsconfig.json ├── lang ├── by.js ├── en.js ├── kz.js ├── md.js ├── ro.js ├── ru.js ├── ua.js ├── zh_cn.js └── zh_tw.js ├── layouts ├── default.vue └── error.vue ├── middleware └── trailingSlashRedirect.js ├── nuxt.config.js ├── package-lock.json ├── package.json ├── pages ├── about.vue ├── explore.vue ├── im.vue ├── index.vue ├── login.vue ├── news.vue ├── open.vue ├── post │ └── _post.vue ├── register.vue ├── settings.vue ├── user │ └── _id │ │ ├── contacts.vue │ │ ├── friends.vue │ │ └── index.vue ├── users.vue ├── wallet.vue └── weareonlyone.vue ├── plugins ├── axios.js ├── linkified.js └── youtube.client.js ├── static ├── fonts │ ├── SFProDisplay-Regular.eot │ ├── SFProDisplay-Regular.ttf │ ├── SFProDisplay-Regular.woff │ └── SFProDisplay-Regular.woff2 ├── icon.png ├── icons │ ├── dislike.svg │ ├── favicon.ico │ └── like.svg ├── img │ ├── Logo.svg │ ├── OnlyOneSocial.png │ ├── OpenGraphLogo.png │ ├── footer │ │ ├── newspaper.svg │ │ ├── user.svg │ │ └── users.svg │ ├── im │ │ └── smile.svg │ ├── login │ │ ├── login-form-input-icon-login.svg │ │ ├── login-form-input-icon-password.svg │ │ ├── login-form-input-show.svg │ │ └── login-header-logo.svg │ ├── menu │ │ ├── about.svg │ │ ├── contacts.svg │ │ ├── explore.svg │ │ ├── im.svg │ │ ├── my_page.svg │ │ ├── news.svg │ │ └── people.svg │ ├── post │ │ ├── photo.svg │ │ └── send.svg │ ├── privacy_policy_android.html │ ├── search.svg │ ├── settings.svg │ └── user │ │ ├── UserAcceptAdd.svg │ │ ├── UserAddUser.svg │ │ ├── UserCancel.svg │ │ ├── UserDelete.svg │ │ ├── forbidden.svg │ │ ├── message.svg │ │ ├── ooi-add-contact.svg │ │ ├── user_add.svg │ │ └── wallet.svg ├── manrope.woff2 ├── robots.txt ├── sound.mp3 ├── twilight.png └── yandex_ed17ca50d4c6fb8b.html ├── store ├── README.md ├── UserPage.js └── index.js └── test └── NewPostTest.spec.js /.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "env": { 3 | "test": { 4 | "presets": [ 5 | [ 6 | "@babel/preset-env", 7 | { 8 | "targets": { 9 | "node": "current" 10 | } 11 | } 12 | ] 13 | ] 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /.circleci/config.yml: -------------------------------------------------------------------------------- 1 | # This config is equivalent to both the '.circleci/extended/orb-free.yml' and the base '.circleci/config.yml' 2 | version: 2.1 3 | 4 | # Orbs are reusable packages of CircleCI configuration that you may share across projects, enabling you to create encapsulated, parameterized commands, jobs, and executors that can be used across multiple projects. 5 | # See: https://circleci.com/docs/2.0/orb-intro/ 6 | orbs: 7 | node: circleci/node@4.7 8 | 9 | # Invoke jobs via workflows 10 | # See: https://circleci.com/docs/2.0/configuration-reference/#workflows 11 | workflows: 12 | sample: # This is the name of the workflow, feel free to change it to better match your workflow. 13 | # Inside the workflow, you define the jobs you want to run. 14 | jobs: 15 | - node/test: 16 | # This is the node version to use for the `cimg/node` tag 17 | # Relevant tags can be found on the CircleCI Developer Hub 18 | # https://circleci.com/developer/images/image/cimg/node 19 | version: '16.10' 20 | # If you are using yarn, change the line below from "npm" to "yarn" 21 | pkg-manager: npm 22 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | # editorconfig.org 2 | root = true 3 | 4 | [*] 5 | indent_style = space 6 | indent_size = 2 7 | end_of_line = lf 8 | charset = utf-8 9 | trim_trailing_whitespace = true 10 | insert_final_newline = true 11 | 12 | [*.md] 13 | trim_trailing_whitespace = false 14 | -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | root: true, 3 | env: { 4 | browser: true, 5 | node: true 6 | }, 7 | parserOptions: { 8 | parser: '@babel/eslint-parser', 9 | requireConfigFile: false 10 | }, 11 | extends: [ 12 | '@nuxtjs', 13 | 'plugin:nuxt/recommended' 14 | ], 15 | plugins: [ 16 | ], 17 | // add your custom rules here 18 | rules: {} 19 | } 20 | -------------------------------------------------------------------------------- /.github/workflows/node.js.yml: -------------------------------------------------------------------------------- 1 | # This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node 2 | # For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions 3 | 4 | name: Node.js CI 5 | 6 | on: 7 | push: 8 | branches: [ master ] 9 | pull_request: 10 | branches: [ master ] 11 | 12 | jobs: 13 | build: 14 | runs-on: ubuntu-latest 15 | steps: 16 | - uses: actions/checkout@v2 17 | - name: Use Node.js 18 | uses: actions/setup-node@v2 19 | with: 20 | node-version: 16 21 | cache: 'npm' 22 | 23 | - run: npm ci 24 | - run: npm run build --if-present 25 | - run: npm test 26 | - name: Deploy to server 27 | uses: appleboy/ssh-action@master 28 | with: 29 | key: ${{ secrets.SERVER_SSH_KEY }} 30 | host: ${{ secrets.REMOTE_HOST }} 31 | username: ${{ secrets.REMOTE_USER }} 32 | script: | 33 | cd ${{ secrets.REMOTE_TARGET }} 34 | git reset --hard 35 | git pull 36 | export NVM_DIR=/usr/local/nvm 37 | source /opt/nvm/nvm.sh 38 | nvm use 16 39 | npm i 40 | npm run build && pm2 restart 0 41 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Created by .ignore support plugin (hsz.mobi) 2 | ### Node template 3 | # Logs 4 | /logs 5 | *.log 6 | npm-debug.log* 7 | yarn-debug.log* 8 | yarn-error.log* 9 | 10 | # Runtime data 11 | pids 12 | *.pid 13 | *.seed 14 | *.pid.lock 15 | 16 | # Directory for instrumented libs generated by jscoverage/JSCover 17 | lib-cov 18 | 19 | # Coverage directory used by tools like istanbul 20 | coverage 21 | 22 | # nyc test coverage 23 | .nyc_output 24 | 25 | # Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) 26 | .grunt 27 | 28 | # Bower dependency directory (https://bower.io/) 29 | bower_components 30 | 31 | # node-waf configuration 32 | .lock-wscript 33 | 34 | # Compiled binary addons (https://nodejs.org/api/addons.html) 35 | build/Release 36 | 37 | # Dependency directories 38 | node_modules/ 39 | jspm_packages/ 40 | 41 | # TypeScript v1 declaration files 42 | typings/ 43 | 44 | # Optional npm cache directory 45 | .npm 46 | 47 | # Optional eslint cache 48 | .eslintcache 49 | 50 | # Optional REPL history 51 | .node_repl_history 52 | 53 | # Output of 'npm pack' 54 | *.tgz 55 | 56 | # Yarn Integrity file 57 | .yarn-integrity 58 | 59 | # dotenv environment variables file 60 | .env 61 | 62 | # parcel-bundler cache (https://parceljs.org/) 63 | .cache 64 | 65 | # next.js build output 66 | .next 67 | 68 | # nuxt.js build output 69 | .nuxt 70 | 71 | # Nuxt generate 72 | dist 73 | 74 | # vuepress build output 75 | .vuepress/dist 76 | 77 | # Serverless directories 78 | .serverless 79 | 80 | # IDE / Editor 81 | .idea 82 | 83 | # Service worker 84 | sw.* 85 | 86 | # macOS 87 | .DS_Store 88 | 89 | # Vim swap files 90 | *.swp 91 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 |

2 | MSN logo 3 |

4 |

Open Social Network

5 | 6 | 7 | ## Description 8 | [![Discord](https://img.shields.io/discord/922386468138266725?label=Discord)](https://discord.gg/afrHYdkZ) 9 | 10 | Социальная сеть с открытым исходным кодом 11 |
12 | адрес 13 | only-one.su 14 | ![image](https://user-images.githubusercontent.com/56870191/148779078-391ab787-204f-4256-b5cd-abd1378cef7f.png) 15 | 16 | 17 | 18 | 19 | 20 | 21 | ## Installation 22 | 23 | ```bash 24 | $ npm install 25 | ``` 26 | 27 | ## Running the app 28 | 29 | ```bash 30 | # development 31 | $ npm run dev 32 | 33 | # production mode 34 | $ npm run build 35 | $ npm run start 36 | ``` 37 | 38 | ## Test 39 | 40 | ```bash 41 | # unit tests 42 | $ npm run test 43 | ``` 44 | 45 | ## Другие репозитории 46 | github.com/OnlyOneSocial/Wallbackend - Бэкенд для стены
47 | github.com/OnlyOneSocial/MessagesBackend - Бэкенд для сообщений
48 | github.com/OnlyOneSocial/UserBackend - Бэкенд Пользователи и друзья
49 | github.com/OnlyOneSocial/AndroidAPP - Приложение на АНдроид 50 | 51 | ## Зеркало (Устарело и заброшенно) в Yggdrasil 52 | http://social.anon
53 | технологии
Yggdrasil Mesh network Alfis dns
54 | 55 | 56 | ## Donate 57 | support 58 | https://www.buymeacoffee.com/katelinlis 59 | 60 | ## Stay in touch 61 | 62 | - Author - [Katelinlis](https://vk.com/katelinlis) 63 | ## Stars 64 | 65 | [![Stargazers over time](https://starchart.cc/OnlyOneSocial/nuxtjsFrontend.svg)](https://starchart.cc/OnlyOneSocial/nuxtjsFrontend) 66 | 67 | -------------------------------------------------------------------------------- /components/Auth.vue: -------------------------------------------------------------------------------- 1 | 90 | 91 | 158 | 368 | -------------------------------------------------------------------------------- /components/Emoji.vue: -------------------------------------------------------------------------------- 1 | 8 | 9 | 32 | -------------------------------------------------------------------------------- /components/Layout/Footer.vue: -------------------------------------------------------------------------------- 1 | 64 | 75 | 111 | -------------------------------------------------------------------------------- /components/Layout/Header.vue: -------------------------------------------------------------------------------- 1 | 18 | 19 | 39 | 40 | 86 | -------------------------------------------------------------------------------- /components/Layout/Nav.vue: -------------------------------------------------------------------------------- 1 | 40 | 54 | 55 | 93 | -------------------------------------------------------------------------------- /components/News/index.vue: -------------------------------------------------------------------------------- 1 | 8 | 20 | -------------------------------------------------------------------------------- /components/News/like.vue: -------------------------------------------------------------------------------- 1 | 10 | 56 | 62 | -------------------------------------------------------------------------------- /components/News/newPost.vue: -------------------------------------------------------------------------------- 1 |